Function anjay_schedule_bootstrap_request
Defined in File core.h
Function Documentation
-
int anjay_schedule_bootstrap_request(anjay_t *anjay)
Schedules sending a Bootstrap-Request message to the LwM2M Bootstrap Server.
The Bootstrap-Request will be sent during one of subsequent anjay_sched_run calls.
- Parameters:
anjay – Anjay object to operate on.
- Returns:
0 on success, or a negative value in case of error (including the case where there might not be a Bootstrap Server available or Bootstrap support might not be enabled at compile time).