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.
Fork of X_NUCLEO_IDB0XA1 by
Diff: source/platform/btle.cpp
- Revision:
- 231:a0d2544b38cd
- Parent:
- 229:9981f62cdb1a
- Child:
- 235:31b976a40f43
--- a/source/platform/btle.cpp Thu May 19 09:44:46 2016 +0200 +++ b/source/platform/btle.cpp Fri May 20 16:59:24 2016 +0200 @@ -263,6 +263,7 @@ // Observer role is not supported by X-NUCLEO-IDB04A1, return BLE_ERROR_NOT_IMPLEMENTED if(bnrg_expansion_board == IDB05A1) { PRINTF("scan_interval=%d scan_window=%d\n\r", scan_interval, scan_window); + PRINTF("scan_type=%d own_address_type=%d\n\r", scan_type, own_address_type); ret = aci_gap_start_observation_procedure(scan_interval, scan_window, scan_type, @@ -605,7 +606,6 @@ break; case EVT_BLUE_GATT_PROCEDURE_COMPLETE: { - //PRINTF("EVT_BLUE_GATT_PROCEDURE_COMPLETE\n\r"); evt_gatt_procedure_complete *evt = (evt_gatt_procedure_complete*)blue_evt->data; PRINTF("EVT_BLUE_GATT_PROCEDURE_COMPLETE error_code=%d\n\r", evt->error_code); BlueNRGGattClient::getInstance().gattProcedureCompleteCB(evt->conn_handle, evt->error_code); @@ -614,7 +614,6 @@ case EVT_BLUE_GAP_DEVICE_FOUND: { - PRINTF("EVT_BLUE_GAP_DEVICE_FOUND\n\r"); evt_gap_device_found *pr = (evt_gap_device_found*)blue_evt->data; PRINTF("EVT_BLUE_GAP_DEVICE_FOUND evt_type=%d\n\r", pr->evt_type);