Win a copy of The Journey To Enterprise Agility this week in the Agile and Other Processes forum! And see the welcome thread for 20% off.
  • 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:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
Sheriffs:
  • Paul Clapham
  • Junilu Lacar
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Ganesh Patekar
  • Tim Moores
  • Pete Letkeman
  • Stephan van Hulst
Bartenders:
  • Carey Brown
  • Tim Holloway
  • Joe Ess

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: 59695
187
  • 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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!