BGS5 New Firmware Baudswitch Problem | Telit Cinterion IoT Developer Community
March 27, 2015 - 12:15pm, 3445 views
Hi Everybody
As you know gemalto published latest firmware(1.50.03) on previous month.
Now i have a big problem with this firmware which i can't handle it.
I can't switching baudrates on java while code are running on new firmware.
Everything is so simple; i don't use any other peripheral or complex anything on the test. Only using RS(232-485) and changing baudrate via java.
Here is my example code that i am using on test procedure;
commConn = (CommConnection)Connector.open("comm:COM0;blocking=on;autocts=off;baudrate=300");
inStream = commConn.openInputStream();
outStream = commConn.openOutputStream();
commConn.setBaudRate(300);
outStream.write("300 baudrate".getBytes());
Thread.sleep(2000);
commConn.setBaudRate(4800);
outStream.write("4800 baudrate".getBytes());
Thread.sleep(2000);
commConn.setBaudRate(9600);
outStream.write("9600 baudrate".getBytes());
Thread.sleep(2000);
By the way same codes works fine older firmware
That baudswitching is essential feature for IEC62056 or similar protocols on Metering Systems
Does anybody has same problem or know how to solve this problem ?
Thanks
Gokce
You could try to reopen the port?
Hello,
Have you updated both the module's firmware and JRC MIDlet?
Please check the ATI1 output.
Best regards,
Bartłomiej
I've found the problem. If you open stdout(usb1, asc1, etc.) you can not switch baudrate of ASC0 on new firmware