Library for Bluetooth Low Energy Module ble 4.0 HM-11
Diff: hm11.cpp
- Revision:
- 6:16801af75937
- Parent:
- 5:9a00e7bb0275
- Child:
- 7:aa4675590203
--- a/hm11.cpp Sat Dec 26 19:40:40 2015 +0000 +++ b/hm11.cpp Sun Feb 07 18:27:04 2016 +0000 @@ -87,7 +87,7 @@ return mSerial.printf(data); } - int HM11::sendDataToDevice(uint8_t * byteData,uint8_t dataLength) + int HM11::sendDataToDevice(const uint8_t * byteData,uint8_t dataLength) { return mSerial.write(byteData,dataLength);