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

You are here

Auto-Start MIDlet Issue | Thales IoT Developer Community

July 14, 2015 - 7:39pm, 5861 views

I am having issues getting a MIDlet to auto start on the EHS6T.

The MIDlet is compiled in Netbeans with the following custom attributes set in Netbeans, and the MIDlet re-compiled:

Oracle-MIDlet- AutoStart  value=2                    ... only other MIDlet is the Java Remote

Oracle-MIDlet-Restart      value= true

Oracle-MIDlet-Restart-Count  value = 1.

Used Windows Explorer to copy the new files to Disk A on the EHS6T.

 at^sjam=4            ... check MIDlets listed

^SJAM: "http://192.168.244.2:51052/Project.jad","Project","Vendor","1.0",0,93361,0

^SJAM: "a:/JRC-1.50.9.jad","Java Remote Control MIDlet Suite","Cinterion","1.50.9",1,669007,0

OK

Install MIDlet:

at^sjam=0,"a:/Project.jad",""

OK

at^sjam=4

^SJAM: "a:/Project.jad","Project","Vendor","1.0",0,97506,0

^SJAM: "a:/JRC-1.50.9.jad","Java Remote Control MIDlet Suite","Cinterion","1.50.9",1,669007,0

OK

However the above appears to indicate that auto-start is set still '0' - what else do I need to set ??

 at^sjam=5                                .. Check which MIDlets set to autostart.

^SJAM: "a:/JRC-1.50.9.jad","Java Remote Control MIDlet Suite","Cinterion","1.50.9",1

OK

 

 Running the MIDlet:

at^sjam=1,"a:/Project.jad",""

OK

... other MIDlet response  - indicates the MIDlet can be started by the user and respond as expected.

 

Power EHS6T down / up

 The MIDlet doesn’t autostart and  at^sjam=5, still only shows  the Java Remote Control MIDlet autostarting.

 

at^scfg?                   ... Indicates autostart is enabled.

^SCFG: "Call/ECC","0"

^SCFG: "GPRS/AutoAttach","enabled"

^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/****/HSIC","rsv"

^SCFG: "Gpio/****/PULSE","gpio"

^SCFG: "Gpio/****/PWM","gpio"

^SCFG: "Gpio/****/RING0","std"

^SCFG: "Gpio/****/SPI","rsv"

^SCFG: "Gpio/****/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","asc1",,,,"off"

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

 OK