Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: SimpleBLE-ObCP_ENSMM_V2019_Test_BLE_S SimpleBLE-ObCp_test-BLE_envoi SimpleBLE-ObCp_test-BLE Roller_catcher_Envoi ... more
Diff: source/BlueNRGGap.cpp
- Branch:
- 70f819844d61400a7b6772dcc911a63fc73af09e
- Revision:
- 259:323f588e5f57
- Parent:
- 256:146bb175ce80
- Child:
- 266:b49e28134d83
diff -r e5ef65120b06 -r 323f588e5f57 source/BlueNRGGap.cpp
--- 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();
}