Add option to offload decoding to an external gateway over MQTT. (#1216)
* Add option to offload decoding to an external gateway over MQTT. * Change decode topic and add to config_bt
This commit is contained in:
1 parent
5b697e0306
commit
25b8123ff6
4 files changed
+107
-50
No files matched your search
@@ -408,6 +408,23 @@ build_flags =
|
||||
'-DLED_SEND_RECEIVE_ON=0'
|
||||
'-DGateway_Name="OpenMQTTGateway_ESP32_BLE"'
|
||||
|
||||
[env:esp32dev-ble-mqtt-decode]
|
||||
platform = ${com.esp32_platform}
|
||||
board = esp32dev
|
||||
board_build.partitions = min_spiffs.csv
|
||||
lib_deps =
|
||||
${com-esp.lib_deps}
|
||||
${libraries.wifimanager32}
|
||||
${libraries.ble}
|
||||
${libraries.decoder}
|
||||
build_flags =
|
||||
${com-esp.build_flags}
|
||||
'-DZgatewayBT="BT"'
|
||||
'-DLED_SEND_RECEIVE=2'
|
||||
'-DLED_SEND_RECEIVE_ON=0'
|
||||
'-DGateway_Name="OpenMQTTGateway_ESP32_BLE"'
|
||||
'-DMQTTDecodeTopic="BTtoMQTT/undecoded"'
|
||||
|
||||
[env:esp32dev-ble-aws]
|
||||
platform = ${com.esp32_platform}
|
||||
board = esp32dev
|
||||
|
||||
Reference in new issue
Block a user