Internet Service Commands don't work (EHS6T LAN) | Thales IoT Developer Community
September 13, 2016 - 10:47am, 7089 views
Hello,
I have a problem with the configuration EHS6T LAN module. When i enter the AT^SICS=?, i get a response +CME ERROR: Unknown.
Hier is configuration:
at^scfg?
^SCFG: "Call/ECC","0"
^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/****/HSIC","rsv"
^SCFG: "Gpio/****/PULSE","gpio"
^SCFG: "Gpio/****/PWM","gpio"
^SCFG: "Gpio/****/RING0","std"
^SCFG: "Gpio/****/SPI","rsv"
^SCFG: "Gpio/****/SYNC","std"
^SCFG: "GPRS/AutoAttach","enabled"
^SCFG: "Ident/Manufacturer","Cinterion"
^SCFG: "Ident/Product","EHS6"
^SCFG: "MEopMode/SoR","off"
^SCFG: "MEShutdown/Fso","0"
^SCFG: "Radio/Band","511"
^SCFG: "Radio/OutputPowerReduction","4"
^SCFG: "Serial/Interface/Allocation","1","1"
^SCFG: "Serial/USB/DDD","0","0","0409","1E2D","0058","Cinterion Wireless Modules","EHx",""
^SCFG: "Tcp/IRT","3"
^SCFG: "Tcp/MR","10"
^SCFG: "Tcp/OT","600"
^SCFG: "Tcp/WithURCs","on"
^SCFG: "Trace/Syslog/Otap","0"
^SCFG: "Userware/Autostart","0"
^SCFG: "Userware/Autostart/Delay","0"
^SCFG: "Userware/DebugInterface","0.0.0.0","0.0.0.0","0"
^SCFG: "Userware/DebugMode","on"
^SCFG: "Userware/Passwd",
^SCFG: "Userware/Stdout","asc1",,,,"off"
^SCFG: "Userware/Watchdog","0"
ati
Cinterion
EHS6
REVISION 02.000
Regards
Miloš
Hello,
I have found this line in the SCFG output:
^SCFG: "Userware/Autostart","0"
It means that the global autostart is disabled. In such case the factory JRC MIDlet will also not start automatically. And this MIDlet implements a part of module's functionality - many AT commands are implemented in JRC. So please set "1" and reboot the module.
Regards,
Bartłomiej
Hello!
I know that the i have ^SCFG: "Userware/Autostart","0", but if i turn autostart on, module becomes unresponsive, it works only at command.
In the case when the ^SCFG: "Userware/Autostart","0"
and after the start i write:
AT^SJAM=1,"a:/JRC-1.56.40.jad",""
OK
I get the answer
^SYSLOADING
+PBREADY
^SYSINFO: 200
and the yellow light is on!
Regards
Hello,
Please check ATI1 reply for the complete firmware version. Have you updated the firmware or JRC on the module? It seems that JRC version does not match the firmware version. This JRC seems to new for the release 2 firmware.
Usually in case of FW and JRC mismatch there is ^SYSINFO: 201 which means the JRC was started, but did not succeed to full initialize.
^SYSINFO: 200 is send 40 seconds after system-up when the JRC MIDlet was not tried to start (no autostart, no MIDlet etc.).
Regards,
Bartłomiej
Hello,
ATI1 command returns me:
ati1
Cinterion
EHS6
REVISION 02.000
A-REVISION 00.000.03
OK
So far I have not upgraded the firmware or the JRC! Do you think that might help if I upgrade module?
Do you have some description and file, how to update a module’s firmware and JRC?
Regards,
Miloš
Hello,
It is quite an old firmware version. For that version there should be jrc-1.50.9.
So it seems that someone must have modified the JRC. Please check again what is installed with AT^SJAM=4.
Only the matching JRC should be used with each firmware version otherwise there can be different problems.
I can send you the latest official firmware and JRC.
Regards,
Bartłomiej
Hello,
at^sjam=4 returns me that:
^SJAM: "a:/JRC-1.56.40.jad","Java Remote Control MIDlet Suite","Cinterion","1.56.40",1,753963,0
OK
Regards
Miloš
Hello,
could you send me the firmware and the JRC in the e-mail: milos.mlinsek@miel-i.si.
Regards,
Miloš
Hello,
I have sent you the JRC for the firmware version that you have. Please try.
Regards,
Bartłomiej
Hello,
thanks for your help. When I upgraded module, the controls for Internet communication becam active.
Now, I trying to connect to a PLC via TCP, which is connected to EHS6T via Ethernet.
Ping from the PC to EHS6T works, but I am interested in how to set EHS6T so that I can connect to a PLC which is connected to the modem.
PC IP: 192.168.80.207
IP PLC: 192.168.80.223
EHS6T IP: 10.245.45.4
Somehow I should configure port forwarding for the IP. Do you have any possible solutions?
Regards
Miloš
Hello,
EHS6T LAN is designed to be a gateway to the internet for LAN devices. There is a processor running OpenWrt Linux which is responsible for the LAN networking and it is using EHS6 module connected via USB as a modem.
I'm not sure from which device you would like to connect to PLC.
If you would like to connect from some application on the module directly to the device on LAN - I don't think that it would be possible just like that - you would probably need to write some additional software.
Regards,
Bartłomiej
Pages