CellularHelper
|
Response class for the AT+CESQ command. More...
#include <CellularHelper.h>
Public Member Functions | |
void | postProcess () |
Converts the data in string into the broken out fields like rxlev, ber, rsrq, etc. | |
String | toString () const |
Converts this object into a string. More... | |
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 | |
uint8_t | rxlev = 99 |
Received Signal Strength Indication (RSSI) More... | |
uint8_t | ber = 99 |
Bit Error Rate (BER) More... | |
uint8_t | rscp = 99 |
Received Signal Code Power (RSCP) More... | |
uint8_t | ecn0 = 255 |
Ratio of received energy per PN chip to the total received power spectral density. More... | |
uint8_t | rsrq = 255 |
Reference Signal Received Quality (RSRQ) More... | |
uint8_t | rsrp = 255 |
Reference Signal Received Power (RSRP) 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... | |
Response class for the AT+CESQ command.
This class is the result of CellularHelper.getExtendedQual(); you normally wouldn't instantiate one of these directly.
String CellularHelperExtendedQualResponse::toString | ( | ) | const |
Converts this object into a string.
The string will be of the format rxlev=99 ber=99 rscp=255 ecn0=255 rsrq=0 rsrp=37
. Unknown values for rxlev, ber, and rscp are 99. Unknown values for ecn0, rsrq, rsrp are 255.
uint8_t CellularHelperExtendedQualResponse::ber = 99 |
Bit Error Rate (BER)
Values:
uint8_t CellularHelperExtendedQualResponse::ecn0 = 255 |
Ratio of received energy per PN chip to the total received power spectral density.
Values:
uint8_t CellularHelperExtendedQualResponse::rscp = 99 |
Received Signal Code Power (RSCP)
Values:
uint8_t CellularHelperExtendedQualResponse::rsrp = 255 |
Reference Signal Received Power (RSRP)
Values:
uint8_t CellularHelperExtendedQualResponse::rsrq = 255 |
Reference Signal Received Quality (RSRQ)
Values:
uint8_t CellularHelperExtendedQualResponse::rxlev = 99 |
Received Signal Strength Indication (RSSI)
Values: