EHS6T USB no connection to RS232 | Telit Cinterion IoT Developer Community
October 9, 2015 - 10:17am, 11828 views
Hello! I have the Gemalto EHS6T USB and can not write/read to the RS232 connection. My config:
at^scfg?
^SCFG: "Call/ECC","0"
^SCFG: "GPRS/AutoAttach","enabled"
^SCFG: "Gpio/mode/ASC1","std"
^SCFG: "Gpio/mode/DAI","gpio"
^SCFG: "Gpio/mode/DCD0","std"
^SCFG: "Gpio/mode/DSR0","std"
^SCFG: "Gpio/mode/DTR0","std"
^SCFG: "Gpio/mode/FSR","gpio"
^SCFG: "Gpio/mode/HSIC","rsv"
^SCFG: "Gpio/mode/PULSE","gpio"
^SCFG: "Gpio/mode/PWM","gpio"
^SCFG: "Gpio/mode/RING0","std"
^SCFG: "Gpio/mode/SPI","rsv"
^SCFG: "Gpio/mode/SYNC","std"
^SCFG: "Ident/Manufacturer","Cinterion"
^SCFG: "Ident/Product","EHS6"
^SCFG: "MEShutdown/Fso","0"
^SCFG: "MEopMode/SoR","off"
^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","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","0"
^SCFG: "Userware/DebugInterface","0.0.0.0","0.0.0.0","0"
^SCFG: "Userware/DebugMode","on"
^SCFG: "Userware/Passwd",
^SCFG: "Userware/Stdout","asc0",,,,"off"
^SCFG: "Userware/Watchdog","0"
OK
at&v
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: 0,0,1
+CRLP: 61,61,78,6
+CR: 0
+CRC: 0
+CMGF: 0
+CNMI: 1,0,0,0,0
+CMEE: 0
+CSMS: 0,1,1,1
+CREG: 0,1
+CLIP: 0,2
+COPS: 0,0,"Telekom.de",2
+CGSMS: 1
OK
at^spow?
^SPOW: 1,0,0
OK
My java
CommConnection serial = (CommConnection) Connector.open("comm:COM1;baudrate=19200");
DataInputStream serial_in = serial.openDataInputStream();
DataOutputStream serial_out = serial.openDataOutputStream();
serial_out.write(0x52);
I tried it with ASC0/1 Com0/1...
I use in my application for this terminal COM0. (uppercase!) But take in mind that you also have configured COM0 as System.out (^SCFG: "Userware/Stdout","asc0",,,,"off"). If so you cannot open this port in Java.
Hi,
here is my Java code for opening serial connection on COM0(BGS5T):
EDIT: And like Eppie said you can't use ASC0 while you have debugging there.
Regards,
Jure
Hello,
You can use COM0 for ASC0 (D-sub connector) or COM1 for ASC1 (appropriate pins in Weidmueller GPIO interface).
After setting system out to ASC0 this interface is reserved for system out only.
Regards,
Bartłomiej
Hi,
i changed it in COM0 und ASC0, then i installed it with at^sjam und started it. nothing happens on the RS232Connector
Flowcontrol and baudrate settings checked?
do you mean with at^spow?
Have you tried RS232Demo application that can be found under '\Users\Public\Cinterion\EHS5 WTK Examples'?
yes, i have the concept board and now the ehs6t usb terminal. The applications an the concept board work very well, but not on the terminal
Hello,
Have you tried to communicate with the hardware flow control active? Please add "autocts=on;autorts=on" to the connection string and activate the RTS/CTS hardware flow control on the other devcie.
Regards,
Bartłomiej
Hello,
I can't activate RTS/CTS on the other device, because I have only RX/TX/Gnd. My problem is, what is the difference between the Concept Board and the EHS6t USB Terminal. Is there a hardware difference or something else? Did I forgot something in the config (you can see my config in the first comment) Because the application on the Concept Board runs.
Regards,
Derlich
Pages