TC65iX: Are AT commands from JAVA still possible after the device receives an OTAP SMS ? | Telit Cinterion IoT Developer Community
November 18, 2014 - 2:15pm, 2423 views
The java program can know when an OTAP SMS is received by using the "+cmt" urc.
After this urc, the java program has a little time to do something.
Printing strings on the ASC0 is working.
We would like to give some AT commands (to change the state of a GPIO pin). Do you think it is possible ? We did not succeed. Even the simple "AT" command is not working. Do you know a way to do this?
Thank you very much for your help.
When OTAP request comes the Java application is immediately stopped. You can try to execute some code in destroyApp() method of your MIDlet class. But there's 10 seconds timeout for stopping the application. If this does not succeed maybe developing your own OTAP SMS would be worth consideration.