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_LED_IDB0XA1_demo MOTOR_BLE_V2 Motor_Ble_v1 Motor_Ble_v10223 ... more
Fork of X_NUCLEO_IDB0XA1 by
Diff: source/BlueNRGGap.cpp
- Revision:
- 152:4afc5c2fc4f3
- Parent:
- 145:024a552e4715
- Child:
- 153:661dfc1a3088
--- a/source/BlueNRGGap.cpp Tue Oct 27 10:22:40 2015 +0100
+++ b/source/BlueNRGGap.cpp Tue Oct 27 15:42:02 2015 +0100
@@ -1029,6 +1029,9 @@
} else {
PRINTF("re-startRadioScan\n\r");
+ // FIXME: We need to wait for a while before creating a connection
+ // due to BlueNRG process queue handling
+ Clock_Wait(100);
startRadioScan(_scanningParams);
}
@@ -1041,7 +1044,7 @@
uint8_t ret = BLE_STATUS_SUCCESS;
- printf("Scanning...\n\r");
+ PRINTF("Scanning...\n\r");
// We received a start scan request from the application level.
// If we are on X-NUCLEO-IDB04A1 (playing a single role at time),
