Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: src/CayenneLPP.h
- Revision:
- 7:43d16dd86e84
- Parent:
- 1:3747637941bf
diff -r 5a9d65b33e85 -r 43d16dd86e84 src/CayenneLPP.h
--- a/src/CayenneLPP.h Thu Mar 09 16:32:30 2017 +0000
+++ b/src/CayenneLPP.h Fri Jun 11 13:57:24 2021 +0000
@@ -21,7 +21,7 @@
// Data ID + Data Type + Data Size
-#define LPP_DIGITAL_INPUT_SIZE 3 // 1 byte
+#define LPP_DIGITAL_INPUT_SIZE 6 // 1 byte
#define LPP_DIGITAL_OUTPUT_SIZE 3 // 1 byte
#define LPP_ANALOG_INPUT_SIZE 4 // 2 bytes, 0.01 signed
#define LPP_ANALOG_OUTPUT_SIZE 4 // 2 bytes, 0.01 signed
@@ -59,6 +59,7 @@
uint8_t addBarometricPressure(uint8_t channel, float hpa);
uint8_t addGyrometer(uint8_t channel, float x, float y, float z);
uint8_t addGPS(uint8_t channel, float latitude, float longitude, float meters);
+ uint8_t addNFC(uint8_t channel, char * NFC);
private:
uint8_t *buffer;