nerves-networking / vintage_net_mobile

Mobile networking for VintageNet
Apache License 2.0
27 stars 11 forks source link

Add ready callback for modems #31

Closed mattludwigs closed 4 years ago

mattludwigs commented 4 years ago

Added a ready callback for modems to implement. This was added to allow the modem to define the way it is considered ready. At the same time we don't force the modem implementer to worry how this is tied into the VintageNet runtime.

This should fix #18

Also tested hot plugging in the modem and VintageNet was able to pick that up and start ppp. Everything worked correctly.