The KPN SenML library helps you create and parse senml documents in both json and cbor format. The library can be used for sending sensor data and receiving actuator commands.

Fork of kpn_senml by KPN IoT

Committer:
kpniot
Date:
Sat May 19 17:35:20 2018 +0000
Revision:
0:a9259748d982
first commit

Who changed what in which revision?

UserRevisionLine numberNew contents of line
kpniot 0:a9259748d982 1 /* _ __ ____ _ _
kpniot 0:a9259748d982 2 * | |/ / | _ \ | \ | |
kpniot 0:a9259748d982 3 * | ' / | |_) | | \| |
kpniot 0:a9259748d982 4 * | . \ | __/ | |\ |
kpniot 0:a9259748d982 5 * |_|\_\ |_| |_| \_|
kpniot 0:a9259748d982 6 *
kpniot 0:a9259748d982 7 * (c) 2018 KPN
kpniot 0:a9259748d982 8 * License: MIT License.
kpniot 0:a9259748d982 9 * Author: Jan Bogaerts
kpniot 0:a9259748d982 10 *
kpniot 0:a9259748d982 11 * include all header
kpniot 0:a9259748d982 12 */
kpniot 0:a9259748d982 13
kpniot 0:a9259748d982 14
kpniot 0:a9259748d982 15 #ifndef KML_SENML
kpniot 0:a9259748d982 16 #define KML_SENML
kpniot 0:a9259748d982 17
kpniot 0:a9259748d982 18 #include <senml_logging.h>
kpniot 0:a9259748d982 19 #include <senml_enums.h>
kpniot 0:a9259748d982 20 #include <senml_base.h>
kpniot 0:a9259748d982 21 #include <senml_record.h>
kpniot 0:a9259748d982 22 #include <senml_record_t.h>
kpniot 0:a9259748d982 23 #include <senml_pack.h>
kpniot 0:a9259748d982 24 #include <senml_pack_t.h>
kpniot 0:a9259748d982 25 #include <senml_int_pack.h>
kpniot 0:a9259748d982 26 #include <senml_double_pack.h>
kpniot 0:a9259748d982 27 #include <senml_binary_record.h>
kpniot 0:a9259748d982 28 #include <senml_bool_record.h>
kpniot 0:a9259748d982 29 #include <senml_float_record.h>
kpniot 0:a9259748d982 30 #include <senml_int_record.h>
kpniot 0:a9259748d982 31 #include <senml_string_record.h>
kpniot 0:a9259748d982 32
kpniot 0:a9259748d982 33 #include <senml_float_actuator.h>
kpniot 0:a9259748d982 34 #include <senml_string_actuator.h>
kpniot 0:a9259748d982 35 #include <senml_int_actuator.h>
kpniot 0:a9259748d982 36 #include <senml_bool_actuator.h>
kpniot 0:a9259748d982 37 #include <senml_binary_actuator.h>
kpniot 0:a9259748d982 38
kpniot 0:a9259748d982 39 #include <cbor.h>
kpniot 0:a9259748d982 40
kpniot 0:a9259748d982 41
kpniot 0:a9259748d982 42 #endif // KML_SENML
kpniot 0:a9259748d982 43
kpniot 0:a9259748d982 44
kpniot 0:a9259748d982 45
kpniot 0:a9259748d982 46
kpniot 0:a9259748d982 47
kpniot 0:a9259748d982 48
kpniot 0:a9259748d982 49
kpniot 0:a9259748d982 50