AT commands via Java MIDlet -question | Telit Cinterion IoT Developer Community
September 16, 2016 - 1:51pm, 7672 views
Hello, this program is functional?
"AT commands via Java MIDlet - UART via Java MIDlet to AT 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: startApp called
SerialConnection: Conected to COM0:115200
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
If you can see in your Windows Device Manager "USB Com Port3 (COM15)" it means that module's USB port number 3 which is referred on the module as USB3 has been connected to your PC's COM15. So if you want to use that module's port in your MIDlet you need to open USB3 in the MIDlet and open COM15 in PC. You should also not use usb3 as "Userware/Stdout" - choose usb4 fro example.
Thank you ! is working.