ehs5 Internet Connection | Thales IoT Developer Community
November 10, 2016 - 2:46pm, 3728 views
Hello,
I'm trying to establish an internet Connection with ehs5-e modul following the steps on page 200 of the AT Command Set documentation. Unforunately, most of the commands of the chapter result in CME Error 100 which means Unknown (e.g. AT^SICS?). The same holds for the example on page 200.
What do i have to do such that the AT^SICO or AT^SICI command do not fail. How do initialize the modem correctly?
the document is EHS5-E_ATC_V02.000 and i meant the example on 206.
Hi,
Please have alook at this good tutorial on these support pages:
https://iot-developer.thalesgroup.com/tutorial/concept-board-internet-se...
By the way, is your EHS5 modem finished initialisation before giving those internet AT commands?
Wait for ^SYSSTART that informs also that the internal Java application has started. That application
provides commands like AT^SICS and the other internet commands.
Please check that ^SCFG: "Userware/Autostart","1" is not"0", otherwise the Java application won't start.
It is also useful to save all the internet configurations you write by AT^SIPS=all,save and get them back
by AT^SIPS=all,load.
Best Regards,
Antero
Antero Markkula
Communication and Mechatronics
Enkom Active Oy – www.enkom-active.fi
Upseerinkatu 3 A, 02600 Espoo, Finland
Mobile: +358 400 411368
Office: +358 10 204 0000
Fax: +358 10 204 0010
E-mail: antero.markkula@enkom-active.fi
Hi Antero,
thanks, for your immediate reply the autostart was not set. I also set the delay to 10 seconds. But now I recive a sysinfo 201. According to another thread this means:
The JRC midlet was started, but did not succeed to full init itself within a (JRC
midlet defined) timeout. 5 seconds after this URC, the module will restart.
When Using a delay of 60 seconds i recive a sysinfo 200 and thereafter a sysinfo 201
Sysinfo
URC will be send 40 seconds after syste-up when the JRC midlet was not tried
to start (no autostart, no midlet at all, whatever). Used to see in logs, that midlet
is not running, as example
What's the best way to proceed?
Best Regards, Michael
Now i tried another module without firmware update and the commands work. But how do I make the other module work?
Based on the tutorials i tried the following: (But in the end i get an error Operation not allowed,1)
AT+CMEE=1
OK
AT^SCFG?
^SCFG: "Call/ECC","0"
^SCFG: "Call/ECC","0"
^SCFG: "GPRS/AutoAttach","enabled"
^SCFG: "Gpio/****/ASC1","std"
^SCFG: "Gpio/****/DAI","gpio"
^SCFG: "Gpio/****/DCD0","std"
^SCFG: "Gpio/****/DSR0","std"
^SCFG: "Gpio/****/DTR0","std"
^SCFG: "Gpio/****/FSR","gpio"
^SCFG: "Gpio/****/PULSE","gpio"
^SCFG: "Gpio/****/PWM","gpio"
^SCFG: "Gpio/****/RING0","std"
^SCFG: "Gpio/****/SPI","rsv"
^SCFG: "Gpio/****/SYNC","gpio"
^SCFG: "Ident/Manufacturer","Cinterion"
^SCFG: "Ident/Product","EHS5-E"
^SCFG: "MEShutdown/Fso","0"
^SCFG: "MEopMode/SoR","off"
^SCFG: "Radio/Band","147"
^SCFG: "Radio/OutputPowerReduction","4"
^SCFG: "Serial/Interface/Allocation","0","0"
^SCFG: "Serial/USB/DDD","0","0","0409","1E2D","0058","Cinterion Wireless Modules
","EHx",""
^SCFG: "Tcp/IRT","3"
^SCFG: "Tcp/MR","10"
^SCFG: "Tcp/OT","6000"
^SCFG: "Tcp/WithURCs","on"
^SCFG: "Trace/Syslog/Otap","0"
^SCFG: "URC/Ringline","local"
^SCFG: "URC/Ringline/ActiveTime","2"
^SCFG: "Userware/Autostart","1"
^SCFG: "Userware/Autostart/Delay","600"
^SCFG: "Userware/DebugInterface","0.0.0.0","0.0.0.0","0"
^SCFG: "Userware/DebugMode","off"
^SCFG: "Userware/Passwd",
^SCFG: "Userware/Stdout","null",,,,"off"
^SCFG: "Userware/Watchdog","0"
AT&V
ACTIVE PROFILE:
ACTIVE PROFILE:
E1 Q0 V1 X0 &C1 &D2 &S0 \Q3
S0:000 S3:013 S4:010 S5:008 S6:000 S7:060 S8:000 S10:002
+CBST: 71,0,1
+CRLP: 61,61,78,6
+CR: 0
+CRC: 0
+CMGF: 0
+CNMI: 1,0,0,0,0
+CMEE: 1
+CSMS: 0,1,1,1
+CREG: 1,1
+CLIP: 0,2
+COPS: 0,0,"Telekom.de",2
+CGSMS: 1
AT+CFUN?
+CFUN: 1,0
+CFUN: 1,0
AT+CPIN?
+CPIN: READY
+CPIN: READY
AT^SJAM=5
^SJAM: "a:/JRC-1.50.11.jad","Java Remote Control MIDlet Suite","Cinterion","1.50
.11",1
^SJAM: "a:/JRC-1.50.11.jad","Java Remote Control MIDlet Suite","Cinterion","1.50
.11",1
AT^SICS=0,"conType","GPRS0"
OK
AT^SICS=0,"apn","internet"
OK
AT^SICI?
^SICI: 0,2,1,"10.21.56.33"
^SICI: 0,2,1,"10.21.56.33"
AT^SISI?
^SISI: 1,4,0,0,0,0
^SISI: 1,4,0,0,0,0
AT^SISO?
^SISO: 0,""
^SISO: 0,""
^SISO: 1,"Http",4,1,0,0,"10.21.56.33:0","example.com:80"
^SISO: 2,""
^SISO: 3,""
^SISO: 4,""
^SISO: 5,""
^SISO: 6,""
^SISO: 7,""
^SISO: 8,""
^SISO: 9,""
AT^SISC=1
OK
AT^SISS=1,"srvType","Http"
OK
AT^SISS=1,"conId",0
OK
AT^SISS=1,"address","http://example.com:80/index.html?par1=val1&par2=val2"
OK
AT^SISS=1,"cmd","get"
OK
AT^SISO=1
OK
AT^SISR=1,1500
+CME ERROR: 3
What am I doing wrong?
Actually i added a waiting operation, and now it downloads the website.
Hello,
regarding your problems wit SYSINFO - please do not set autostart delay (set 0) - only in such configuration JRC Midlet start immediately and module will be working fine.
regarding problems with Internet Service - you already notice that you write data too early - you have to wait until service will be ready.
Best regards
Lukasz