WaiveCar / WaiveScreen

WaiveScreen related stuff.
0 stars 0 forks source link

text_loop() should check modem Status.state #246

Open nthobe opened 4 years ago

nthobe commented 4 years ago

The text_loop() currently checks for the presence of a modem before calling lib.next_sms in a loop. It should also check the modem's Status.state and make sure it's "connected" and not "failed".

kristopolous commented 4 years ago

I did another method, it just sets a session variable if it's connected and then it checks that instead