somakeit / smib

1 stars 0 forks source link

Reinstate network connectivity watcher in SMIBHID #110

Closed sjefferson99 closed 1 week ago

sjefferson99 commented 1 month ago

Network connectivity watcher is no longer started as of the refactor of space state from HID into its own module. It isn't really needed until push messages are supported as outgoing connection will check for and establish connectivity first.

I don't want to reintroduce it until I have worked out the correct design pattern to prevent passing the wifi object down the full stack of included modules manually. Micropython doesn't support DI frameworks, but chatgpt suggested a factory approach that I am looking into.