Expand description
This crate is a port of the Cayenne LPP (Low Power Payload) API. It provides an easy way to send data over LPWAN networks such as LoRaWAN. Cayenne LPP is compliant with payload size restrictions, which can be lowered down to 11 bytes and allows the device to send multiple sensor data at one time.
Additionally it is also possible to send different sensor data in different frames. To do this, the channel value of the data can be used.
The original C++ version of Cayenne LPP can be found here.
Structs§
- This struct contains the data of the added payload objects and an index that points to the next free value in the array. All newly added values will increase the index. After adding all the values, the buffer contains the payloads of the different data types and has a length of ’‘index’’.
Enums§
- Defines all the errors that can occur in this crate.
Constants§
- Data type of accelerometer values
- Size of an accelerometer packet including channel and data type
- Data type of an analog input
- Size of an analog input packet including channel and data type
- Data type of an analog output
- Size of an analog output packet including channel and data type
- Data type of a barometric pressure value
- Size of a barometric pressure packet including channel and data type
- Data type of a digital input
- Size of a digital input packet including channel and data type
- Data type of a digital output
- Size of a digital output packet including channel and data type
- Data type of GPS value
- Size of a GPS packet including channel and data type
- Data type of gyrometer values
- Size of a gyrometer packet including channel and data type
- Data type of a luminosity value
- Size of a luminosity packet including channel and data type
- Data type of a presence sensor
- Size of a presence sensor packet including channel and data type
- Data type of a relative humidity value
- Size of a relative humidity packet including channel and data type
- Data type of a temperature value
- Size of a temperature packet including channel and data type