struct lpp_buffer LPP_Buffer_t
bool LPP_deprecated_AddExtTemp(LPP_Buffer_t *b, int16_t extTemp)
Add an external temperature measurement (2 bytes) to the LPP packet. The channel is defined by LPP_TE...
bool LPP_AddCableBroken(LPP_Buffer_t *b, uint8_t cableBroken)
Add a value to indicate that the cable has been broken to the LPP packet following the custom message...
bool LPP_deprecated_AddVBAT(LPP_Buffer_t *b, int16_t vbat)
Add a battery voltage measurement to the LPP packet, disguised as an Analog Input packet (2 bytes)...
bool LPP_AddStatus(LPP_Buffer_t *b, uint8_t status)
Add a value to indicate a program status to the LPP packet following the custom message convention...
void LPP_FreeBuffer(LPP_Buffer_t *b)
bool LPP_AddTemperature(LPP_Buffer_t *b, int16_t data)
Definitions of the custom data-types used.
bool LPP_AddPressure(LPP_Buffer_t *b, uint16_t data)
bool LPP_AddAccelerometer(LPP_Buffer_t *b, int16_t x, int16_t y, int16_t z)
bool LPP_AddStormDetected(LPP_Buffer_t *b, uint8_t stormDetected)
Add a value to indicate that a storm has been detected to the LPP packet following the custom message...
bool LPP_InitBuffer(LPP_Buffer_t *b, uint8_t size)
bool LPP_AddMeasurements(LPP_Buffer_t *b, MeasurementData_t data)
Add measurement data to the LPP packet following the custom message convention to save bytes to send...
void LPP_ClearBuffer(LPP_Buffer_t *b)
bool LPP_deprecated_AddStatus(LPP_Buffer_t *b, uint8_t status)
Add a status value to the LPP packet, disguised as a Digital Input packet (1 byte). The channel is defined by LPP_STATUS_CHANNEL and is 0x15.
bool LPP_AddAnalog(LPP_Buffer_t *b, int16_t data)
bool LPP_deprecated_AddStormDetected(LPP_Buffer_t *b, uint8_t stormDetected)
Add a storm value to the LPP packet, disguised as a Digital Input packet (1 byte). The channel is defined by LPP_STORM_CHANNEL and is 0x13.
bool LPP_deprecated_AddIntTemp(LPP_Buffer_t *b, int16_t intTemp)
Add an internal temperature measurement (2 bytes) to the LPP packet. The channel is defined by LPP_TE...
bool LPP_AddHumidity(LPP_Buffer_t *b, uint8_t data)
bool LPP_AddDigital(LPP_Buffer_t *b, uint8_t data)
bool LPP_deprecated_AddCableBroken(LPP_Buffer_t *b, uint8_t cableValue)
Add a cable break value to the LPP packet, disguised as a Digital Input packet (1 byte)...