NebraLtd / hm-config

Helium Miner Config Container
https://nebra.io/hnt
MIT License
12 stars 20 forks source link

Rethink shared state and how it triggers various threads. #175

Open pritamghanghas opened 2 years ago

pritamghanghas commented 2 years ago

At a minimum this will require some more documentation like why wifi_scan is triggered in bluetooth advertisement processor

_Originally posted by @marvinmarnold in https://github.com/NebraLtd/hm-config/pull/174#discussion_r821072265_

shawaj commented 2 years ago

IIRC we originally did a scan at advertisement so that the results could be cached and ready for when connected.

That was a while ago though so maybe no longer relevant