renatobo / bonogps

A GPS setup to log your track lap times, based on ESP32, with the ability to interface with several mobile phone apps that log your speed and position via Bluetooth Low Energy, Bluetooth or WiFi

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

BT-SPP and Webserver conflict

renatobo opened this issue · comments

When BT-SPP and WebServer both have a client, either one stops working.
In most cases, webserver can't serve the root / page (perhaps as it's the largest one), other pages are fine.

Branch esp32_https_server helps with the generation of the root / page, at the cost of significant more firmware size (+150kb), but there are several potential benefits from it

  • partial HTML pages, thus reducing size of Strings and potentially using char[]
  • reduction of handles page: on/off can be combined, as well as multiple GPS or BAUD rates
  • potentially moving the web server to an async task, not running in the main loop

the new options to create a web page seems effective at reducing conflicts with the bt-spp status