CellularHelper
|
Reponse class for the AT+CREG? command. This is deprecated and will be removed in the future. More...
#include <CellularHelper.h>
Public Member Functions | |
bool | isValid () const |
Returns true if the results were returned from the modem. | |
void | postProcess () |
Converts the data in string into the broken out fields like stat, lac, ci, rat. | |
String | toString () const |
Converts this object into a readable string. | |
Public Member Functions inherited from CellularHelperPlusStringResponse | |
virtual int | parse (int type, const char *buf, int len) |
Method to parse the output from the modem. More... | |
String | getDoubleQuotedPart (bool onlyFirst=true) const |
Gets the double quoted part of a string response. More... | |
Public Member Functions inherited from CellularHelperCommonResponse | |
void | logCellularDebug (int type, const char *buf, int len) const |
Used when enableDebug is true to log the Cellular.command callback data using Log.info. More... | |
Data Fields | |
bool | valid = false |
Set to true if the values have been set. | |
int | stat = 0 |
Network connection status. More... | |
int | lac = 0xFFFF |
Two bytes location area code or tracking area code. | |
int | ci = 0xFFFFFFFF |
Cell Identifier (CI) | |
int | rat = 0 |
Radio access technology (RAT), the AcTStatus value in the response. More... | |
Data Fields inherited from CellularHelperPlusStringResponse | |
String | command |
Your subclass must set this to the command requesting (not including the AT+ part) More... | |
String | string |
Returned string is stored here. | |
Data Fields inherited from CellularHelperCommonResponse | |
int | resp = RESP_ERROR |
Response code from Cellular.command. More... | |
bool | enableDebug = false |
Enables debug mode (default: false) More... | |
Reponse class for the AT+CREG? command. This is deprecated and will be removed in the future.
This class is returned from CelluarHelper.getCREG(). You normally won't instantiate one of these directly.
int CellularHelperCREGResponse::rat = 0 |
Radio access technology (RAT), the AcTStatus value in the response.
int CellularHelperCREGResponse::stat = 0 |
Network connection status.