Function anjay_schedule_registration_update
Defined in File core.h
Function Documentation
-
int anjay_schedule_registration_update(anjay_t *anjay, anjay_ssid_t ssid)
Schedules sending an Update message to the server identified by given Short Server ID.
The Update will be sent during the next anjay_sched_run call.
Note: This function will not schedule registration update if Anjay is in offline mode.
- Parameters:
anjay – Anjay object to operate on.
ssid – Short Server ID of the server to send Update to or ANJAY_SSID_ANY to send Updates to all connected servers. NOTE: Since Updates are not useful for the Bootstrap Server, this function does not send one for ANJAY_SSID_BOOTSTRAP
ssid.
- Returns:
0 on success, a negative value in case of error.