Function anjay_all_connections_failed
Defined in File core.h
Function Documentation
-
bool anjay_all_connections_failed(anjay_t *anjay)
Tests whether all configured LwM2M server connections have failed.
If this function returns
true, anjay_transport_schedule_reconnect may be called to retry connections over the specified transports. Alternatively, anjay_enable_server may be used to retry connection only to a specific server. anjay_event_loop_run_with_error_handling also schedules new activation attempts automatically.- Parameters:
anjay – Anjay object to operate on.
- Returns:
trueif all configured server connections have failed,falseotherwise, including when no servers are configured.