renatobo/bonogps

BT-SPP and Webserver conflict

renatobo opened this issue · 1 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