nauticalcoder / dirt-tracker

Dirt bike computer
1 stars 0 forks source link

Wire up webserver and wifi to Load Route screen #14

Closed nauticalcoder closed 1 year ago

nauticalcoder commented 1 year ago

Need to figure out how to kick off the async process from the Load Route state.

nauticalcoder commented 1 year ago

Used combination of asyncio.create_task, asyncio.start_server, and a helper async function to start and stop webserver and access point from our web_server service.

nauticalcoder commented 1 year ago

Access point is activating and deactivating but webserver is not responding.

nauticalcoder commented 1 year ago

Fixed issue with webserver. Call to uasyncio.start_server needed to be awaited.