From c04c62916fceb5dbb7d834b035d353af178d7492 Mon Sep 17 00:00:00 2001 From: DigiH Date: Fri, 15 Jul 2022 11:37:04 +0200 Subject: [PATCH] ble-datatest-environment (#1235) --- docs/upload/web-install.md | 1 + platformio.ini | 20 ++++++++++++++++++++ 2 files changed, 21 insertions(+) diff --git a/docs/upload/web-install.md b/docs/upload/web-install.md index 78c0e91..52428f7 100644 --- a/docs/upload/web-install.md +++ b/docs/upload/web-install.md @@ -44,6 +44,7 @@ The table below describes the libraries and the modules of each board configurat |ttgo-lora32-v1-868|ESP32 TTGO LORA V1|LORA communication 868Mhz using [arduino-LoRA](https://github.com/sandeepmistry/arduino-LoRa)|-|-|-|X| |ttgo-lora32-v1-915|ESP32 TTGO LORA V1|LORA communication 915Mhz using [arduino-LoRA](https://github.com/sandeepmistry/arduino-LoRa)|-|-|-|X| |ttgo-tbeam|ESP32 TTGO T BEAM|BLE gateway with battery holder|-|-|X|-| +|esp32dev-ble-datatest|ESP32 dev board|Default BLE gateway with additional servicedata, manufacturerdata and service uuid for analysing decoding issues|-|-|X|-| |**ESP8266**| |nodemcuv2-2g|ESP8266 board|SMS gateway, need A6/A7 GSM module|-|-|-|-| |nodemcuv2-ble|ESP8266 board|BLE gateway, need HM10 Module|-|-|X|-| diff --git a/platformio.ini b/platformio.ini index d24efde..e145462 100644 --- a/platformio.ini +++ b/platformio.ini @@ -77,6 +77,7 @@ extra_configs = ;default_envs = nodemcuv2-all-test ;default_envs = uno-rf ;default_envs = uno-fastled +;default_envs = esp32dev-ble-datatest ;default_envs = atmega-all-test ;default_envs = manual-wifi-test ;default_envs = openhab-test @@ -1291,3 +1292,22 @@ build_flags = ${com-arduino-low-memory.build_flags} '-DGateway_Name="OMG_1_FL"' '-DZactuatorFASTLED="FASTLED"' + +[env:esp32dev-ble-datatest] +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' + '-DpubBLEManufacturerData=true' + '-DpubKnownBLEServiceData=true' + '-DpubBLEServiceUUID=true' + '-DGateway_Name="OpenMQTTGateway_ESP32_BLE"'