Gemalto is now part of the Thales Group, find out more.

You are here

MIDlet hangs | Thales IoT Developer Community

September 21, 2018 - 12:13pm, 1391 views

Hello,

I had made OTAP update on some Java MIDlet. And now the MIDlet hangs on start when it's issueing AT commands. Module restarts after few minutes by HW watchodg. But same thing happens on next start of MIDlet.

SYSTEM.OUT STARTED
Thu Jan 01 00:00:51 GMT+00:00 2004 DEBUG: debug start
AT response AT+cmgf = 1

OK

AT response AT+CNMI=2,1

OK

AT response AT+CMEE=2

OK

Affter that it hangs...

Next command to issue would be ATCommand.send("AT+CMGD=1,4"); 

It helped once that I unpluged module power supply and after few secconds I pluged it back.But it doesn't help most of the *****. What could be the reason that module hangs like this?

Autostart of MIDlets is set to 45 secconds.

AT^SCFG output:

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/****/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","BGS5"
^SCFG: "MEopMode/SoR","on"
^SCFG: "MEShutdown/Fso","0"
^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: "Userware/Autostart","1"
^SCFG: "Userware/Autostart/Delay","450"
^SCFG: "Userware/Passwd",
^SCFG: "Userware/Stdout","asc1",,,,"off"
^SCFG: "Userware/Watchdog","1"
^SCFG: "Radio/Band","15"

OK

This is really troublesome, because we have in total more then 500 BGS5T modules outside. And we regulary make OTAP updates, so it's really important that we find the reason why MIDlet hangs.