ESP_IOT v2.5
IOT ESP Coding
M5Atom_TinyGPSModuleClass Class Reference

An concrete class. More...

#include <M5Atom_TinyGPSModuleClass.h>

Inheritance diagram for M5Atom_TinyGPSModuleClass:
Inheritance graph
Collaboration diagram for M5Atom_TinyGPSModuleClass:
Collaboration graph

Public Member Functions

 M5Atom_TinyGPSModuleClass (char *config)
 constructor More...
 
 ~M5Atom_TinyGPSModuleClass ()
 destructor More...
 
void start_M5AtomClassType ()
 starts the PTStepper More...
 
void setup_M5AtomClassType ()
 setup the PTStepper More...
 
void stop_M5AtomClassType ()
 stops motor More...
 
void loop_M5AtomClassType ()
 setup the PTStepper More...
 
void messageSetVal_M5AtomClassType (char *setName, char *valValue, boolean deviceNameSpecified)
 ATOM specific. More...
 
void messageSend_M5AtomClassType (char *sendValue, boolean deviceNameSpecified)
 
void buttonA_ShortPress_M5AtomClassType ()
 
void buttonA_LongPress_M5AtomClassType ()
 long press on buttonA (top button) More...
 
char * currentStatusURL_M5AtomClassType ()
 
char * currentStatusJSON_M5AtomClassType ()
 
- Public Member Functions inherited from M5AtomClassType
 M5AtomClassType (char *config)
 
 ~M5AtomClassType ()
 destructor More...
 
char * classIdentity ()
 
virtual void start_M5AtomClassType ()=0
 
virtual void setup_M5AtomClassType ()=0
 setup the PTStepper More...
 
virtual void stop_M5AtomClassType ()=0
 stop the motor More...
 
virtual void loop_M5AtomClassType ()=0
 loop the PTStepper (so timer can run) More...
 
virtual void messageSetVal_M5AtomClassType (char *setName, char *valValue, boolean deviceNameSpecified)=0
 these are from the ATOM More...
 
virtual void messageSend_M5AtomClassType (char *sendValue, boolean deviceNameSpecified)=0
 
virtual void buttonA_ShortPress_M5AtomClassType ()=0
 
virtual void buttonA_LongPress_M5AtomClassType ()=0
 long press on buttonA (top button) More...
 
virtual void buttonA_LongLongPress_M5AtomClassType ()
 11.25.25 Add LONG LONG press for the AP mode More...
 
void buttonB_ShortPress_M5AtomClassType ()
 
void buttonB_LongPress_M5AtomClassType ()
 long press on buttonB (top button) More...
 
void buttonB_LongLongPress_M5AtomClassType ()
 11.25.25 Add LONG LONG press for the AP mode More...
 
virtual char * currentStatusURL_M5AtomClassType ()=0
 
virtual char * currentStatusJSON_M5AtomClassType ()=0
 
virtual boolean isPTFeeder_M5AtomClassType ()
 

Detailed Description

An concrete class.

Definition at line 16 of file M5Atom_TinyGPSModuleClass.h.

Constructor & Destructor Documentation

◆ M5Atom_TinyGPSModuleClass()

M5Atom_TinyGPSModuleClass::M5Atom_TinyGPSModuleClass ( char *  config)

constructor

Definition at line 72 of file M5Atom_TinyGPSModuleClass.cpp.

◆ ~M5Atom_TinyGPSModuleClass()

M5Atom_TinyGPSModuleClass::~M5Atom_TinyGPSModuleClass ( )

destructor

Member Function Documentation

◆ buttonA_LongPress_M5AtomClassType()

void M5Atom_TinyGPSModuleClass::buttonA_LongPress_M5AtomClassType ( )
virtual

long press on buttonA (top button)

Implements M5AtomClassType.

Definition at line 329 of file M5Atom_TinyGPSModuleClass.cpp.

Here is the call graph for this function:

◆ buttonA_ShortPress_M5AtomClassType()

void M5Atom_TinyGPSModuleClass::buttonA_ShortPress_M5AtomClassType ( )
virtual

12.28.23, 8.28.23 Adding a way for others to get informed on messages that arrive for the cmd BUTTON PROCESSING abstraction short press on buttonA (top button)

BUTTON PROCESSING abstraction short press on buttonA (top button)

feed

send this as a DOCFOLLOW message

feed always (done after the code below..)

Implements M5AtomClassType.

Definition at line 315 of file M5Atom_TinyGPSModuleClass.cpp.

Here is the call graph for this function:

◆ currentStatusJSON_M5AtomClassType()

char * M5Atom_TinyGPSModuleClass::currentStatusJSON_M5AtomClassType ( )
virtual

returns a string in in JSON so: status&battery=84'&buzzon='off' } .. etc starts with "&"*

Implements M5AtomClassType.

Definition at line 358 of file M5Atom_TinyGPSModuleClass.cpp.

◆ currentStatusURL_M5AtomClassType()

char * M5Atom_TinyGPSModuleClass::currentStatusURL_M5AtomClassType ( )
virtual

returns a string in in URL so: status&battery=84'&buzzon='off' } .. etc starts with "&"*

printout add timestamp

8.4.25 add k=GPS

Implements M5AtomClassType.

Definition at line 344 of file M5Atom_TinyGPSModuleClass.cpp.

Here is the call graph for this function:

◆ loop_M5AtomClassType()

void M5Atom_TinyGPSModuleClass::loop_M5AtomClassType ( )
virtual

setup the PTStepper

if pins bad .. return

NOTE: THink of a way to provide this information.. STATUS ...

Implements M5AtomClassType.

Definition at line 152 of file M5Atom_TinyGPSModuleClass.cpp.

Here is the call graph for this function:

◆ messageSend_M5AtomClassType()

void M5Atom_TinyGPSModuleClass::messageSend_M5AtomClassType ( char *  sendValue,
boolean  deviceNameSpecified 
)
virtual

12.28.23, 8.28.23 Adding a way for others to get informed on messages that arrive for the send -

Implements M5AtomClassType.

Definition at line 308 of file M5Atom_TinyGPSModuleClass.cpp.

◆ messageSetVal_M5AtomClassType()

void M5Atom_TinyGPSModuleClass::messageSetVal_M5AtomClassType ( char *  setName,
char *  valValue,
boolean  deviceNameSpecified 
)
virtual

ATOM specific.

these are from the ATOM 8.28.23 Adding a way for others to get informed on messages that arrive for the set,val 12.27.23 support setName == "HDriver" 1.10.24 if deviceNameSpecified then this matches this device, otherwise for all. It's up to the receiver to decide if it has to be specified

these are from the ATOM 8.28.23 Adding a way for others to get informed on messages that arrive for the set,val 12.27.23 support setName == "QRCode" 1.10.24 if deviceNameSpecified then this matches this device, otherwise for all. It's up to the receiver to decide if it has to be specified

Implements M5AtomClassType.

Definition at line 300 of file M5Atom_TinyGPSModuleClass.cpp.

◆ setup_M5AtomClassType()

void M5Atom_TinyGPSModuleClass::setup_M5AtomClassType ( )
virtual

setup the PTStepper

8.2.26 LED working

5.3.25 register our PIN use 7.12.26 Ashton's birthday 12 register so get error before doing the being or other crashable ops

specify the callback

call the setup

Implements M5AtomClassType.

Definition at line 88 of file M5Atom_TinyGPSModuleClass.cpp.

Here is the call graph for this function:

◆ start_M5AtomClassType()

void M5Atom_TinyGPSModuleClass::start_M5AtomClassType ( )
virtual

starts the PTStepper

Data members of class Generic config info .. specific the the sensor type

Implements M5AtomClassType.

Definition at line 83 of file M5Atom_TinyGPSModuleClass.cpp.

◆ stop_M5AtomClassType()

void M5Atom_TinyGPSModuleClass::stop_M5AtomClassType ( )
virtual

stops motor

Implements M5AtomClassType.

Definition at line 146 of file M5Atom_TinyGPSModuleClass.cpp.


The documentation for this class was generated from the following files: