#include <avsystem/commons/avs_stream.h>
#include <anjay/core.h>
Go to the source code of this file.
◆ anjay_bootstrapper()
avs_error_t anjay_bootstrapper |
( |
anjay_t * |
anjay, |
|
|
avs_stream_t * |
data_stream |
|
) |
| |
Reads Bootstrap Information from the stream (data_stream
) and initializes Anjay's data model. Expected format of the stream data is described in LwM2M specification in Appendix G.3.3.
- Parameters
-
anjay | Anjay Object to operate on. |
data_stream | Bootstrap Information data stream. |
- Returns
- AVS_OK in case of success, or an error code.