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

You are here

AT commands via Java MIDlet -question | Thales IoT Developer Community

cbaezenko

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

Hello, this program is functional?

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

https://developer.gemalto.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