4 years, 11 months ago.

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

Hi,

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.

Thanks!

Be the first to answer this question.