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

MC55i AT+CMGD syntax #45

Open rmweiss opened 9 years ago

rmweiss commented 9 years ago

The Siements MC55i doesn't like the "AT+CMGD=,0" syntax:

DEBUG: write: AT+CMGD=2,0
DEBUG: response: ['+CMS ERROR: 500']

Without ",0" at the end it works:

DEBUG: write: AT+CMGD=3
DEBUG: response: ['OK']

Link to the documentation: https://www.portech.com.tw/data/Siemens%20mc55i_AT.pdf

RingoAl commented 6 years ago

Same problem with Siemens/Cinterion MC52it

tomchy commented 6 years ago

Could you check that on this updated fork? It is available via pip as python-gsmmodem-new.