-For monoZ LWM2M Protocol refer MZ_Lwm2m_public.h file.
More...
-For monoZ LWM2M Protocol refer MZ_Lwm2m_public.h file.
◆ mz_read_token_Ob19_0_0()
This function reads te token value of 19/0/0.
- Parameters
-
- Note
- If no valid token, then ret = MZ_LW_INVALID_TOKEN Optimized by returning the internal reference of token.
- Warning
- DONOT change the values using the return pointer. Only use it for copy/compare purpose.
◆ mz_read_token_Ob19_1_0()
This function reads te token value of 19/1/0.
- Parameters
-
- Note
- If no valid token, then ret = MZ_LW_INVALID_TOKEN Optimized by returning the internal reference of token.
- Warning
- DONOT change the values using the return pointer. Only use it for copy/compare purpose.
◆ mz_set_value_Ob19_0_0()
This function writes 19/0/0 value to internal resource structure.
- Parameters
-
- Returns
- MZ_OK/MZ_FAIL
- Note
- The value will be send to LwM2M server when LwM2M READ or NOTIFY event occurs
◆ mz_set_value_Ob19_1_0()
This function writes 19/1/0 value to internal resource structure.
- Parameters
-
- Returns
- MZ_OK/MZ_FAIL
- Note
- The value will be send to LwM2M server when LwM2M READ or NOTIFY event occurs
◆ mz_read_value_Ob19_0_0()
This function Reads internal resource structure value of 19/0/0.
- Parameters
-
- Note
- Optimized by returning the internal reference of token.
- Warning
- DONOT change the values using the return pointer. Only use it for copy/compare purpose.
◆ mz_read_value_Ob19_1_0()
This function Reads internal resource structure value of 19/1/0.
- Parameters
-
- Note
- NOTE : Optimized by returning the internal reference of token.
- Warning
- Caution : DONOT change the values using the return pointer. Only use it for copy/compare purpose.
◆ mz_notify_Ob19_0_0()
This function Notifies internal resource structure value of 19/0/0 to LwM2M server.
- Returns
- MZ_OK/MZ_FAIL
- Note
- use mz_set_value_Ob19_0_0() API to set the values first before notify. If values are not set then this API call will use old stored value to NOTIFY to the server. The user can use mz_set_and_notify_Ob19_0_0() API to set the value and then notify to server.
◆ mz_notify_Ob19_1_0()
This function Notifies internal resource structure value of 19/1/0 to LwM2M server.
- Returns
- MZ_OK/MZ_FAIL
- Note
- use mz_set_value_Ob19_1_0() API to set the values first before notify. If values are not set then this API call will use old stored value to NOTIFY to the server. The user can use mz_set_and_notify_Ob19_1_0() API to set the value and then notify to server.
◆ mz_set_and_notify_Ob19_0_0()
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.
- Parameters
-
- Returns
- MZ_OK/MZ_FAIL
◆ mz_set_and_notify_Ob19_1_0()
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.
- Parameters
-
- Returns
- MZ_OK/MZ_FAIL