3 years, 4 months ago.

How to access CellularNetwork methods via CellularDevice? (e.g. signal quality rssi)


I assume I have to create CellularDevice object, and then create CellularContext using its create_context method.

I need to get the network methods; AT_CellularNetwork::get_signal_quality, AT_CellularNetwork::set_receive_period etc. but I cannot find the interface to CellularNetwork methods via CellularDevice that has the _nw object in private members.

So how can I get the CellularNetwork methods using this CellularDevice object? CellularDevice::create_state_machine() creates the network instance when I do connect(), but does not provide a handle for it.


Be the first to answer this question.