How to execute "AT" command using java ?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Atul Goyal
    New Member
    • Aug 2010
    • 12

    How to execute "AT" command using java ?

    Hello Friends,

    I am working on a project. In this project i need to send and receive sms using hyperterminal or GSM mpdem,
    For this i need to execute AT command using java.

    And the second option is that i read sms from hyperterminal.

    Can u please guide me for this.
  • Debasish Mandal

    #2
    Hi,

    If you're interested in a more low-level approach than the SMS library, you may want to check out the Java Communications API (javax.comm), which will allow you to open the serial port and get input and output streams for the port. You can then write your AT commands to the port using its output stream.

    Comment

    Working...