Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
5 years, 7 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!