Real Software Forums

The forum for Real Studio and other Real Software products.
[ REAL Software Website | Board Index ]
It is currently Thu Aug 21, 2014 11:03 pm
xojo

All times are UTC - 5 hours




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: USB Serial Ports
PostPosted: Wed May 11, 2011 10:12 am 
Offline

Joined: Fri Jul 14, 2006 1:38 am
Posts: 82
Location: South Africa
So, my app works fine is Mac OS X and recently a user requested a port to Linux. So, I compiled for linux....

My app listens to USB GSM 3G Modems and profiles the diagnostics of the device. Things like the connected tower, signal strength, etc. It does this via the serial port. Works fine in Mac OS X but in Linux, it lists the serial ports "/dev/tty#" but not "/dev/USB1" which is the diagnostics USB port for the device (not always 1 - could be 2 or DIAG or PCUI).

Does the compiled app simply list the tty ports or does it actually interface to list serial ports?


Top
 Profile  
 
 Post subject: Re: USB Serial Ports
PostPosted: Sun Aug 28, 2011 2:29 pm 
Offline
User avatar

Joined: Tue Oct 25, 2005 1:57 pm
Posts: 332
GreGorGy wrote:
So, my app works fine is Mac OS X and recently a user requested a port to Linux. So, I compiled for linux....

My app listens to USB GSM 3G Modems and profiles the diagnostics of the device. Things like the connected tower, signal strength, etc. It does this via the serial port. Works fine in Mac OS X but in Linux, it lists the serial ports "/dev/tty#" but not "/dev/USB1" which is the diagnostics USB port for the device (not always 1 - could be 2 or DIAG or PCUI).

Does the compiled app simply list the tty ports or does it actually interface to list serial ports?


You can get a reference to a port that RB can not list like this:
dim Serial1.SerialPort = System.SerialPort("/dev/USB1")

_________________
http://freeware.the-meiers.org
http://opensource.the-meiers.org


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group