This week's book giveaway is in the Web Services forum.
We're giving away four copies of Microservices in Action and have Morgan Bruce & Paulo A. Pereira on-line!
See this thread for details.
Win a copy of Microservices in Action this week in the Web Services forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Devaka Cooray
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Knute Snortum
  • Junilu Lacar
  • paul wheaton
Saloon Keepers:
  • Ganesh Patekar
  • Frits Walraven
  • Tim Moores
  • Ron McLeod
  • Carey Brown
Bartenders:
  • Stephan van Hulst
  • salvin francis
  • Tim Holloway

Receive message from Serial Port with AT Command in Javax.comm  RSS feed

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Goodday,

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?





Regards,
 
Marshal
Posts: 61805
193
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the Ranch

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.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!