HW layer for the Nucleo board, it only work with old BLE_API
Dependents: Hello_BLE F446RE-BLE
Fork of X_NUCLEO_IDB0XA1 by
Diff: BlueNRGGap.cpp
- Revision:
- 92:709d44dc869a
- Parent:
- 90:26c0c9807ab4
- Child:
- 93:728699ac5613
- Child:
- 99:c6e075b517c2
--- a/BlueNRGGap.cpp Thu Jul 23 09:44:24 2015 +0200 +++ b/BlueNRGGap.cpp Thu Jul 23 14:22:55 2015 +0200 @@ -104,7 +104,7 @@ } else { PayloadPtr loadPtr(advData.getPayload(), advData.getPayloadLen()); for(uint8_t index=0; index<loadPtr.getPayloadUnitCount(); index++) { - PayloadUnit unit = loadPtr.getUnitAtIndex(index); + loadPtr.getUnitAtIndex(index); DEBUG("adData[%d].length=%d\n\r", index,(uint8_t)(*loadPtr.getUnitAtIndex(index).getLenPtr())); DEBUG("adData[%d].AdType=0x%x\n\r", index,(uint8_t)(*loadPtr.getUnitAtIndex(index).getAdTypePtr())); @@ -876,4 +876,4 @@ *countP = sizeof(permittedTxValues) / sizeof(int8_t); } - \ No newline at end of file +