Hi everyone. I hope someone can give me some ideas for resolving our GSM Modem issue. It has been failing and I can't determine the root cause.
Detailed logging shows:
DEBUG - - GSM: Sending message.
2012-08-06 21:21:27,812 [gsmEngineManager.5] DEBUG - - [COM1] =>AT+CMGF=0<CR>
2012-08-06 21:21:27,843 [gsmEngineManager.5] DEBUG - - [COM1] <=
2012-08-06 21:21:27,843 [gsmEngineManager.5] DEBUG - - [COM1] <=OK
2012-08-06 21:21:27,843 [gsmEngineManager.5] DEBUG - - [COM1] =>AT+CMMS=1<CR>
2012-08-06 21:21:27,859 [gsmEngineManager.5] DEBUG - - [COM1] <=
2012-08-06 21:21:27,859 [gsmEngineManager.5] DEBUG - - [COM1] <=OK
2012-08-06 21:21:27,859 [gsmEngineManager.5] DEBUG - - [COM1] =>AT+CMGS=62<CR>
2012-08-06 21:21:27,875 [gsmEngineManager.5] DEBUG - - [COM1] <=<CR><LF>>
2012-08-06 21:21:27,875 [gsmEngineManager.5] DEBUG - - [COM1] =>0011000A8114208101750000FF38BC59CC968BC16E3E05D5598C30DFE7B41B442D2EE7F939BDDC9E83DE6E10122A0C8F5BF7B238A69097E1ECBC42141EAF45
2012-08-06 21:21:27,875 [gsmEngineManager.5] DEBUG - - [COM1] =><SUB>
2012-08-06 21:21:27,906 [gsmEngineManager.5] DEBUG - - [COM1] <=
2012-08-06 21:21:27,906 [gsmEngineManager.5] DEBUG - - [COM1] <=ERROR
2012-08-06 21:21:27,906 [gsmEngineManager.5] ERROR - - GSM: Send message failed
2012-08-06 21:21:27,906 [gsmEngineManager.5] WARN - - Recoverable transport failed for device engine GSM. Exception com.invoqsystems.apex.component.device.engine.exceptions.TransportRecoverableException: <message>GSM: Send message failed</message>
2012-08-06 21:21:27,906 [gsmEngineManager.5] DEBUG - - Send notification event. Notification ID: 3169107 Status: CONNECTION_FAILURE
2012-08-06 21:21:27,906 [gsmEngineManager.5] DEBUG - - GSM: Connection closed.
2012-08-06 21:21:27,906 [gsmEngineManager.5] DEBUG - - Close serial port
2012-08-06 21:21:27,921 [gsmEngineManager.5] DEBUG - - Close input stream
2012-08-06 21:21:27,921 [gsmEngineManager.5] DEBUG - - Close output stream
2012-08-06 21:21:31,890 [DeviceEngineWorker-GSM-2] INFO - - Resource is temporarily unavailable.
Is there a way to configure additional error codes from within AP4.0, (like modifying an XML file, or something) to include AT+CMEE=1, which should provide CMS errors?
My research indicates AT+CMGS=<...> should be the phone number. Where is '62' coming from?
Where configured for PDU mode, so I suspect that is the 0011000A8... string.
Any help increasing logging or error reporting would be appreciated; or in troubleshooting the actual cause.
Thanks in advance.
Warm regards,
Jim