This week's book giveaway is in the Agile forum.
We're giving away four copies of Head First Agile and have Andrew Stellman & Jennifer Greene on-line!
See this thread for details.
Win a copy of Head First Agile this week in the Agile forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Com1 & /dev/ttyS0  RSS feed

 
hennie louw
Ranch Hand
Posts: 56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all, I'm not sure if this is the right place for this but I need to write an app that commicates via at Commands with a cell modem, the modem will be connected to the system via one of the com port, I unfortunatly have no experence in working with com port , Could anybody maby post a url or code of how i can access the com port (/dev/ttyS0) the app needs to be able to run on both windows and linux ... thanks
 
David O'Meara
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
For a start you'll need to use the CommAPI available from Sun (I'll go find a link in a second).
Your first problem is that they are platform-specific, but there are ways around that.
 
David O'Meara
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
the comm api is available from here
Hope this helps...
Dave
 
David O'Meara
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Oh, and from the FAQ, the linux version is here
 
hennie louw
Ranch Hand
Posts: 56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by David O'Meara:
Oh, and from the FAQ, the linux version is here

Hi
Thanks for the links they will help a lot
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!