Hexiwear library for communicating with the on-board KW40Z BLE device. KW40Z handles also the touch buttons.
Fork of Hexi_KW40Z by
Diff: Hexi_KW40Z.h
- Revision:
- 6:29fd3288676c
- Parent:
- 3:9e92f113c671
diff -r 8c7c1cc024ed -r 29fd3288676c Hexi_KW40Z.h --- a/Hexi_KW40Z.h Tue Sep 20 22:38:58 2016 +0000 +++ b/Hexi_KW40Z.h Wed Sep 28 10:46:19 2016 +0000 @@ -74,7 +74,7 @@ packetType_accel = 6, /**< motion service */ packetType_ambiLight = 7, /**< weather service */ - packetType_pressure = 8, /**< weather service */ + packetType_pressure = 8, /**< weather service */ packetType_gyro = 9, /**< motion service */ @@ -82,9 +82,10 @@ packetType_humidity = 11, /**< weather service */ packetType_magnet = 12, /**< motion service */ - packetType_heartRate = 13, /**< health service */ - packetType_steps = 14, /**< health service */ + // packetType_heartRate = 13, /**< health service */ + // packetType_steps = 14, /**< health service */ packetType_calories = 15, /**< health service */ + packetType_alc = 14, /* add ibreathe packet identifier*/ /* Alert Service */ packetType_alertIn = 16, /**< incoming alerts */ @@ -201,6 +202,8 @@ void SendTemperature(uint16_t celsius); void SendHumidity(uint16_t percentage); void SendPressure(uint16_t pascal); + // add iBreathe + void SendiBreathe(uint16_t ppm); void SendHeartRate(uint8_t rate); void SendSteps(uint16_t steps); void SendCalories(uint16_t calories);