|
Zephyr Scientific Library (zscilib)
|
API header file for ZSL measurements. More...
#include <zsl/zsl.h>#include <zsl/measurement/base.h>#include <zsl/measurement/ext_color.h>#include <zsl/measurement/ext_light.h>#include <zsl/measurement/ext_temperature.h>#include <zsl/measurement/unit.h>Go to the source code of this file.
Data Structures | |
| struct | zsl_mes_header |
| struct | zsl_measurement |
| Measurement packet wrapper. More... | |
Enumerations | |
| enum | zsl_mes_format { ZSL_MES_FORMAT_NONE = 0, ZSL_MES_FORMAT_CBOR = 1 } |
| enum | zsl_mes_encoding { ZSL_MES_ENCODING_NONE = 0, ZSL_MES_ENCODING_BASE64 = 1, ZSL_MES_ENCODING_BASE45 = 2 } |
| enum | zsl_mes_compression { ZSL_MES_COMPRESSION_NONE = 0, ZSL_MES_COMPRESSION_LZ4 = 1 } |
| enum | zsl_mes_fragment { ZSL_MES_FRAGMENT_NONE = 0, ZSL_MES_FRAGMENT_PARTIAL = 1, ZSL_MES_FRAGMENT_FINAL = 2 } |
| enum | zsl_mes_timestamp { ZSL_MES_TIMESTAMP_NONE = 0, ZSL_MES_TIMESTAMP_EPOCH_32 = 1, ZSL_MES_TIMESTAMP_EPOCH_64 = 2, ZSL_MES_TIMESTAMP_UPTIME_MS_32 = 3, ZSL_MES_TIMESTAMP_UPTIME_MS_64 = 4, ZSL_MES_TIMESTAMP_UPTIME_US_64 = 5 } |
Functions | |
| void | zsl_mes_print (struct zsl_measurement *sample) |
| Helper function to display the contents of the zsl_measurement. More... | |
API header file for ZSL measurements.
Definition in file measurement.h.
| void zsl_mes_print | ( | struct zsl_measurement * | sample | ) |
Helper function to display the contents of the zsl_measurement.
End MES_STRUCTS
| sample | zsl_measurement to print. |
1.8.17