Anjay Lite
|
#include <server_object.h>
Data Fields | |
uint16_t | ssid |
uint32_t | lifetime |
uint32_t | default_min_period |
uint32_t | default_max_period |
uint32_t | disable_timeout |
bool | notification_storing |
const char * | binding |
const bool * | bootstrap_on_registration_failure |
bool | mute_send |
const anj_iid_t * | iid |
anj_communication_retry_res_t * | comm_retry_res |
uint8_t | default_notification_mode |
Server Object Instance initialization structure. Should be filled before passing to anj_dm_server_obj_add_instance.
const char* binding |
Binding Resource (/1/x/7) value.
const bool* bootstrap_on_registration_failure |
Bootstrap on Registration Failure Resource (/1/x/16) value. If NULL
, default of true
is used.
anj_communication_retry_res_t* comm_retry_res |
Resources:
NULL
, ANJ_COMMUNICATION_RETRY_RES_DEFAULT is used. uint32_t default_max_period |
Default Maximum Period Resource (/1/x/3) value. If set to 0, there's no default pmax
.
uint32_t default_min_period |
Default Minimum Period Resource (/1/x/2) value.
uint8_t default_notification_mode |
Default Notification Mode Resource (/1/x/26) value:
uint32_t disable_timeout |
Disable Timeout Resource (/1/x/5) value. If not set, default of ANJ_DISABLE_TIMEOUT_DEFAULT_VALUE is used.
const anj_iid_t* iid |
Optional Instance ID. If NULL
, a new unique Instance ID will be chosen automatically.
uint32_t lifetime |
Lifetime Resource (/1/x/1) value.
bool mute_send |
Mute Send Resource (/1/x/23) value.
bool notification_storing |
Notification Storing When Disabled or Offline Resource (/1/x/6) value.
uint16_t ssid |
Short Server ID Resource (/1/x/0) value.