Install incorrect parameters ERROR | Telit Cinterion IoT Developer Community
September 1, 2021 - 11:58am, 3039 views
Good Morning,
I'm trying to install a software on the ELS6 module. The software was originally developed for TC65i.
I've installed all the new SDK and libraries, and I always receive an "Incorrect parameters" error when trying to install the updated soft with
at^sjam=0,"a:/MySoft.jad",""
I have all the necessary params in the JAD file, they match the manifest.
I have checked all the AT command inside the program to be sure that the new specs matches.
Any ideas ?
Module config is :
at^scfg?
^SCFG: "Audio/Loop","0"
^SCFG: "Call/ECC","0"
^SCFG: "Call/Speech/Codec","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/MCLK","gpio"
^SCFG: "Gpio/mode/PULSE","gpio"
^SCFG: "Gpio/mode/PWM","gpio"
^SCFG: "Gpio/mode/RING0","gpio"
^SCFG: "Gpio/mode/SPI","rsv"
^SCFG: "Gpio/mode/SYNC","std"
^SCFG: "Gpio/port/MCLK","GPIO4"
^SCFG: "Ident/Manufacturer","Cinterion"
^SCFG: "Ident/Product","ELS61-E R2"
^SCFG: "MEShutdown/Fso","0"
^SCFG: "MEShutdown/sVsup/threshold","0","0"
^SCFG: "MEopMode/CFUN","0","1"
^SCFG: "MEopMode/Comp1",""
^SCFG: "MEopMode/CregRoam","0"
^SCFG: "MEopMode/ExpectDTR","current"
^SCFG: "MEopMode/ExpectDTR","powerup"
^SCFG: "MEopMode/SoR","off"
^SCFG: "MeOpMode/SRPOM","0"
^SCFG: "Radio/Band/2G","0x00000014"
^SCFG: "Radio/Band/3G","0x00000081"
^SCFG: "Radio/Band/4G","0x08080085"
^SCFG: "Radio/Mtpl/2G","0"
^SCFG: "Radio/Mtpl/3G","0"
^SCFG: "Radio/Mtpl/4G","0"
^SCFG: "Radio/OutputPowerReduction","4"
^SCFG: "RemoteWakeUp/Event/USB","none"
^SCFG: "RemoteWakeUp/Ports","current"
^SCFG: "RemoteWakeUp/Ports","powerup"
^SCFG: "Serial/Ifc","0"
^SCFG: "Serial/Interface/Allocation","1","1"
^SCFG: "Serial/USB/DDD","0","0","0409","1E2D","005B","Cinterion Wireless Modules
","ELSx",""
^SCFG: "Tcp/IRT","3"
^SCFG: "Tcp/MR","10"
^SCFG: "Tcp/OT","10"
^SCFG: "Tcp/TLS/Version","MIN","***"
^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","off"
^SCFG: "Userware/Passwd",
^SCFG: "Userware/Stdout","null",,,,"off"
^SCFG: "Userware/Watchdog","1"
Hello,
The command looks correct.
Are you sure that your jad includes at least these parameters:
MIDlet-Name: MyTest
MIDlet-Version: 1.0.1
MIDlet-Vendor: Test Inc.
MIDlet-1: MyTest, example.mytest.MyTest1
MIDlet-Jar-URL: http://192.168.1.3/datafiles/MyTest.jar
MIDlet-Jar-Size: 1408
MicroEdition-Profile: IMP-NG
MicroEdition-Configuration: CLDC-1.1
and the manifest at least these:
Manifest-Version: 1.0
MIDlet-Name: MyTest
MIDlet-Version: 1.0.1
MIDlet-Vendor: Test Inc.
MIDlet-1: MyTest, example.mytest.MyTest1
MicroEdition-Profile: IMP-NG
MicroEdition-Configuration: CLDC-1.1
BR,
Bartłomiej
Hello Bartlomiej,
Yes. I've double checked. There is something strange in the manifest, it generates a "\n" and add a space char in the middle of some lines (MIDlet-1,otap-notif-url...) . But I've checked with the old version (TC65i) and it was already that way and worked fine.
Could it be related ?
Thanks for the help !
Hello Bartlomiej,
Yes. I've double checked. There is something strange in the manifest, it generates a "\n" and add a space char in the middle of some lines (MIDlet-1,otap-notif-url...) . But I've checked with the old version (TC65i) and it was already that way and worked fine.
Could it be related ?
Thanks for the help !
Seems strange. Could you paste both the jad and manifest contents? Please also open the Application Descriptor from the project tree (are you using Eclipse?), click Application Descriptor tab and check if it's the same there? What OS do you use? Maybe it's some kind of encoding issue.
Manifest
Jad:
for
MIDlet-1: VendingMachineData,com.devthlon.vendingmachine.VendingMachineData,
I've tried that way, and this way
MIDlet-1: VendingMachineData,,com.devthlon.vendingmachine.VendingMachineData
And same result.
I'm using Windows 10 and encoding of Eclipse was CP1252, tried with UTF-8 and same result.
Thanks!
Interesting. That's really strange. I think that it's probably the source of the problem. I don't think that new lines are allowed for the parameters.
Please check the Application Descriptor, for instance the tab User Defined - how do the parameters look like there. I think that you need to correct this - remove all the new lines from the parameters. And there should be no comma in the end of MIDlet-1:.
The format should be as follows:
attribute1-name: attribute1_value
attribute2-name: attribute2_value
new line in the end
Please do that, build the MIDlet and test.
If for some reason the new lines are added please edit the jad and jar manually and test. If it works you 'only' need to fix the project somehow.
Hi Barlomiej,
I've recreated the whole project. Completely new project. And now I get an error 100.
I've executed AT^SJMSEC=? and it returns 2,0,1,0
Thanks for your help!
So you have a keystore installed on the module which means that only signed MIDlets can be installed. You need this keystore to either generate the command to uninstall it from the module or sign your MIDlet to be able to install and run it.
That's what I've seen in one of your answers to another post. Thank you very much for your help!