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

Information identifying a neighboring tower. More...

#include <QuectelTowerRK.h>

Public Member Functions

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

Detailed Description

Information identifying a neighboring tower.

Member Function Documentation

◆ isValid()

bool QuectelTowerRK::CellularNeighbor::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::CellularNeighbor::parse ( const char * in)

Parse the results of an AT+QENG neighbor cells request.

Parameters
in
Returns
int

◆ toJsonWriter()

QuectelTowerRK::CellularNeighbor & QuectelTowerRK::CellularNeighbor::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::CellularNeighbor::toString ( ) const

Convert this object to a readable string.

Returns
String

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