mirror of https://github.com/ARMmbed/mbed-os.git
Add unit test stub for get_connection_status()
parent
13222da2b6
commit
0ff91c1d5c
|
@ -82,6 +82,8 @@ uint32_t AT_CellularContext::get_timeout_for_operation(ContextOperation op) cons
|
|||
return timeout;
|
||||
}
|
||||
|
||||
|
||||
|
||||
bool AT_CellularContext::is_connected()
|
||||
{
|
||||
return true;
|
||||
|
@ -197,6 +199,12 @@ nsapi_error_t AT_CellularContext::disconnect()
|
|||
return NSAPI_ERROR_OK;
|
||||
}
|
||||
|
||||
|
||||
nsapi_connection_status_t AT_CellularContext::get_connection_status() const
|
||||
{
|
||||
return NSAPI_STATUS_DISCONNECTED;
|
||||
}
|
||||
|
||||
nsapi_error_t AT_CellularContext::get_apn_backoff_timer(int &backoff_timer)
|
||||
{
|
||||
return NSAPI_ERROR_OK;
|
||||
|
|
Loading…
Reference in New Issue