readme.md and ble default timings

This commit is contained in:
Klaus K Wilting 2018-05-20 21:21:47 +02:00
parent ed25ec1e92
commit 45066af7c9
2 changed files with 6 additions and 6 deletions

View File

@ -155,13 +155,13 @@ Note: all settings are stored in NVRAM and will be reloaded when device starts.
0x0B set Wifi channel switch interval timer 0x0B set Wifi channel switch interval timer
0 ... 255 duration for scanning one wifi channel in seconds/100 0 ... 255 duration for scanning a wifi channel in seconds/100
e.g. 50 -> each channel is scanned for 0,5 seconds [default] e.g. 50 -> each channel is scanned for 500 milliseconds [default]
0x0C set Bluetooth channel switch interval timer 0x0C set Bluetooth channel switch interval timer
0 ... 255 duration for scanning one bluetooth channel in seconds/100 0 ... 255 duration for scanning a bluetooth advertising channel in seconds/100
e.g. 3 -> each channel is scanned for 30 milliseconds [default] e.g. 8 -> each channel is scanned for 80 milliseconds [default]
0x0D (NOT YET IMPLEMENTED) set BLE and WIFI vendorfilter mode 0x0D (NOT YET IMPLEMENTED) set BLE and WIFI vendorfilter mode

View File

@ -12,8 +12,8 @@
// BLE scan parameters // BLE scan parameters
#define BLESTACKSIZE 8192 // stack size for esp_bt_controller #define BLESTACKSIZE 8192 // stack size for esp_bt_controller
#define BLESCANTIME 0 // [seconds] scan duration, 0 means infinite [default], see note below #define BLESCANTIME 0 // [seconds] scan duration, 0 means infinite [default], see note below
#define BLESCANWINDOW 0x50 // [milliseconds] scan window, see below, 3 .. 10240, default 80ms #define BLESCANWINDOW 80 // [milliseconds] scan window, see below, 3 .. 10240, default 80ms
#define BLESCANINTERVAL 0x50 // [milliseconds] scan interval, see below, 3 .. 10240, default 80ms = 100% duty cycle #define BLESCANINTERVAL 80 // [illiseconds] scan interval, see below, 3 .. 10240, default 80ms = 100% duty cycle
/* Note: guide for setting bluetooth parameters /* Note: guide for setting bluetooth parameters
* *