QuectelTowerRK
Loading...
Searching...
No Matches
Public Member Functions | Data Fields
QuectelTowerRK::CellularServing Class Reference

Information identifying the serving tower. More...

#include <QuectelTowerRK.h>

Public Member Functions

String toString () const
 Convert this object to a readable string.
 
CellularServingtoJsonWriter (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.
 

Detailed Description

Information identifying the serving tower.

This class is contained within the TowerInfo class.

Member Function Documentation

◆ isValid()

bool QuectelTowerRK::CellularServing::isValid ( ) const

Returns true if the object appears to contain valid data.

Returns
true
false

This just checks the RAT to make sure it's not NONE.

◆ parse()

int QuectelTowerRK::CellularServing::parse ( const char * in)

Parse the results of an AT+QENG serving cell request.

Parameters
in
Returns
int

◆ toJsonWriter()

QuectelTowerRK::CellularServing & QuectelTowerRK::CellularServing::toJsonWriter ( JSONWriter & writer,
bool wrapInObject = true )

Convert this object to JSON.

Parameters
writerJSONWriter to write the data to
wrapInObjecttrue to wrap the data with writer.beginObject() and writer.endObject(). Default = true.
Returns
CellularServing&

◆ toString()

String QuectelTowerRK::CellularServing::toString ( ) const

Convert this object to a readable string.

Returns
String

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