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

Allow spaces in +CMGL response in PDU mode #38

Closed nioq closed 10 years ago

nioq commented 10 years ago

The D-Link DWM-156 has +CGML responses of the following format: +CMGL: 1, 0,[...]

Previous regex did not allow spaces between the index and the message status.

coveralls commented 10 years ago

Coverage Status

Coverage remained the same when pulling ee9557a7bc2c2cfe0f24a168ab9904d54553cb93 on Tinkertanker:dwm-156 into df20a9a2960883fbb454bc73c8c5a13f044ef8d4 on faucamp:master.

faucamp commented 10 years ago

Thanks for the patch!