net: lwm2m: add IPSO Push Button object support

This Object is used to report the state of a momentary action push
button control and to count the number of times the control has
been operated since the last observation.

Signed-off-by: Michael Scott <mike@foundries.io>
This commit is contained in:
Michael Scott 2019-07-29 10:12:00 -07:00 committed by Jukka Rissanen
commit ca61a238af
4 changed files with 182 additions and 0 deletions

View file

@ -54,6 +54,7 @@
#define IPSO_OBJECT_BUZZER_ID 3338
#define IPSO_OBJECT_TIMER_ID 3340
#define IPSO_OBJECT_ONOFF_SWITCH_ID 3342
#define IPSO_OBJECT_PUSH_BUTTON_ID 3347
/**
* @brief LwM2M context structure to maintain information for a single