BGS5 - JAVA application on v02.000 | Thales IoT Developer Community
April 25, 2018 - 10:33am, 4160 views
I have a big JAVA application for BGS5 v01.100 (JAR file is aprox. 260kb, 6 threads, uses TCP and HTTP) and the application works perfectly on BGS5 v01.100 for last two years. Recently Cinterion is moving BGS5 towards BGS5 v2, so I tested our hardware for BGS5 v1 with BGS5 v2. The test was unsuccessful. HW connection of BGS5 v2 is fine. The GSM module BGS5 v2 is able to register to GSM network and without JAVA application works fine. But when I install and start my big JAVA application threads are blocked in the middle of executing AT commands randomly.
So I’ve created the smallest midlet, which works OK on BGS5 v1 but doesn’t work on BGS5 v2. The goal is following: create midlet and print all unsolicited URC on all 3 ATChannels. Then call from mobile phone to the BGS5 and watch unsolicited URC on all ATChannels.
Observed problems on BGS5 v2:
- ATCommandListener doesn’t call any event method when it should.
- After URC, which was not printed by ATCommandListener, whole module slow down execution of JAVA application.
- After URC, which was not printed by ATCommandListener, the midlet cannot be stopped by AT^SJAM=2,… and freezes in ATChannel.release()
- Also if autostart function of midlet is activated, the midlet become soon not functional because URC ^SYSTART on ATChannels
- Number of ATChannels is not important. I have tested 2 ATChannel and 3 ATChannels.
Have you any idea what is wrong? Why the midlet works on BGS5 v1 and not on BGS5 v2?
Hi,
Could you please share your small MIDlets source code?
Best regards,
Michał
Hi,
I would love to share it, but I do not know how to upload my 3 .java files or .zip file to this forum. Here is at least captured stdout
BGS5 v01 v02 problem.docx.
Jan Vorisek
Hi,
Have you recompile your midlets with the SDK for BGS5 REL 2?
Regards
ALopez
Somewhere over the rainbow!!! Looking for the Oz Land!!!
Hi,
I did not. Distributor, form which my company bought BGS5 v2, was not able to answer whether or not a new SDK exits. I use SDK WTK Version : "REVISION 01.100" from 2015. Where I can get the new SDK? Can you send me the link?
Jan Vorisek
[ SOLVED ]
Hi, the described problem was caused by using old WTK for BGS5 v1. New BGS5 v2 has new SDK! Everything works fine with SDK WTK Version : "REVISION 02.000" from 20.7.2017. MIDLET compiled with new SDK works with both BGS5 v1 and BGS5 v2.
Jan Vorisek