Thales' cellular IoT products business is now part of Telit Cinterion, find out more.

You are here

BGS5T Problem opening port COM0 at 1200 bps | Telit Cinterion IoT Developer Community

December 3, 2014 - 11:02am, 12522 views

Hi there, 

We have a java Midlet working on TC65T. It was developed a few years ago and it is working right now. But now we want to make it work in BGS5T devices. So, we've made all the changes in code as when import classes (siemens/cinterion), etc. It seems to work quite well after all the minor changes but there's one problem when opening the comm port COM0 with the next configuration: 


We receive an " Opening port COM0 was failed" error.

It happens only when opening the port at this 1200bps baud rate. If we open the port at another baud rate (e.g.9600 bps) then it works fine, we can send to and receive data from an external device with no problem.

After reading some documentation I've found something on the Chapter 8. Appendix A: (Hardware) Watchdog, and  8.3 Configuration vía ASCO Interface of the Cinterion document Terminals Hardware Interface Description of BGS5T & EHSxT. It seems that this baud rate of 1200bps is reserved for watchdog configuration and could not be used for a serial communication via ASC0 interface with an external device.

We are using the cinterion Watcdog2 to switch off the module if the timer expires. Also the GPIO classes (InPort, InPortListener, OutPort) and this is the BGS5T configuration: 

^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/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","BGS5"

^SCFG: "MEShutdown/Fso","0"

^SCFG: "MEopMode/SoR","on"

^SCFG: "Radio/Band","15"

^SCFG: "Radio/OutputPowerReduction","4"

^SCFG: "Serial/Interface/Allocation","1","1"

^SCFG: "Serial/USB/DDD","0","0","0409","1E2D","0059","Cinterion Wireless Modules","Cinterion BGx USB Com Port",""

^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","50"

^SCFG: "Userware/Passwd",

^SCFG: "Userware/Stdout","null",,,,"off"

^SCFG: "Userware/Watchdog","1"


The midlet need to communicate with different external devices via RS232. Some of them works at 1200bps and could not be configured to work at a different baudrate. They work only at 1200bps. We have no problem with external devices that works at 9600bps. 

The question is: 

¿Is there any way to communicate with an external device working at 1200bps? We still want to use watchdog and GPIO module functionalities.

Any help would be appreciated. 

Thanks in advance.