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

You are here

Java security: AT^SJMSEC gives "wrong command format" and "invalid index" for a file generated by jseccmd | Thales IoT Developer Community

May 18, 2015 - 5:15pm, 2826 views

Hi all,

I am trying to disable MES/OBEX on an EHS6T-USB, following the EHSx Java User Guide, version 5. The relevant command files as decribed in section 11.5 have been generated in advance using jseccmd.jar and are already present on the device.

The ME keystore has been activated, AT^SJMSEC? gives ^SJMSEC: 2,0,1,0. I am able to start my signed jar files. However, when I try to disable MES tools/OBEX with ObexActivationOff.txt via


I get

  ^SJMSEC: 1,"wrong command format"

  +CME ERROR: invalid index

Same with ObexActivationOn.txt. I copied the files back from the EHS6 to my file system and compared them with the files generated by jseccmd. They are identical.

Seems that I am stuck. Any help would be appreciated.

For the record:

 EHS6, REVISION 03.001, A-REVISION 00.000.14

 Windows 8.1, 64bit

Thanks in advance,