monoZ docs
|
monoZ LWM2M public Protocol More...
#include "MZ_error_handler.h"
Go to the source code of this file.
Macros | |
#define | MZ_LWM2M_PUBLIC_H_ |
Defines monoZ LWM2M Public. More... | |
Enumerations | |
enum | en_lw_event { LW_EV_WRITE_DATA =0 , LW_EV_EXECUTE = 1 , LW_EV_WRITE_ATTRIBUTE = 4 , LW_EV_DISCOVER = 5 , LW_EV_READ = 6 , LW_EV_OBSERVE = 7 , LW_EV_OBSERVE_CANCEL = 8 , LW_EV_CLIENT_OFFLINE = 9 , LW_EV_CLIENT_ONLINE = 10 , LW_EV_CLIENT_NOTIFY_SEND = 11 , LW_EV_CLIENT_WKP_SMS = 12 , LW_EV_CLIENT_NOTIFY_SEND_ACK = 13 , LW_EV_CLIENT_ON = 14 , LW_EV_CLIENT_OFF = 15 , LW_EV_NOTIFY_FAIL = 16 , LW_EV_BOOTSTRAP_COMPLETE = 20 , LW_EV_REG_FINISH = 21 , LW_EV_REG_UPDATE_FINISH = 22 , LW_EV_DEREG_FINISH = 23 , LW_EV_NOTIFY_NOT_SEND = 24 , LW_EV_ENABLE_ALL = 100 } |
Enumeration of LW Events. More... | |
Functions | |
struct | __attribute__ ((packed)) |
void * | mz_read_token_Ob19_0_0 (mz_error_t *ret) |
This function reads te token value of 19/0/0. More... | |
void * | mz_read_token_Ob19_1_0 (mz_error_t *ret) |
This function reads te token value of 19/1/0. More... | |
mz_error_t | mz_set_value_Ob19_0_0 (char *src) |
This function writes 19/0/0 value to internal resource structure. More... | |
mz_error_t | mz_set_value_Ob19_1_0 (char *src) |
This function writes 19/1/0 value to internal resource structure. More... | |
void * | mz_read_value_Ob19_0_0 (mz_error_t *ret) |
This function Reads internal resource structure value of 19/0/0. More... | |
void * | mz_read_value_Ob19_1_0 (mz_error_t *ret) |
This function Reads internal resource structure value of 19/1/0. More... | |
mz_error_t | mz_notify_Ob19_0_0 (void) |
This function Notifies internal resource structure value of 19/0/0 to LwM2M server. More... | |
mz_error_t | mz_notify_Ob19_1_0 (void) |
This function Notifies internal resource structure value of 19/1/0 to LwM2M server. More... | |
mz_error_t | mz_set_and_notify_Ob19_0_0 (char *src) |
This function writes 19/0/0 value to internal resource structure and then notify to server. More... | |
mz_error_t | mz_set_and_notify_Ob19_1_0 (char *src) |
This function writes 19/1/0 value to internal resource structure and then notify to server. More... | |
Variables | |
st_lw_event | |
#define MZ_LWM2M_PUBLIC_H_ |
Defines monoZ LWM2M Public.
Definition at line 9 of file MZ_Lwm2m_public.h.
enum en_lw_event |
Enumeration of LW Events.
Definition at line 18 of file MZ_Lwm2m_public.h.
struct __attribute__ | ( | (packed) | ) |
< unsolicited event
< serverShortId
< ObjectID
< ObjectInstanceID - Optional
< ResourceID - Optional
< ResourceInstanceID - Optional
< Val - Optional - Max size 511 Bytes
< COAP message ID (for NOTIFY event)
Definition at line 1 of file MZ_Lwm2m_public.h.
Definition at line 57 of file MZ_Lwm2m_public.h.