increase timeout
This commit is contained in:
parent
8b9f384e47
commit
8f9e256c64
@ -42,13 +42,11 @@
|
||||
#define BMS_POLLING_INTERVAL 10*60*1000 // data output interval (shorter = connect more often = more battery consumption from BMS) in ms
|
||||
|
||||
// BLE
|
||||
#define BLE_MIN_RSSI -75 // minimum signal strength before connection is attempted
|
||||
#define BLE_NAME "BMS 1.1" // name of BMS
|
||||
#define BLE_ADDRESS "70:e3:97:d2:b0:bb" // address of BMS
|
||||
|
||||
#define BLE_SCAN_DURATION 1 // duration of scan in seconds
|
||||
#define BLE_REQUEST_DELAY 500 // package request delay after connecting - make this large enough to have the connection established in ms
|
||||
#define BLE_TIMEOUT 10*1000 // timeout of scan + gathering packets (too short will fail collecting all packets) in ms
|
||||
#define BLE_TIMEOUT 60*1000 // timeout of scan + gathering packets (too short will fail collecting all packets) in ms
|
||||
|
||||
#define BLE_CALLBACK_DEBUG true // send debug messages via MQTT & serial in callbacks (handy for finding your BMS address, name, RSSI, etc)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user