I am new to AT Commands and javax.comm api. I have written a code in which I send an AT command to a device in java (using javax.comm), but I am unable to read the reply from the device. For example in my example below, I send the code "AT+CUSD=1, #123# to check the credit in my modem, but I don't get any results. I want to get the value returned and show it on the screen. Any way forward?
I added code tags to your post, and deleted about two empty lines. Always use the tags: doesn't it look better .
Don't know myself. Have you found any tutorials anywhere? I found this and this (maybe a bit old) and this. There were others. Maybe one of those will be of help to you.