* added S3 WIO target for BLE companion radio
This commit is contained in:
@@ -482,6 +482,7 @@ protected:
|
|||||||
uint32_t now = getRTCClock()->getCurrentTime();
|
uint32_t now = getRTCClock()->getCurrentTime();
|
||||||
client->last_activity = now; // <-- THIS will keep client connection alive
|
client->last_activity = now; // <-- THIS will keep client connection alive
|
||||||
client->push_failures = 0; // reset so push can resume (if prev failed)
|
client->push_failures = 0; // reset so push can resume (if prev failed)
|
||||||
|
client->pending_ack = 0;
|
||||||
|
|
||||||
// TODO: Throttle KEEP_ALIVE requests!
|
// TODO: Throttle KEEP_ALIVE requests!
|
||||||
// if client sends too quickly, evict()
|
// if client sends too quickly, evict()
|
||||||
|
|||||||
@@ -299,6 +299,24 @@ lib_deps =
|
|||||||
adafruit/RTClib @ ^2.1.3
|
adafruit/RTClib @ ^2.1.3
|
||||||
densaugeo/base64 @ ~1.4.0
|
densaugeo/base64 @ ~1.4.0
|
||||||
|
|
||||||
|
[env:Xiao_S3_WIO_companion_radio_ble]
|
||||||
|
extends = Xiao_S3_WIO
|
||||||
|
build_flags =
|
||||||
|
${Xiao_S3_WIO.build_flags}
|
||||||
|
-D MAX_CONTACTS=100
|
||||||
|
-D MAX_GROUP_CHANNELS=1
|
||||||
|
-D BLE_PIN_CODE=123456
|
||||||
|
; -D BLE_DEBUG_LOGGING=1
|
||||||
|
; -D ENABLE_PRIVATE_KEY_IMPORT=1
|
||||||
|
; -D ENABLE_PRIVATE_KEY_EXPORT=1
|
||||||
|
; -D MESH_PACKET_LOGGING=1
|
||||||
|
; -D MESH_DEBUG=1
|
||||||
|
build_src_filter = ${Xiao_S3_WIO.build_src_filter} +<helpers/esp32/*.cpp> +<../examples/companion_radio/main.cpp>
|
||||||
|
lib_deps =
|
||||||
|
${Xiao_S3_WIO.lib_deps}
|
||||||
|
adafruit/RTClib @ ^2.1.3
|
||||||
|
densaugeo/base64 @ ~1.4.0
|
||||||
|
|
||||||
; =============
|
; =============
|
||||||
[LilyGo_T3S3_sx1262]
|
[LilyGo_T3S3_sx1262]
|
||||||
extends = esp32_base
|
extends = esp32_base
|
||||||
|
|||||||
Reference in New Issue
Block a user