Function anjay_enable_server

Function Documentation

int anjay_enable_server(anjay_t *anjay, anjay_ssid_t ssid)

Schedules a job for re-enabling a previously disabled (with a call to anjay_disable_server_with_timeout ) server. The server will be enabled during next anjay_sched_run call.

Parameters:
  • anjay – Anjay object to operate on.

  • ssid – Short Server ID of the server to enable.

Returns:

0 on success, a negative value in case of error.