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: BLE_HeartRate_IDB0XA1
Fork of X_NUCLEO_IDB0XA1 by
Diff: source/BlueNRGGap.cpp
- Revision:
- 164:51bba7d36eb4
- Parent:
- 163:4c008b1089e9
- Child:
- 165:3576598c0889
--- a/source/BlueNRGGap.cpp Fri Oct 30 10:26:15 2015 +0100 +++ b/source/BlueNRGGap.cpp Fri Oct 30 14:08:52 2015 +0100 @@ -1072,7 +1072,7 @@ addr_type, 1); // 1 to filter duplicates if (ret != BLE_STATUS_SUCCESS) { - printf("Start Discovery Procedure failed (0x%02X)\n\r", ret); + PRINTF("Start Discovery Procedure failed (0x%02X)\n\r", ret); // FIXME: We need to wait for a while before starting discovery proc // due to BlueNRG process queue handling // NOTE: this workaround causes a potential risk for an endless loop!!! @@ -1163,7 +1163,7 @@ SUPERV_TIMEOUT, CONN_L1 , CONN_L2); if (ret != BLE_STATUS_SUCCESS) { - printf("Error while starting connection (ret=0x%02X).\n\r", ret); + PRINTF("Error while starting connection (ret=0x%02X).\n\r", ret); // FIXME: We need to wait for a while before creating a connection // due to BlueNRG process queue handling // NOTE: this workaround causes a potential risk for an endless loop!!!