|
QuectelTowerRK
|
Information identifying a neighboring tower. More...
#include <QuectelTowerRK.h>
Public Member Functions | |
| String | toString () const |
| Convert this object to a readable string. | |
| CellularNeighbor & | 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 neighbor cells 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. | |
| uint32_t | earfcn {0} |
| EARFCN 28-bits. | |
| uint32_t | neighborId {0} |
| neighbor ID 0-503 | |
| int | signalQuality {0} |
| Signal quality. | |
| int | signalPower {0} |
| Signal power. | |
| int | signalStrength {0} |
| Signal strength. | |
Information identifying a neighboring tower.
| bool QuectelTowerRK::CellularNeighbor::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::CellularNeighbor::parse | ( | const char * | in | ) |
Parse the results of an AT+QENG neighbor cells request.
| in |
| QuectelTowerRK::CellularNeighbor & QuectelTowerRK::CellularNeighbor::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::CellularNeighbor::toString | ( | ) | const |
Convert this object to a readable string.