BLE_API wrapper library for STMicroelectronics' BlueNRG Bluetooth Low Energy expansion board shield

Fork of X_NUCLEO_IDB0XA1 by ST Expansion SW Team

Revision:
221:a0d2544b38cd
Parent:
219:9981f62cdb1a
Child:
225:31b976a40f43
diff -r 6eb53072d82b -r a0d2544b38cd source/platform/btle.cpp
--- 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);