HW layer for the Nucleo board, it only work with old BLE_API
Dependents: Hello_BLE F446RE-BLE
Fork of X_NUCLEO_IDB0XA1 by
Diff: BlueNRGGap.cpp
- Revision:
- 108:22f47410d15e
- Parent:
- 107:5cc5ac5bfbbb
- Child:
- 109:9e152b2453bc
--- a/BlueNRGGap.cpp Tue Sep 01 15:27:33 2015 +0000 +++ b/BlueNRGGap.cpp Wed Sep 02 14:36:42 2015 +0000 @@ -347,9 +347,9 @@ DEBUG("name=%s\n\r", name); } - advtInterval = params.getInterval(); // set advtInterval in case it is not already set by user application + advtInterval = params.getInterval(); // set advtInterval in case it is not already set by user application ret = aci_gap_set_discoverable(params.getAdvertisingType(), // Advertising_Event_Type - BLUENRG_GAP_ADV_INTERVAL_MIN, // Adv_Interval_Min + advtInterval, // Adv_Interval_Min advtInterval, // Adv_Interval_Max PUBLIC_ADDR, // Address_Type NO_WHITE_LIST_USE, // Adv_Filter_Policy