Previous version which works for my stm32f401 Nucleo board
Fork of X_NUCLEO_IDB0XA1 by
Diff: BlueNRGGattServer.cpp
- Revision:
- 94:2993df23d1ac
- Parent:
- 93:728699ac5613
- Child:
- 95:e1f7ce04e71b
--- a/BlueNRGGattServer.cpp Thu Jul 23 14:48:36 2015 +0200 +++ b/BlueNRGGattServer.cpp Fri Jul 24 15:00:36 2015 +0000 @@ -414,7 +414,7 @@ } else continue; } */ - if(attrHandle == handle) { + if(attrHandle == handle+1) { p_char = p_characteristics[i]; DEBUG("Found Characteristic Properties 0x%x\n\r",p_char->getProperties()); break;