BLE params changed
This commit is contained in:
parent
f9ba346c68
commit
71b6f75781
@ -107,11 +107,15 @@ class MyAdvertisedDeviceCallbacks: public BLEAdvertisedDeviceCallbacks {
|
|||||||
|
|
||||||
http://dev.ti.com/tirex/content/simplelink_academy_cc2640r2sdk_1_12_01_16/modules/ble_scan_adv_basic/ble_scan_adv_basic.html
|
http://dev.ti.com/tirex/content/simplelink_academy_cc2640r2sdk_1_12_01_16/modules/ble_scan_adv_basic/ble_scan_adv_basic.html
|
||||||
|
|
||||||
|
http://microchipdeveloper.com/wireless:ble-link-layer-packet-types
|
||||||
|
|
||||||
|
http://microchipdeveloper.com/wireless:ble-link-layer-address
|
||||||
|
|
||||||
"The Class of Device (CoD) in case of Bluetooth which allows us to differentiate the type of
|
"The Class of Device (CoD) in case of Bluetooth which allows us to differentiate the type of
|
||||||
device (smartphone, handsfree, computer, LAN/network AP). With this parameter we can
|
device (smartphone, handsfree, computer, LAN/network AP). With this parameter we can
|
||||||
differentiate among pedestrians and vehicles."
|
differentiate among pedestrians and vehicles."
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// Current devices seen on this scan session
|
// Current devices seen on this scan session
|
||||||
|
@ -13,10 +13,11 @@
|
|||||||
|
|
||||||
// BLE scan parameters
|
// BLE scan parameters
|
||||||
#define BLESCANCYCLE 2 // BLE scan once after each <BLECYCLE> wifi scans
|
#define BLESCANCYCLE 2 // BLE scan once after each <BLECYCLE> wifi scans
|
||||||
#define BLESCANTIME 11 // [seconds] scan duration, see above
|
#define BLESCANTIME 11 // [seconds] scan duration, see note below
|
||||||
#define BLESCANWINDOW 100 // [milliseconds] scan window, see above, 25 .. 10240
|
#define BLESCANWINDOW 100 // [milliseconds] scan window, see below, 3 .. 10240, default 10
|
||||||
#define BLESCANINTERVAL 100 // [milliseconds] how long to wait between scans, 25 .. 10240
|
#define BLESCANINTERVAL 100 // [milliseconds] how long to wait between scans, 3 .. 10240, default 10
|
||||||
/*
|
|
||||||
|
/* Note: guide for setting bluetooth parameters
|
||||||
*
|
*
|
||||||
* |< Scan Window > |< Scan Window > |< Scan Window > |
|
* |< Scan Window > |< Scan Window > |< Scan Window > |
|
||||||
* |< Scan Interval >|< Scan Interval >|< Scan Interval >|
|
* |< Scan Interval >|< Scan Interval >|< Scan Interval >|
|
||||||
|
Loading…
Reference in New Issue
Block a user