I have a question concerning the present status of proto-qmi. My ISP disconnects any 4G connection after 48 hours. Does proto-qmi in any way handle the necessary reconnection? I can't exactly tell from /lib/netifd/proto/qmi.sh and I wonder if the behaviour has changed recently?
@mrhaav I saw from another post you may have familiarity with proto-qmi. Any thoughts about the above?
Hi
To get a proper reconnection function we need to listen to the unsolicited result codes and react on those. As far as I know uqmi does not support that. I suppose ModemManager support it but I don´t know, I have not used it.
Hello @mrhaav thanks for sharing your fix, it works good - I have been testing the deamon for a couple of days and the reconnection occurs seamlessly. This is much more elegant solution than interface restart methods in my opinion.
Have you considered to submit a pull request to the oficial uqmi repository to include such feature? Unless someone has any objection, I think this is really good stuff that should be part of it - though if I could add my two cents, it would be better to decouple the SMS / Led Controlling features from it and making those as separate extensions.
Again, thanks for sharing it. Very helpful contribution.