Function anjay_get_server_connection_status
Defined in File core.h
Function Documentation
-
anjay_server_conn_status_t anjay_get_server_connection_status(anjay_t *anjay, anjay_ssid_t ssid)
This function returns the server connection status. Possible statuses are given in the anjay_server_conn_status_t. Statuses for a LwM2M Bootstrap Server are different from the statuses for a regular LwM2M Server.
- Parameters:
anjay – Anjay object to operate on.
ssid – Short Server ID of the server which status will be returned. ANJAY_SSID_ANY is not a valid argument.
- Returns:
Server status on success, in case of error ANJAY_SERV_CONN_STATUS_UNKNOWN.