Thales' cellular IoT products business is now part of Telit Cinterion, find out more.

You are here

AT commands via Java MIDlet -question | Telit Cinterion IoT Developer Community

September 16, 2016 - 1:51pm, 8513 views

Hello, this program is functional?

"AT commands via Java MIDlet - UART via Java MIDlet to AT interpreter pipe"

https://iot-developer.thalesgroup.com/showcase/commands-java-midlet-uart-java-midlet-interpreter-pipe

this is what I get. After menssage "Ready for the next command..." there is no one reaction when typing commands, wrong commands or even typing "endOfATSessionCharacter".

maybe is necesary to change something to run it  or I'm doing something wrong?

also I got the following, I didnt change the code, just imported the project

ATPipeExample: created
ATPipeExample: startApp called
SerialConnection: Conected to COM0:115200
ATService: started
ATPipeExample: destroyApp called
Ready for the next command...
java.io.IOException: Stream closed
 - com.sun.midp.io.BufferedInputStream.ensureOpen(), bci=11
 - com.sun.midp.io.BufferedInputStream.read(), bci=8
 - com.gemalto.m2m.at.ATService$ServiceThread.run(ATService.java:147)
ATService: stopped
SerialConnection: disconnected
MIDlet:com.gemalto.m2m.ATPipeExample exited