Install operation: using sms | Thales IoT Developer Community
December 29, 2014 - 2:10pm, 7707 views
It is rather frustrating not to be able to get my T65 up and running.
What I wan't to do is an OTA download.
Taken from the user-guide and mandatory only
First SMS:
OTAP_IMPNG
JADURL:http://87.50.63.187/OTA/Download/Midlets_Siemens_Send_SMS.jad
APPDIR:a:
Second SMD:
OTAP_IMPNG
BEARER:gprs
APNORNUM:internet
START:install
How do I activate the module?
Hello,
There may be many reasons why you are not successful.
It would be easier to help you if provided the log from OTAP tracer.
Please activate OTAP tracer before you start sending messages with the command AT^SCFG=Trace/Syslog/OTAP,1
The interface on which you do that is then exclusively used by OTAP tracer until the module is restarted.
Best regards,
Bartłomiej
The only thing I get when doing this, is
AT^SCFG=Trace/Syslog/OTAP,1
SYSLOG ENABLED
and nothing else, no responce
Sorry.
It means that module does not get any OTAP sms or does not detect them. Most probable reason is that pid or class is wrong (should be class:1 pid:7d or class:0 pid:0). If this settings are OK then it is also possible that operator does not allow this kind of SMS to be sent. It is an often case that operators block 1:7d but allows 0:0.
Could you please describe how do you create PDU SMS and what do you send it?
Have a best NY!
Michał
First I have tryed to do a serial Download, in vain.
Although I do not know wether the software accept underscore "_" in filename, I have renamed the project as You can see.
at^sjotap=,http://87.50.63.187/OTA/Download/MidletsSiemensSendSMS.jad,a:/m2m,,,gprs...
Then this:
at^sjotap;^SCFG=Trace/Syslog/OTAP,1
[OTAP] GPRS connection established.
[OTAP] Try to get http://87.50.63.187/OTA/Download/MidletsSiemensSendSMS.jad ...
[OTAP] Connected.
[OTAP] Transfer finished.
[OTAP] Try to get MidletsSiemensSendSMS.jar ...
[OTAP] Reboot now.
[OTAP] ERROR: HTTP configuration!
Not sure what the problem is.
I have tried to test your server. Is it inactive or have some IP filters? I could test OTAP using your server on my side and check the results if you want.
It is open now...
Now I have come so far:
[OTAP] GPRS connection established.
[OTAP] Try to get http://87.50.63.187/OTA/Download/MidletsSiemensSendSMS.jad ...
[OTAP] Connected.
[OTAP] Transfer finished.
[OTAP] Try to get http://87.50.63.187/OTA/Download/MidletsSiemensSendSMS.jar ...
[OTAP] Connected.
[OTAP] Transfer finished.
[OTAP] JAM status: 900 Success.
[OTAP] Reboot now.
^SYSSTART
But the applicarion does not start automatic.
On the other hand, this is still done in serial ****, not OTA!
Some help?
Hello,
The autostart must be configured for the application.
The AT^SCFG command is used for that.
For TC65 module there are three parameters you configure:
"Userware/Autostart" to activate or disactivate, "Userware/Autostart/AppName" to specify the app name and "Userware/Autostart/Delay" to set the delay.
There is a password needed to configure this but the default is just empty string.
Example: AT^SCFG="Userware/Autostart","",1 to activate autostart.
You will find more details in the AT commands specification document.
If you still have problems with OTAP SMS please also check the AT^SJOTAP command description - there is a parameter <Ignore SMS PID> - if activated you will be able to send SMS with any PID and it will be recognized by OTAP.
BR,
Bartłomiej
OTAP will change the autostart application path automatically but will not activate autostart if it is disactivated.
Regarding the OTAP procedure. Please read:
https://groups.google.com/forum/#!topic/javacint/aFl37bJSsOg
http://www.javacint.com/OTAP
OTAP is very picky regaring http content type, file names etc. Also for sending the right PDU SMS I can recommed: http://florent.clairambault.fr/smsotap-1-2