nRF5 IoT SDK  v0.9.0
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages

LWMW2M operation code and invalid object/instance definitions. More...

Macros

#define LWM2M_NAMED_OBJECT   65535
 
#define LWM2M_INVALID_RESOURCE   65535
 
#define LWM2M_INVALID_INSTANCE   65535
 
#define LWM2M_OPERATION_CODE_NONE   0x00
 
#define LWM2M_OPERATION_CODE_READ   0x01
 
#define LWM2M_OPERATION_CODE_WRITE   0x02
 
#define LWM2M_OPERATION_CODE_EXECUTE   0x04
 
#define LWM2M_OPERATION_CODE_DELETE   0x08
 
#define LWM2M_OPERATION_CODE_CREATE   0x10
 
#define LWM2M_OPERATION_CODE_DISCOVER   0x20
 
#define LWM2M_OPERATION_CODE_OBSERVE   0x40
 

Detailed Description

LWMW2M operation code and invalid object/instance definitions.

Macro Definition Documentation

#define LWM2M_INVALID_INSTANCE   65535

Invalid Instance ID.

#define LWM2M_INVALID_RESOURCE   65535

Invalid Resource ID.

#define LWM2M_NAMED_OBJECT   65535
Warning
The invalid resource and instance are not stated by the lwm2m spec as reserved and will cause issues if instances or resources with these IDs is added.Flag to indicate that the object does not use Integer as object id.
#define LWM2M_OPERATION_CODE_CREATE   0x10

Bit mask for LWM2M create operation.

#define LWM2M_OPERATION_CODE_DELETE   0x08

Bit mask for LWM2M delete operation.

#define LWM2M_OPERATION_CODE_DISCOVER   0x20

Bit mask for LWM2M discover operation.

#define LWM2M_OPERATION_CODE_EXECUTE   0x04

Bit mask for LWM2M execute operation.

#define LWM2M_OPERATION_CODE_NONE   0x00

Bit mask for LWM2M no operation.

#define LWM2M_OPERATION_CODE_OBSERVE   0x40

Bit mask for LWM2M observe operation.

#define LWM2M_OPERATION_CODE_READ   0x01

Bit mask for LWM2M read operation.

#define LWM2M_OPERATION_CODE_WRITE   0x02

Bit mask for LWM2M write operation.