Enum anjay_send_result_t

Enum Documentation

enum anjay_send_result_t

All possible error codes that will be returned by the anjay_send()

Values:

enumerator ANJAY_SEND_OK
enumerator ANJAY_SEND_ERR_UNSUPPORTED

This version of Anjay does not support LwM2M Send operation.

enumerator ANJAY_SEND_ERR_MUTED

LwM2M Send cannot be performed because of “Mute Send” Resource is set to true.

NOTE: The value of “Mute Send” Resource is controlled by the LwM2M Server itself.

enumerator ANJAY_SEND_ERR_OFFLINE

Passed Short Server ID refers to a server, connection to which is currently offline. The LwM2M Send operation may be retried after making the connection back online.

enumerator ANJAY_SEND_ERR_BOOTSTRAP

Anjay is in process of a Bootstrap. The LwM2M Send operation may be retried after finishing the Bootstrap stage.

enumerator ANJAY_SEND_ERR_SSID

Passed Short Server ID does not correspond to any existing / connected, non-Bootstrap Server. Especially passing ANJAY_SSID_ANY or ANJAY_SSID_BOOTSTRAP causes this error to be returned.

enumerator ANJAY_SEND_ERR_PROTOCOL

The LwM2M protocol version used to connect to an LwM2M Server does not support the LwM2M Send operation.

enumerator ANJAY_SEND_ERR_INTERNAL

Internal error. Very likely caused by the out-of-memory condition. The LwM2M Send operation may be retried after freeing some memory.