BLE test
Fork of X_NUCLEO_IDB0XA1 by
Diff: source/BlueNRGGap.cpp
- Branch:
- 70f819844d61400a7b6772dcc911a63fc73af09e
- Revision:
- 259:323f588e5f57
- Parent:
- 256:146bb175ce80
- Child:
- 266:b49e28134d83
--- a/source/BlueNRGGap.cpp Thu Sep 15 10:51:20 2016 +0100 +++ b/source/BlueNRGGap.cpp Thu Sep 15 10:51:21 2016 +0100 @@ -501,9 +501,9 @@ ); if (err) { - printf("impossible to set advertising parameters\n\r"); - printf("advInterval min: %u, advInterval max: %u\n\r", advInterval, advInterval + 1); - printf("advType: %u, advFilterPolicy: %u\n\r", params.getAdvertisingType(), advFilterPolicy); + PRINTF("impossible to set advertising parameters\n\r"); + PRINTF("advInterval min: %u, advInterval max: %u\n\r", advInterval, advInterval + 1); + PRINTF("advType: %u, advFilterPolicy: %u\n\r", params.getAdvertisingType(), advFilterPolicy); return BLE_ERROR_INVALID_PARAM; } @@ -1352,7 +1352,7 @@ advIntMS = (conn_min_interval*1.25)-GUARD_INT; advInterval = _advParams.MSEC_TO_ADVERTISEMENT_DURATION_UNITS(advIntMS); - printf("conn_min_interval is equal to %u\r\n", conn_min_interval); + PRINTF("conn_min_interval is equal to %u\r\n", conn_min_interval); } else { advInterval = _advParams.getIntervalInADVUnits(); }