wayland/cayenne-lpp@0.0.4

License: MIT

Cayenne Low Power Payload with Extended Data Types. CayenneLPP format is an efficient way to send sensor data over low bit rate connection, like LoRa. Wraps https://github.com/ElectronicCats/CayenneLPP.
NodeDescription
add-accelerometer
Add accelerometer data to payload.
add-barometric-pressure
Add barometric pressure to payload.
add-analog-input
Add analog input to payload.
add-concentration
Add concentration to payload.
add-analog-output
Add analog output to payload.
add-color
Add color to payload.
add-distance
Add distance to payload.
add-digital-output
Add digital output to payload.
add-energy
Add energy to payload.
add-generic-sensor
Add generic sensor to payload.
add-gps
Add GPS data (latitude, longitude and altitude) to payload.
add-gyrometer
Add gyrometer data to payload.
add-percentage
Add percentage to payload.
add-frequency
Add frequency to payload.
add-power
Add power to payload.
add-presence
Add presence to payload.
add-relative-humidity
Add relative humidity to payload.
add-switch
Add switch to payload.
add-temperature
Add temperature to payload.
add-voltage
Add voltage to payload.
add-digital-input
Add digital input to payload.
get-error
Get error code.
lpp
Create a low power payload (LPP).
add-altitude
Add altitude to payload.
add-datetime
Add datetime (Unix time) to payload.
get-size
Get size of payload.
add-direction
Add direction to payload.
reset
Reset (empty) the LPP buffer.
add-current
Add current to payload.
add-luminosity
Add luminosity to payload.
get-payload
Get payload as a string of hex characters.
01-example
Patch for testing some of the nodes in the library. Run in debugger. Watch node should display the expected string for each input.
02-example
Patch to show how overflow of the payload buffer can be detected using the get-error node. Run in debugger.
To use the nodes in your project you should have the wayland/cayenne-lpp library installed. Use the “File → Add Library” menu item in XOD IDE if you don’t have it yet. See Using libraries for more info.