|
QuectelTowerRK
|
Information identifying the serving tower. More...
#include <QuectelTowerRK.h>
Public Member Functions | |
| String | toString () const |
| Convert this object to a readable string. | |
| CellularServing & | toJsonWriter (JSONWriter &writer, bool wrapInObject=true) |
| Convert this object to JSON. | |
| void | clear () |
| Clear the object to default values. | |
| int | parse (const char *in) |
| Parse the results of an AT+QENG serving cell request. | |
| bool | isValid () const |
| Returns true if the object appears to contain valid data. | |
Data Fields | |
| RadioAccessTechnology | rat {RadioAccessTechnology::NONE} |
| Radio access technology, also used as a validity flag. | |
| unsigned int | mcc {0} |
| Mobile Country Code 0-999. | |
| unsigned int | mnc {0} |
| Mobile Network Code 0-999. | |
| uint32_t | cellId {0} |
| Cell identifier 28-bits. | |
| unsigned int | lac {0} |
| Location area code 16-bits. | |
| int | signalPower {0} |
| Signal power. | |
Information identifying the serving tower.
This class is contained within the TowerInfo class.
| bool QuectelTowerRK::CellularServing::isValid | ( | ) | const |
Returns true if the object appears to contain valid data.
This just checks the RAT to make sure it's not NONE.
| int QuectelTowerRK::CellularServing::parse | ( | const char * | in | ) |
Parse the results of an AT+QENG serving cell request.
| in |
| QuectelTowerRK::CellularServing & QuectelTowerRK::CellularServing::toJsonWriter | ( | JSONWriter & | writer, |
| bool | wrapInObject = true ) |
Convert this object to JSON.
| writer | JSONWriter to write the data to |
| wrapInObject | true to wrap the data with writer.beginObject() and writer.endObject(). Default = true. |
| String QuectelTowerRK::CellularServing::toString | ( | ) | const |
Convert this object to a readable string.