Patch for more detailled modem use.

Andreas Fink <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <[email protected]>
Hi folks,

I'm working on improving the AT driver again, the project which brought me to kannels 11 years ago (time goes fast)

The attached patch does add a new status information to the status page which includes things like IMSI, Card ID, MSISDN (if available) etc.
This is very useful if you use USB adapters which change their naming based on where they are plugged or when they are plugged or when you dont know which port name matches which physical port.

So instead of seeing a line on http://localhost:1234t/status

    port14[port14]    AT2[port14] (online 1s, rcvd: sms 0 (0.00,0.00,0.00) / dlr 0 (0.00,0.00,0.00), sent: sms 0 (0.00,0.00,0.00) / dlr 0 (0.00,0.00,0.00), failed 0, queued 0 msgs) 


You will see something liek this:


    port14[port14]    AT2[port14] (online 24s, rcvd: sms 0 (0.00,0.00,0.00) / dlr 0 (0.00,0.00,0.00), sent: sms 0 (0.00,0.00,0.00) / dlr 0 (0.00,0.00,0.00), failed 0, queued 0 msgs) 
        CurrentOperator: 22802 Signal: 17 CardNumber: 89410212614001299889 Device: /dev/cu.usbserial-001412FAC


Before committing this it to SVN, I would like to have a few guys test this with other modem types (in my case I used Wavecom's) to see if its properly working there too.





Also in my setup delivery reports don't work but i have not figured out why yet. Looks like the modems never give them back to me. Anybody seen this working in his setup?


Andreas Fink
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.