faucamp / python-gsmmodem

Python module to control a GSM modem attached to the system: send/receive SMS messages, handle calls, etc
GNU Lesser General Public License v3.0
384 stars 302 forks source link

Cannot parse PDU #48

Open AndrewChubatiuk opened 9 years ago

AndrewChubatiuk commented 9 years ago

Hi I've got pdu line which pdu library from python-gsmmodem cannot parse: 07918340247399484007D035DA6C06000051401091731321A0050003720201846176D83D07C56A2E180C2D77B340E2B7BB3E07C15C30185AEE7629542A954258D6B3D3ED341DE40E83D86973599702C5603010DA0E82BF41B11A68FD86BB4034980B066A0A414937BD2C7797E920F81B440FCBF3E6BA0B34A381A6CD2908FE0655D7F270DA9D7681A0E175990E82BFE7ECFA193487B3C36374D9FD0691DFA0D8CD05A3B962

but here it can be decoded http://www.diafaan.com/sms-tutorials/gsm-modem-tutorial/online-sms-pdu-decoder/

tomchy commented 7 years ago

I tried to reproduce your problem, but it seems that new version of python-gsmmodem handles your PDU correctly :slightly_smiling_face: