Open cidrblock opened 7 months ago
Ahh good question, see the connection is not meant to disappear, so there's been no real thought into that sort of error handling.
Most of the effort has gone towards actually getting the AX.25 protocol stack working.
Thanks for the response. If I get a chance to dig in a little deeper I'll see if I can help here.
I'm still chipping away at my project, hope to have something shareable soon.
-Brad
Sorry for the long delay… could you have a look at https://github.com/sjlongland/aioax25/tree/bugfix/issue19-missing-device and see if that helps catch the error and deal with it?
Hey there,
Thanks for making this project. I'm trying to write a little chat app over AX.25 and was trying to catch to errors.
The first I figured out, if direwolf isn't running the device never transitons to OPEN, so I can catch that:
The second, which I cannot figure out, is if direwolf disappears after the device was open.
In this case if direwolf is no longer running I get the following:
Any suggestions or pointers on how to catch this one? I would like to gracefully exit the app when it happens.
Thanks for any info/suggestions,
Brad