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:
- 117:aff31e70cacc
- Parent:
- 116:1aa0d2da72e4
- Child:
- 118:a172a5568535
--- a/BlueNRGGap.cpp Wed Sep 02 08:59:17 2015 +0200 +++ b/BlueNRGGap.cpp Thu Sep 03 11:54:31 2015 +0200 @@ -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