-
Notifications
You must be signed in to change notification settings - Fork 37
Open
Description
Hello,
I'd like to make networking independent from the packet forwarder app.
I see it happen in following steps:
- webserver: start allways - don't wait for network #18
- move network configuration handling to a separate file: wip: main...danielkucera:esxp1302:networking
- create a separate thread for network state changes handling
- add additional network connections (using e.g. esp internal mac for ethernet, GPRS with SIM800 via uart, usb-cdc, ...)
The sockets for packet forwarder can be created even without working connection (as with the webserver). The only relevant parts are DNS resolving during connection (solved in wip) and sending status/uplink packets - this has to be tested how it behaves during missing connection (if it drops after start and resolving server) but IMO it should be fine - we should just ignore a potential error during UDP packet send. Once the connection reestablishes it should continue sending.
What do you think about this?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels