Gemalto is now part of the Thales Group, find out more.

You are here

ELS61-E: error on CMGL command issued from java midlet | Thales IoT Developer Community

April 7, 2021 - 4:52pm, 993 views

Hi there

I have developed a java midlet and installed it on the ELS61-E module. The problem is that when it is issuing the command:

AT+CMGL="REC UNREAD"

it receives the answer:

+CMS ERROR: invalid text **** parameter

The same command, issued from a serial console connected to the module, works perfectly.

This is the initialization sequence I send to the module:

AT command: [AT&F] response = OK
AT command: [ATE0] response = ATE0
OK
AT command: [AT^SLED=2,50] response = OK
AT command: [AT+CMGF=1] response = OK
AT command: [at+cnmi=2,1,0,0,1] response = OK
AT command: [AT+CMEE=2] response = OK
AT command: [AT^SXRAT=0,0] response = OK
AT command: [AT^SCFG="Userware/Watchdog", "1"] response = ^SCFG: "Userware/Watchdog","1"
OK
AT command: [AT&W] response = OK

And this is the answer to the ATI1 command:

Cinterion
ELS61-E R2
REVISION 02.000
A-REVISION 01.000.02

Thank you for your help.

Best regards

Marco