Hexiwear library for communicating with the on-board KW40Z BLE device. KW40Z handles also the touch buttons.
Dependents: Hexi_BLE_Example_Modified Hexi_BLE_Example_ModifiedPOTATO
Fork of Hexi_KW40Z by
Diff: Hexi_KW40Z.h
- Revision:
- 14:241c491f985f
- Parent:
- 13:84ead63f7353
diff -r 84ead63f7353 -r 241c491f985f Hexi_KW40Z.h --- a/Hexi_KW40Z.h Thu Aug 09 22:45:01 2018 +0000 +++ b/Hexi_KW40Z.h Mon Aug 27 16:15:26 2018 -0700 @@ -124,8 +124,8 @@ packetType_sleepOFF = 35, /**< sleep OFF */ /* Message Service */ - packetType_messageIn = 116, /**< incoming alerts */ - packetType_messageOut = 117, /**< outcoming alerts */ + packetType_messageIn = 116, /**< incoming messages */ + packetType_messageOut = 117, /**< outcoming messages */ packetType_OK = 255 /**< OK packet */ } hostInterface_packetType_t; @@ -258,9 +258,12 @@ uint8_t advertisementMode; uint8_t linkState; uint32_t bondPassKey; + + uint32_t allocated; + uint32_t freed; - MemoryPool<hostInterface_packet_t, 50> mpool; - Queue<hostInterface_packet_t, 50> queue; + MemoryPool<hostInterface_packet_t, 500> mpool; + Queue<hostInterface_packet_t, 500> queue; void mainTask(void); void rxTask(void);