|
L14-Click 1.0
STM32WLE5CC LoRaWAN Sensor Platform
|
Implements the Cayenne Low Power Protocol. More...
Go to the source code of this file.
Macros | |
| #define | CAYENNE_LPP_MAXBUFFER_SIZE 242 |
| #define | LPP_DIGITAL_INPUT 0 /* 1 byte */ |
| #define | LPP_DIGITAL_OUTPUT 1 /* 1 byte */ |
| #define | LPP_ANALOG_INPUT 2 /* 2 bytes, 0.01 signed */ |
| #define | LPP_ANALOG_OUTPUT 3 /* 2 bytes, 0.01 signed */ |
| #define | LPP_LUMINOSITY 101 /* 2 bytes, 1 lux unsigned */ |
| #define | LPP_PRESENCE 102 /* 1 byte, 1 */ |
| #define | LPP_TEMPERATURE 103 /* 2 bytes, 0.1 Celsius degrees signed */ |
| #define | LPP_RELATIVE_HUMIDITY 104 /* 1 byte, 0.5% unsigned */ |
| #define | LPP_ACCELEROMETER 113 /* 2 bytes per axis, 0.001G */ |
| #define | LPP_BAROMETRIC_PRESSURE 115 /* 2 bytes 0.1 hPa Unsigned */ |
| #define | LPP_GYROMETER 134 /* 2 bytes per axis, 0.01 degrees/s */ |
| #define | LPP_GPS 136 /* 3 byte lon/lat 0.0001 degrees, 3 bytes alt 0.01m */ |
| #define | LPP_DIGITAL_INPUT_SIZE 3 |
| #define | LPP_DIGITAL_OUTPUT_SIZE 3 |
| #define | LPP_ANALOG_INPUT_SIZE 4 |
| #define | LPP_ANALOG_OUTPUT_SIZE 4 |
| #define | LPP_LUMINOSITY_SIZE 4 |
| #define | LPP_PRESENCE_SIZE 3 |
| #define | LPP_TEMPERATURE_SIZE 4 |
| #define | LPP_RELATIVE_HUMIDITY_SIZE 3 |
| #define | LPP_ACCELEROMETER_SIZE 8 |
| #define | LPP_BAROMETRIC_PRESSURE_SIZE 4 |
| #define | LPP_GYROMETER_SIZE 8 |
| #define | LPP_GPS_SIZE 11 |
| #define | LPP_CONCENTRATION 125 /* 2 bytes, 1 ppm unsigned (CO2) */ |
| #define | LPP_VOLTAGE 116 /* 2 bytes, 0.01V unsigned */ |
| #define | LPP_BATTERY_PERC 117 /* 1 byte, percent of battery, unsigned, values of 0-100 */ |
| #define | LPP_PARTICULATE_MATTER_1_0 138 /* 2 bytes, 1 μg/m3 of 1mm unsigned */ |
| #define | LPP_PARTICULATE_MATTER_2_5 139 /* 2 bytes, 1 μg/m3 of 2.5mm unsigned */ |
| #define | LPP_UNIX_TIME 133 /* 4 bytes data, unsigned Unix timestamp */ |
| #define | LPP_MIN8_TIME 145 /* 1 byte data, unsigned char - max 255 minutes - 4.25h*/ |
| #define | LPP_MIN16_TIME 146 /* 2 bytes data, unsigned int - max 65535 minutes 45.5days*/ |
| #define | LPP_CONCENTRATION_SIZE 4 |
| #define | LPP_VOLTAGE_SIZE 4 |
| #define | LPP_BATTERY_PERC_SIZE (2+1) |
| #define | LPP_PARTICULATE_MATTER_SIZE 4 |
| #define | LPP_UNIX_TIME_SIZE (2+4) |
| #define | LPP_MIN8_TIME_SIZE (2+1) |
| #define | LPP_MIN16_TIME_SIZE (2+2) |
Functions | |
| void | CayenneLppInit (void) |
| void | CayenneLppReset (void) |
| uint8_t | CayenneLppGetSize (void) |
| uint8_t * | CayenneLppGetBuffer (void) |
| uint8_t | CayenneLppCopy (uint8_t *dst) |
| uint8_t | CayenneLppAddDigitalInput (uint8_t channel, uint8_t value) |
| uint8_t | CayenneLppAddDigitalOutput (uint8_t channel, uint8_t value) |
| uint8_t | CayenneLppAddAnalogInput (uint8_t channel, float value) |
| uint8_t | CayenneLppAddAnalogOutput (uint8_t channel, float value) |
| uint8_t | CayenneLppAddLuminosity (uint8_t channel, uint16_t lux) |
| uint8_t | CayenneLppAddPresence (uint8_t channel, uint8_t value) |
| uint8_t | CayenneLppAddTemperature (uint8_t channel, float celsius) |
| uint8_t | CayenneLppAddRelativeHumidity (uint8_t channel, float rh) |
| uint8_t | CayenneLppAddAccelerometer (uint8_t channel, float x, float y, float z) |
| uint8_t | CayenneLppAddBarometricPressure (uint8_t channel, float hpa) |
| uint8_t | CayenneLppAddGyrometer (uint8_t channel, float x, float y, float z) |
| uint8_t | CayenneLppAddGps (uint8_t channel, float latitude, float longitude, float meters) |
| uint8_t | CayenneLppMaxBuffer () |
| uint8_t | CayenneLppAddConcentration (uint8_t channel, uint16_t ppm) |
| Add CO2 concentration data to the buffer. | |
| uint8_t | CayenneLppAddVoltage (uint8_t channel, float voltage) |
| Add voltage data to the buffer. | |
| uint8_t | CayenneLppAddParticulateMatter_1_0 (uint8_t channel, float concentration_1_0) |
| Add particulate matter of 1mm concentration data to the buffer. | |
| uint8_t | CayenneLppAddParticulateMatter_2_5 (uint8_t channel, float concentration_2_5) |
| Add particulate matter 2.5mm concentration data to the buffer. | |
| uint8_t | CayenneLppAddTimeMeasureABS (uint8_t channel, uint32_t timeMeasure) |
| Add UTC time of measure to the buffer. | |
| uint8_t | CayenneLppAddTimeMeasureMIN8 (uint8_t channel, uint8_t timeOffsetMin8) |
| Add the relative time of measuring - offset from previous measured data less than 255 minutes The time is in minutes, maximum 255 minutes about 4.25hour. | |
| uint8_t | CayenneLppAddTimeMeasureMIN16 (uint8_t channel, uint16_t timeOffsetMin16) |
| Add the relative time of measuring - offset from previous measured data less than 65535 minutes (about 45.5days) The time is in minutes, maximum 65535 minutes about 45.5 of days. | |
| uint8_t | CayenneLppAddBatteryPerc (uint8_t channel, uint8_t perc) |
| Add battery percent of voltage data to the buffer (1B). | |
Variables | |
| static uint8_t | CayenneLppBuffer [242] |
| static uint8_t | CayenneLppCursor = 0 |
Implements the Cayenne Low Power Protocol.
Definition in file CayenneLpp.c.
| #define CAYENNE_LPP_MAXBUFFER_SIZE 242 |
Definition at line 39 of file CayenneLpp.c.
Referenced by CayenneLppAddAccelerometer(), CayenneLppAddAnalogInput(), CayenneLppAddAnalogOutput(), CayenneLppAddBarometricPressure(), CayenneLppAddBatteryPerc(), CayenneLppAddConcentration(), CayenneLppAddDigitalInput(), CayenneLppAddDigitalOutput(), CayenneLppAddGps(), CayenneLppAddGyrometer(), CayenneLppAddLuminosity(), CayenneLppAddParticulateMatter_1_0(), CayenneLppAddParticulateMatter_2_5(), CayenneLppAddPresence(), CayenneLppAddRelativeHumidity(), CayenneLppAddTemperature(), CayenneLppAddTimeMeasureABS(), CayenneLppAddTimeMeasureMIN16(), CayenneLppAddTimeMeasureMIN8(), CayenneLppAddVoltage(), and CayenneLppMaxBuffer().
| #define LPP_ACCELEROMETER 113 /* 2 bytes per axis, 0.001G */ |
Definition at line 48 of file CayenneLpp.c.
Referenced by CayenneLppAddAccelerometer().
| #define LPP_ACCELEROMETER_SIZE 8 |
Definition at line 62 of file CayenneLpp.c.
Referenced by CayenneLppAddAccelerometer().
| #define LPP_ANALOG_INPUT 2 /* 2 bytes, 0.01 signed */ |
Definition at line 42 of file CayenneLpp.c.
Referenced by CayenneLppAddAnalogInput().
| #define LPP_ANALOG_INPUT_SIZE 4 |
Definition at line 56 of file CayenneLpp.c.
Referenced by CayenneLppAddAnalogInput().
| #define LPP_ANALOG_OUTPUT 3 /* 2 bytes, 0.01 signed */ |
Definition at line 43 of file CayenneLpp.c.
Referenced by CayenneLppAddAnalogOutput().
| #define LPP_ANALOG_OUTPUT_SIZE 4 |
Definition at line 57 of file CayenneLpp.c.
Referenced by CayenneLppAddAnalogOutput().
| #define LPP_BAROMETRIC_PRESSURE 115 /* 2 bytes 0.1 hPa Unsigned */ |
Definition at line 49 of file CayenneLpp.c.
Referenced by CayenneLppAddBarometricPressure().
| #define LPP_BAROMETRIC_PRESSURE_SIZE 4 |
Definition at line 63 of file CayenneLpp.c.
Referenced by CayenneLppAddBarometricPressure().
| #define LPP_BATTERY_PERC 117 /* 1 byte, percent of battery, unsigned, values of 0-100 */ |
Definition at line 71 of file CayenneLpp.c.
Referenced by CayenneLppAddBatteryPerc().
| #define LPP_BATTERY_PERC_SIZE (2+1) |
Definition at line 82 of file CayenneLpp.c.
Referenced by CayenneLppAddBatteryPerc().
| #define LPP_CONCENTRATION 125 /* 2 bytes, 1 ppm unsigned (CO2) */ |
Definition at line 69 of file CayenneLpp.c.
Referenced by CayenneLppAddConcentration().
| #define LPP_CONCENTRATION_SIZE 4 |
Definition at line 80 of file CayenneLpp.c.
Referenced by CayenneLppAddConcentration().
| #define LPP_DIGITAL_INPUT 0 /* 1 byte */ |
Definition at line 40 of file CayenneLpp.c.
Referenced by CayenneLppAddDigitalInput().
| #define LPP_DIGITAL_INPUT_SIZE 3 |
Definition at line 54 of file CayenneLpp.c.
Referenced by CayenneLppAddDigitalInput().
| #define LPP_DIGITAL_OUTPUT 1 /* 1 byte */ |
Definition at line 41 of file CayenneLpp.c.
Referenced by CayenneLppAddDigitalOutput().
| #define LPP_DIGITAL_OUTPUT_SIZE 3 |
Definition at line 55 of file CayenneLpp.c.
Referenced by CayenneLppAddDigitalOutput().
| #define LPP_GPS 136 /* 3 byte lon/lat 0.0001 degrees, 3 bytes alt 0.01m */ |
Definition at line 51 of file CayenneLpp.c.
Referenced by CayenneLppAddGps().
| #define LPP_GPS_SIZE 11 |
Definition at line 65 of file CayenneLpp.c.
Referenced by CayenneLppAddGps().
| #define LPP_GYROMETER 134 /* 2 bytes per axis, 0.01 degrees/s */ |
Definition at line 50 of file CayenneLpp.c.
Referenced by CayenneLppAddGyrometer().
| #define LPP_GYROMETER_SIZE 8 |
Definition at line 64 of file CayenneLpp.c.
Referenced by CayenneLppAddGyrometer().
| #define LPP_LUMINOSITY 101 /* 2 bytes, 1 lux unsigned */ |
Definition at line 44 of file CayenneLpp.c.
Referenced by CayenneLppAddLuminosity().
| #define LPP_LUMINOSITY_SIZE 4 |
Definition at line 58 of file CayenneLpp.c.
Referenced by CayenneLppAddLuminosity().
| #define LPP_MIN16_TIME 146 /* 2 bytes data, unsigned int - max 65535 minutes 45.5days*/ |
Definition at line 76 of file CayenneLpp.c.
Referenced by CayenneLppAddTimeMeasureMIN16().
| #define LPP_MIN16_TIME_SIZE (2+2) |
Definition at line 86 of file CayenneLpp.c.
Referenced by CayenneLppAddTimeMeasureMIN16().
| #define LPP_MIN8_TIME 145 /* 1 byte data, unsigned char - max 255 minutes - 4.25h*/ |
Definition at line 75 of file CayenneLpp.c.
Referenced by CayenneLppAddTimeMeasureMIN8().
| #define LPP_MIN8_TIME_SIZE (2+1) |
Definition at line 85 of file CayenneLpp.c.
Referenced by CayenneLppAddTimeMeasureMIN8().
| #define LPP_PARTICULATE_MATTER_1_0 138 /* 2 bytes, 1 μg/m3 of 1mm unsigned */ |
Definition at line 72 of file CayenneLpp.c.
Referenced by CayenneLppAddParticulateMatter_1_0().
| #define LPP_PARTICULATE_MATTER_2_5 139 /* 2 bytes, 1 μg/m3 of 2.5mm unsigned */ |
Definition at line 73 of file CayenneLpp.c.
Referenced by CayenneLppAddParticulateMatter_2_5().
| #define LPP_PARTICULATE_MATTER_SIZE 4 |
Definition at line 83 of file CayenneLpp.c.
Referenced by CayenneLppAddParticulateMatter_1_0(), and CayenneLppAddParticulateMatter_2_5().
| #define LPP_PRESENCE 102 /* 1 byte, 1 */ |
Definition at line 45 of file CayenneLpp.c.
Referenced by CayenneLppAddPresence().
| #define LPP_PRESENCE_SIZE 3 |
Definition at line 59 of file CayenneLpp.c.
Referenced by CayenneLppAddPresence().
| #define LPP_RELATIVE_HUMIDITY 104 /* 1 byte, 0.5% unsigned */ |
Definition at line 47 of file CayenneLpp.c.
Referenced by CayenneLppAddRelativeHumidity().
| #define LPP_RELATIVE_HUMIDITY_SIZE 3 |
Definition at line 61 of file CayenneLpp.c.
Referenced by CayenneLppAddRelativeHumidity().
| #define LPP_TEMPERATURE 103 /* 2 bytes, 0.1 Celsius degrees signed */ |
Definition at line 46 of file CayenneLpp.c.
Referenced by CayenneLppAddTemperature().
| #define LPP_TEMPERATURE_SIZE 4 |
Definition at line 60 of file CayenneLpp.c.
Referenced by CayenneLppAddTemperature().
| #define LPP_UNIX_TIME 133 /* 4 bytes data, unsigned Unix timestamp */ |
Definition at line 74 of file CayenneLpp.c.
Referenced by CayenneLppAddTimeMeasureABS().
| #define LPP_UNIX_TIME_SIZE (2+4) |
Definition at line 84 of file CayenneLpp.c.
Referenced by CayenneLppAddTimeMeasureABS().
| #define LPP_VOLTAGE 116 /* 2 bytes, 0.01V unsigned */ |
Definition at line 70 of file CayenneLpp.c.
Referenced by CayenneLppAddVoltage().
| #define LPP_VOLTAGE_SIZE 4 |
Definition at line 81 of file CayenneLpp.c.
Referenced by CayenneLppAddVoltage().
| uint8_t CayenneLppAddAccelerometer | ( | uint8_t | channel, |
| float | x, | ||
| float | y, | ||
| float | z ) |
Definition at line 304 of file CayenneLpp.c.
References CAYENNE_LPP_MAXBUFFER_SIZE, CayenneLppBuffer, CayenneLppCursor, LPP_ACCELEROMETER, and LPP_ACCELEROMETER_SIZE.
| uint8_t CayenneLppAddAnalogInput | ( | uint8_t | channel, |
| float | value ) |
Definition at line 188 of file CayenneLpp.c.
References CAYENNE_LPP_MAXBUFFER_SIZE, CayenneLppBuffer, CayenneLppCursor, LPP_ANALOG_INPUT, and LPP_ANALOG_INPUT_SIZE.
| uint8_t CayenneLppAddAnalogOutput | ( | uint8_t | channel, |
| float | value ) |
Definition at line 209 of file CayenneLpp.c.
References CAYENNE_LPP_MAXBUFFER_SIZE, CayenneLppBuffer, CayenneLppCursor, LPP_ANALOG_OUTPUT, and LPP_ANALOG_OUTPUT_SIZE.
| uint8_t CayenneLppAddBarometricPressure | ( | uint8_t | channel, |
| float | hpa ) |
Definition at line 331 of file CayenneLpp.c.
References CAYENNE_LPP_MAXBUFFER_SIZE, CayenneLppBuffer, CayenneLppCursor, LPP_BAROMETRIC_PRESSURE, and LPP_BAROMETRIC_PRESSURE_SIZE.
Referenced by sensors_CayennelFromBckData().
| uint8_t CayenneLppAddBatteryPerc | ( | uint8_t | channel, |
| uint8_t | perc ) |
Add battery percent of voltage data to the buffer (1B).
| channel | Data channel |
| perc | percentage of battery level, value 0-100 |
Definition at line 543 of file CayenneLpp.c.
References CAYENNE_LPP_MAXBUFFER_SIZE, CayenneLppBuffer, CayenneLppCursor, LPP_BATTERY_PERC, and LPP_BATTERY_PERC_SIZE.
Referenced by sensors_CayennelFromBckData().
| uint8_t CayenneLppAddConcentration | ( | uint8_t | channel, |
| uint16_t | ppm ) |
Add CO2 concentration data to the buffer.
| channel | Data channel |
| ppm | CO2 concentration in parts per million (ppm) |
Definition at line 423 of file CayenneLpp.c.
References CAYENNE_LPP_MAXBUFFER_SIZE, CayenneLppBuffer, CayenneLppCursor, LPP_CONCENTRATION, and LPP_CONCENTRATION_SIZE.
Referenced by sensors_CayennelFromBckData().
| uint8_t CayenneLppAddDigitalInput | ( | uint8_t | channel, |
| uint8_t | value ) |
Definition at line 152 of file CayenneLpp.c.
References CAYENNE_LPP_MAXBUFFER_SIZE, CayenneLppBuffer, CayenneLppCursor, LPP_DIGITAL_INPUT, and LPP_DIGITAL_INPUT_SIZE.
| uint8_t CayenneLppAddDigitalOutput | ( | uint8_t | channel, |
| uint8_t | value ) |
Definition at line 170 of file CayenneLpp.c.
References CAYENNE_LPP_MAXBUFFER_SIZE, CayenneLppBuffer, CayenneLppCursor, LPP_DIGITAL_OUTPUT, and LPP_DIGITAL_OUTPUT_SIZE.
| uint8_t CayenneLppAddGps | ( | uint8_t | channel, |
| float | latitude, | ||
| float | longitude, | ||
| float | meters ) |
Definition at line 379 of file CayenneLpp.c.
References CAYENNE_LPP_MAXBUFFER_SIZE, CayenneLppBuffer, CayenneLppCursor, LPP_GPS, and LPP_GPS_SIZE.
| uint8_t CayenneLppAddGyrometer | ( | uint8_t | channel, |
| float | x, | ||
| float | y, | ||
| float | z ) |
Definition at line 352 of file CayenneLpp.c.
References CAYENNE_LPP_MAXBUFFER_SIZE, CayenneLppBuffer, CayenneLppCursor, LPP_GYROMETER, and LPP_GYROMETER_SIZE.
| uint8_t CayenneLppAddLuminosity | ( | uint8_t | channel, |
| uint16_t | lux ) |
Definition at line 229 of file CayenneLpp.c.
References CAYENNE_LPP_MAXBUFFER_SIZE, CayenneLppBuffer, CayenneLppCursor, LPP_LUMINOSITY, and LPP_LUMINOSITY_SIZE.
Referenced by sensors_CayennelFromBckData().
| uint8_t CayenneLppAddParticulateMatter_1_0 | ( | uint8_t | channel, |
| float | concentration_1_0 ) |
Add particulate matter of 1mm concentration data to the buffer.
| channel | Data channel |
| concentration_1_0 | Particle concentration of 1mm in μg/m³ |
Definition at line 462 of file CayenneLpp.c.
References CAYENNE_LPP_MAXBUFFER_SIZE, CayenneLppBuffer, CayenneLppCursor, LPP_PARTICULATE_MATTER_1_0, and LPP_PARTICULATE_MATTER_SIZE.
Referenced by sensors_CayennelFromBckData().
| uint8_t CayenneLppAddParticulateMatter_2_5 | ( | uint8_t | channel, |
| float | concentration_2_5 ) |
Add particulate matter 2.5mm concentration data to the buffer.
| channel | Data channel |
| concentration_2_5 | Particle concentration of 2.5mm in μg/m³ |
Definition at line 482 of file CayenneLpp.c.
References CAYENNE_LPP_MAXBUFFER_SIZE, CayenneLppBuffer, CayenneLppCursor, LPP_PARTICULATE_MATTER_2_5, and LPP_PARTICULATE_MATTER_SIZE.
Referenced by sensors_CayennelFromBckData().
| uint8_t CayenneLppAddPresence | ( | uint8_t | channel, |
| uint8_t | value ) |
Definition at line 248 of file CayenneLpp.c.
References CAYENNE_LPP_MAXBUFFER_SIZE, CayenneLppBuffer, CayenneLppCursor, LPP_PRESENCE, and LPP_PRESENCE_SIZE.
| uint8_t CayenneLppAddRelativeHumidity | ( | uint8_t | channel, |
| float | rh ) |
Definition at line 286 of file CayenneLpp.c.
References CAYENNE_LPP_MAXBUFFER_SIZE, CayenneLppBuffer, CayenneLppCursor, LPP_RELATIVE_HUMIDITY, and LPP_RELATIVE_HUMIDITY_SIZE.
Referenced by sensors_CayennelFromBckData().
| uint8_t CayenneLppAddTemperature | ( | uint8_t | channel, |
| float | celsius ) |
Definition at line 266 of file CayenneLpp.c.
References CAYENNE_LPP_MAXBUFFER_SIZE, CayenneLppBuffer, CayenneLppCursor, LPP_TEMPERATURE, and LPP_TEMPERATURE_SIZE.
Referenced by sensors_CayennelFromBckData().
| uint8_t CayenneLppAddTimeMeasureABS | ( | uint8_t | channel, |
| uint32_t | timeMeasure ) |
Add UTC time of measure to the buffer.
Add UTC time of measuring to the buffer - absolute time of measure.
| channel | Data channel |
| timeMeasure | Time value in seconds (uint32_t) - Unix timestamp (seconds since epoch) |
Definition at line 503 of file CayenneLpp.c.
References CAYENNE_LPP_MAXBUFFER_SIZE, CayenneLppBuffer, CayenneLppCursor, LPP_UNIX_TIME, and LPP_UNIX_TIME_SIZE.
Referenced by sensors_CayennelFromBckData().
| uint8_t CayenneLppAddTimeMeasureMIN16 | ( | uint8_t | channel, |
| uint16_t | timeOffsetMin16 ) |
Add the relative time of measuring - offset from previous measured data less than 65535 minutes (about 45.5days) The time is in minutes, maximum 65535 minutes about 45.5 of days.
| channel | Data channel |
| timeOffsetMin16 | time in minutes |
Definition at line 530 of file CayenneLpp.c.
References CAYENNE_LPP_MAXBUFFER_SIZE, CayenneLppBuffer, CayenneLppCursor, LPP_MIN16_TIME, and LPP_MIN16_TIME_SIZE.
Referenced by sensors_CayennelFromBckData().
| uint8_t CayenneLppAddTimeMeasureMIN8 | ( | uint8_t | channel, |
| uint8_t | timeOffsetMin8 ) |
Add the relative time of measuring - offset from previous measured data less than 255 minutes The time is in minutes, maximum 255 minutes about 4.25hour.
| channel | Data channel |
| timeOffsetMin8 | time in minutes |
Definition at line 519 of file CayenneLpp.c.
References CAYENNE_LPP_MAXBUFFER_SIZE, CayenneLppBuffer, CayenneLppCursor, LPP_MIN8_TIME, and LPP_MIN8_TIME_SIZE.
Referenced by sensors_CayennelFromBckData().
| uint8_t CayenneLppAddVoltage | ( | uint8_t | channel, |
| float | voltage ) |
Add voltage data to the buffer.
| channel | Data channel |
| voltage | Voltage in volts |
Definition at line 442 of file CayenneLpp.c.
References CAYENNE_LPP_MAXBUFFER_SIZE, CayenneLppBuffer, CayenneLppCursor, LPP_VOLTAGE, and LPP_VOLTAGE_SIZE.
| uint8_t CayenneLppCopy | ( | uint8_t * | dst | ) |
Definition at line 140 of file CayenneLpp.c.
References CayenneLppBuffer, and CayenneLppCursor.
| uint8_t * CayenneLppGetBuffer | ( | void | ) |
Definition at line 132 of file CayenneLpp.c.
References CayenneLppBuffer.
Referenced by sensors_CayennelFromBckData().
| uint8_t CayenneLppGetSize | ( | void | ) |
Definition at line 124 of file CayenneLpp.c.
References CayenneLppCursor.
Referenced by sensors_CayennelFromBckData().
| void CayenneLppInit | ( | void | ) |
Definition at line 108 of file CayenneLpp.c.
References CayenneLppCursor.
| uint8_t CayenneLppMaxBuffer | ( | ) |
| the | max number in bytes for CayenneLpp buffer |
Definition at line 412 of file CayenneLpp.c.
References CAYENNE_LPP_MAXBUFFER_SIZE.
Referenced by myLoraWan_LastDataSend().
| void CayenneLppReset | ( | void | ) |
Definition at line 116 of file CayenneLpp.c.
References CayenneLppCursor.
Referenced by sensors_CayennelFromBckData().
|
static |
Definition at line 95 of file CayenneLpp.c.
Referenced by CayenneLppAddAccelerometer(), CayenneLppAddAnalogInput(), CayenneLppAddAnalogOutput(), CayenneLppAddBarometricPressure(), CayenneLppAddBatteryPerc(), CayenneLppAddConcentration(), CayenneLppAddDigitalInput(), CayenneLppAddDigitalOutput(), CayenneLppAddGps(), CayenneLppAddGyrometer(), CayenneLppAddLuminosity(), CayenneLppAddParticulateMatter_1_0(), CayenneLppAddParticulateMatter_2_5(), CayenneLppAddPresence(), CayenneLppAddRelativeHumidity(), CayenneLppAddTemperature(), CayenneLppAddTimeMeasureABS(), CayenneLppAddTimeMeasureMIN16(), CayenneLppAddTimeMeasureMIN8(), CayenneLppAddVoltage(), CayenneLppCopy(), and CayenneLppGetBuffer().
|
static |
Definition at line 96 of file CayenneLpp.c.
Referenced by CayenneLppAddAccelerometer(), CayenneLppAddAnalogInput(), CayenneLppAddAnalogOutput(), CayenneLppAddBarometricPressure(), CayenneLppAddBatteryPerc(), CayenneLppAddConcentration(), CayenneLppAddDigitalInput(), CayenneLppAddDigitalOutput(), CayenneLppAddGps(), CayenneLppAddGyrometer(), CayenneLppAddLuminosity(), CayenneLppAddParticulateMatter_1_0(), CayenneLppAddParticulateMatter_2_5(), CayenneLppAddPresence(), CayenneLppAddRelativeHumidity(), CayenneLppAddTemperature(), CayenneLppAddTimeMeasureABS(), CayenneLppAddTimeMeasureMIN16(), CayenneLppAddTimeMeasureMIN8(), CayenneLppAddVoltage(), CayenneLppCopy(), CayenneLppGetSize(), CayenneLppInit(), and CayenneLppReset().