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: Hello_BLE F446RE-BLE
Fork of X_NUCLEO_IDB0XA1 by
Revision 108:22f47410d15e, committed 2015-09-02
- Comitter:
- apalmieri
- Date:
- Wed Sep 02 14:36:42 2015 +0000
- Parent:
- 107:5cc5ac5bfbbb
- Child:
- 109:9e152b2453bc
- Commit message:
- Fix issue on Advertising Interval
Changed in this revision
| BlueNRGGap.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- 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
