Hi there
This is the way to output a command from the micro to the GSM.
HSEROUT ["AT+CMGD=1",13]
HSERIN [wait("OK")] ' NOT BELTS AND BRACES AS MODEM COULD RETURN"ERROR".
RETURN
It always pays to wait for an OK back from modem.
Hope this helps
Jonno
Bookmarks