#include "openthread/instance.h"
#include "liblwm2m.h"
Go to the source code of this file.
|
otInstance * | get_ot_instance (void) |
| Get the global ot instance. More...
|
|
lwm2m_object_t * | get_object_device (void) |
|
void | free_object_device (lwm2m_object_t *objectP) |
|
uint8_t | device_change (lwm2m_data_t *dataArray, lwm2m_object_t *objectP) |
|
void | display_device_object (lwm2m_object_t *objectP) |
|
lwm2m_object_t * | get_object_firmware (void) |
|
void | free_object_firmware (lwm2m_object_t *objectP) |
|
void | display_firmware_object (lwm2m_object_t *objectP) |
|
lwm2m_object_t * | get_object_location (void) |
|
void | free_object_location (lwm2m_object_t *object) |
|
void | display_location_object (lwm2m_object_t *objectP) |
|
lwm2m_object_t * | get_test_object (void) |
|
void | free_test_object (lwm2m_object_t *object) |
|
void | display_test_object (lwm2m_object_t *objectP) |
|
lwm2m_object_t * | get_server_object (int serverId, const char *binding, int lifetime, bool storing) |
|
void | clean_server_object (lwm2m_object_t *object) |
|
void | display_server_object (lwm2m_object_t *objectP) |
|
void | copy_server_object (lwm2m_object_t *objectDest, lwm2m_object_t *objectSrc) |
|
lwm2m_object_t * | get_object_conn_m (void) |
|
void | free_object_conn_m (lwm2m_object_t *objectP) |
|
lwm2m_object_t * | get_object_conn_s (void) |
|
void | free_object_conn_s (lwm2m_object_t *objectP) |
|
void | conn_s_updateTxStatistic (lwm2m_object_t *objectP, uint16_t txDataByte) |
|
void | conn_s_updateRxStatistic (lwm2m_object_t *objectP, uint16_t rxDataByte) |
|
lwm2m_object_t * | acc_ctrl_create_object (void) |
|
void | acl_ctrl_free_object (lwm2m_object_t *objectP) |
|
bool | acc_ctrl_obj_add_inst (lwm2m_object_t *accCtrlObjP, uint16_t instId, uint16_t acObjectId, uint16_t acObjInstId, uint16_t acOwner) |
|
bool | acc_ctrl_oi_add_ac_val (lwm2m_object_t *accCtrlObjP, uint16_t instId, uint16_t aclResId, uint16_t acValue) |
|
void | handle_value_changed (lwm2m_context_t *lwm2mH, lwm2m_uri_t *uri, const char *value, size_t valueLength) |
|
◆ TEST_OBJECT_ID
#define TEST_OBJECT_ID 31024 |
◆ acc_ctrl_create_object()
lwm2m_object_t* acc_ctrl_create_object |
( |
void |
| ) |
|
◆ acc_ctrl_obj_add_inst()
bool acc_ctrl_obj_add_inst |
( |
lwm2m_object_t * |
accCtrlObjP, |
|
|
uint16_t |
instId, |
|
|
uint16_t |
acObjectId, |
|
|
uint16_t |
acObjInstId, |
|
|
uint16_t |
acOwner |
|
) |
| |
◆ acc_ctrl_oi_add_ac_val()
bool acc_ctrl_oi_add_ac_val |
( |
lwm2m_object_t * |
accCtrlObjP, |
|
|
uint16_t |
instId, |
|
|
uint16_t |
aclResId, |
|
|
uint16_t |
acValue |
|
) |
| |
◆ acl_ctrl_free_object()
void acl_ctrl_free_object |
( |
lwm2m_object_t * |
objectP | ) |
|
◆ clean_server_object()
void clean_server_object |
( |
lwm2m_object_t * |
object | ) |
|
◆ conn_s_updateRxStatistic()
void conn_s_updateRxStatistic |
( |
lwm2m_object_t * |
objectP, |
|
|
uint16_t |
rxDataByte |
|
) |
| |
◆ conn_s_updateTxStatistic()
void conn_s_updateTxStatistic |
( |
lwm2m_object_t * |
objectP, |
|
|
uint16_t |
txDataByte |
|
) |
| |
◆ copy_server_object()
void copy_server_object |
( |
lwm2m_object_t * |
objectDest, |
|
|
lwm2m_object_t * |
objectSrc |
|
) |
| |
◆ device_change()
uint8_t device_change |
( |
lwm2m_data_t * |
dataArray, |
|
|
lwm2m_object_t * |
objectP |
|
) |
| |
◆ display_device_object()
void display_device_object |
( |
lwm2m_object_t * |
objectP | ) |
|
◆ display_firmware_object()
void display_firmware_object |
( |
lwm2m_object_t * |
objectP | ) |
|
◆ display_location_object()
void display_location_object |
( |
lwm2m_object_t * |
objectP | ) |
|
◆ display_server_object()
void display_server_object |
( |
lwm2m_object_t * |
objectP | ) |
|
◆ display_test_object()
void display_test_object |
( |
lwm2m_object_t * |
objectP | ) |
|
◆ free_object_conn_m()
void free_object_conn_m |
( |
lwm2m_object_t * |
objectP | ) |
|
◆ free_object_conn_s()
void free_object_conn_s |
( |
lwm2m_object_t * |
objectP | ) |
|
◆ free_object_device()
void free_object_device |
( |
lwm2m_object_t * |
objectP | ) |
|
◆ free_object_firmware()
void free_object_firmware |
( |
lwm2m_object_t * |
objectP | ) |
|
◆ free_object_location()
void free_object_location |
( |
lwm2m_object_t * |
object | ) |
|
◆ free_test_object()
void free_test_object |
( |
lwm2m_object_t * |
object | ) |
|
◆ get_object_conn_m()
lwm2m_object_t* get_object_conn_m |
( |
void |
| ) |
|
◆ get_object_conn_s()
lwm2m_object_t* get_object_conn_s |
( |
void |
| ) |
|
◆ get_object_device()
lwm2m_object_t* get_object_device |
( |
void |
| ) |
|
◆ get_object_firmware()
lwm2m_object_t* get_object_firmware |
( |
void |
| ) |
|
◆ get_object_location()
lwm2m_object_t* get_object_location |
( |
void |
| ) |
|
◆ get_ot_instance()
otInstance* get_ot_instance |
( |
void |
| ) |
|
Get the global ot instance.
- Warning
- The current implementation only supports a single OT instance to be used for lwm2m due architectural constraints within wakaama making it impossible to extract the lwm2m context from object callbacks. (On baremetal we only support a single openthread instance anyway)
- Returns
- The global ot instance.
◆ get_server_object()
lwm2m_object_t* get_server_object |
( |
int |
serverId, |
|
|
const char * |
binding, |
|
|
int |
lifetime, |
|
|
bool |
storing |
|
) |
| |
◆ get_test_object()
lwm2m_object_t* get_test_object |
( |
void |
| ) |
|
◆ handle_value_changed()
void handle_value_changed |
( |
lwm2m_context_t * |
lwm2mH, |
|
|
lwm2m_uri_t * |
uri, |
|
|
const char * |
value, |
|
|
size_t |
valueLength |
|
) |
| |