When Remote Alarm Manager attempts to initialise the GSM modem it fails during reset command. Modem will reset correctly if the same commands are sent from a terminal emulation program.
The result codes from the modem are not returned in the format expected by Remote Alarm Manager
The Mobile Equipment Errors setting (AT+CMEE) sets the format that error responses from the modem are returned in, the possible formats are:-
0 disable result code and use ERROR instead
1 enable result code and use numeric
2 enable result code and use verbose
The GSM driver in Remote Alarm Manager expects to see these results in numeric format. To Check and set the format do the following:
- Using a Terminal Emulation Program such as Hyperterminal connect to the modem
- Enter the command AT+CMEE? to show the current setting
- Enter AT+CMEE=1
- Enter AT&W to store the current settings to non volatile memory.
- Disconnect Hyperterminal and test with Remote Alarm Manager.