Newsletter
June 6, 2016 - 4:36pm, 4966 views
AT^SFSA=?+CME ERROR: UnknownCan anyone please explain what has happened. Someone has to be blamed, but not me!!!
Hello,
This command should be working on EHS8. Can you please paste the ATI1 and AT^SCFG? replies. Especially please verify this parameter: "Userware/Autostart","1"
Regards,
Bartłomiej
ATI1
Cinterion
EHS8
REVISION 03.001
A-REVISION 00.000.14
OK
I have disabled autostart in order not to go into a loop if an defect app would start!
Br
On the other hand I have done this too
AT^SJOTAP=,"http://87.60.128.8/ota/download/Midlet_EHSX.jad","a:",,,"gprs","internet",,,,,,
OK
AT^SJAM=5
OK
AT^SJAM=4
^SJAM: "http://87.60.128.8/ota/download/Midlet_EHSX.jad","Midlet_EHSX","Vendor","1.0",0,111877,0
^SJAM: "a:/JRC-1.56.30.jad","Java Remote Control MIDlet Suite","Cinterion","1.56.30",1,703294,0
OK
Hello,
Autostart should be enabled because without it the factory JRC MIDlet is also not started when module boots. And without JRC some functionality (some of the AT commands - that are implemented in JRC) will not work.
Regards,
Bartłomiej
Thank's, it did help, but Userguide does no mention this problem. So I tryed this:
The AT command AT^SJRA is deprecated. <- From Userguide
AT^SJRA="a:/Midlet_EHSX.jad"
+CME ERROR: invalid index
MIDlet installation, start, stop and de-installation is controlled by the AT command AT^SJAM.
AT^SJAM=4
^SJAM: "http://87.60.128.8/ota/download/Midlet_EHSX.jad","Midlet_EHSX","Vendor","1.0",0,111877,0
^SJAM: "a:/JRC-1.56.30.jad","Java Remote Control MIDlet Suite","Cinterion","1.56.30",1,703294,0
OK
Trying to find the JAD ->
AT^SFSA="ls","a:/"
^SFSA: "m2m/"
^SFSA: "Midlet_EHSX.jad"
^SFSA: 0
OK
But when I do this ->
AT^SJAM=1,"a:/Midlet_EHSX.jad",""
+CME ERROR: not found
Where is it ?
I also tryed to do this ->
AT^SJDL=1,15,"Midlet_EHSX.jad"
CONNECT
JDL TIMEOUT
+CME ERROR: network timeout
It is not easy to getting started...
What to do?
Hello,
AT^SJRA is depricated and it is probably only left for compatibility reasons. You should use AT^SJAM command for installation and running of MIDlets.
If you are using Windows PC it might be the most convenient to use MES windows tool to access the module's file system or MES command line and prepare some script that would load MIDlet to the module. I see from your SFSA output that there's only jad file loaded to the file system and no jar file.
But your MIDlet is installed from the network. To run this MIDlet with AT^SJAM command you should use the same path that is returned by AT^SJAM=4 command. It is actually not the path to the installed MIDlet but the path that the MIDlet was installed from. So in this case you should type AT^SJAM=1,"http://87.60.128.8/ota/download/Midlet_EHSX.jad",""
To install the MIDlet from the module's file system you have to load jar and jad files to the module and then install with AT^SJAM=0,"a:/Midlet_EHSX.jad",""
After the installation you can remove the jar and jad files and the MIDlet will still be installed untill unistalled with AT^SJAM command.
For AT^SJDL problem there is probably also some explanation - maybe you don't start sending the data or do it in a wrong way..
I think that you might want to see these links:
https://iot-developer.thalesgroup.com/tutorial/python-script-load-files-...
https://iot-developer.thalesgroup.com/faq/how-load-files-module
Best regards,
Bartłomiej
What is the syntax for mes copy
I tryed this:
MESCopy mod:http://87.60.128.8/ota/download/Midlet_EHSX.jad com3:
but get incorrect paramer
I also tryed-> MESCopy mod:http://87.60.128.8/ota/download/Midlet_EHSX.jad a:
but it ended up activating my A-drive
Hello,
Here's the example that should be working:
mesport.exe COM25
mescopy.exe "deployed\IMP_NG_EHS5_REMOTE1\SomeMIDlet.jar" mod:A:SomeMIDlet.jar
mescopy.exe "deployed\IMP_NG_EHS5_REMOTE1\SomeMIDlet.jad" mod:A:SomeMIDlet.jad
Regards,
Bartłomiej
This did the job:
From within the Windows command prompt:
cd C:\Program Files\Cinterion\Module Exchange Suite
C:\Program Files\Cinterion\Module Exchange Suite>MESPort com3
COM3 successfully set (This actual my USB -> Serial)
I copyed the MIDLETS to this directory
C:\Program Files\Cinterion\Module Exchange Suite>MESCopy.exe Midlet_EHSX.jad mod:A:Midlet_EHSX.jad
Midlet_EHSX.jad
1 files copied
C:\Program Files\Cinterion\Module Exchange Suite>MESCopy.exe Midlet_EHSX.jar mod:A:Midlet_EHSX.jar
Midlet_EHSX.jar
1 files copied
AT^SFSA="ls","a:/"
^SFSA: "m2m/"
^SFSA: "Midlet_EHSX.jar"
^SFSA: "Midlet_EHSX.jad"
^SFSA: 0
OK
Great!