Add unit test stub for get_connection_status()

pull/9378/head
Oscar Hellström 2019-01-31 20:53:02 +01:00
parent 13222da2b6
commit 0ff91c1d5c
1 changed files with 8 additions and 0 deletions

View File

@ -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;