![](/images/new-backgrounds/1119971/11997189x1.webp)
TC65 JAVA User's Guide | s |
Strictly confidential / Released |
|
8.7Time Out Values and Result Codes
Timeouts:
•Closedown Timeout: 10 seconds
•Safety Timeout: 10 minutes
Result Codes: Supported status codes in body of the http POST request:
•900 Success
•901 Insufficient memory in filesystem
•902
•903
•904 JAR size mismatch, given size in JAD file does not match real size of jar file
•905 Attribute mismatch, one of the mandatory attributes
•906 invalid descriptor, something is wrong with the format of the .jad file
•907 invalid JAR, the JAR file was not available under
•908 incompatible configuration or profile
•909 application authentication failure, signature did not match certificate
•910 application authorization failure, tried to replace signed with unsigned version
•911
•912 Delete Notification
All HTTP packets (GET, POST) sent by the module contain the IMEI number in the User- Agent field, e.g.
This eases device identification at the HTTP server.
8.8Tips and Tricks for OTAP
•For security reasons it is recommended that an SMS password be used. Otherwise the “delete” operation can remove entire directories without any authentication.
•For extra security, set up a private CSD/PPP Server and set its phone number as a fixed parameter. This way, applications can only be downloaded from one specific server.
•As a side effect, OTAP can be used to simply reboot the module. Simply start an OTAP procedure with a parameter set which will not really do anything, such as a delete operation on a nonexistent directory.
•If you do not want to start OTAP by SMS let your Java application do it by issuing the
at^sjotap command. This triggers an install/update operation as described in chapter 8.6.1 but without the SMS part.
Note: If a malfunctioning Java application is loaded the SM method will still be needed for another update.
•The OTAP procedure cannot be tested in the debug environment
•Be aware that the module needs to be logged into the network to do OTAP. That means that either the Java application must enter the PIN, the PIN needs to be disabled or Autopin (see AT Command Set [3]) needs be used.
•The OTAP procedure might fail due to call collision, e.g. an incoming call when OTAP tries to start a CSD connection.
TC65 JAVA User's Guide_V05 | Page 45 of 90 | 26.09.2005 |