> As i can see from "synaser.pas" unit TBlockSerial class designed to work
> both with Windows and Linux names of serial ports. Currently under Linux
> it translates port number to "/dev/ttySN" device file name, where N is
> port number. I obtained that several Linux-based OSs assign "/dev/ttyACM0"
> device file name for USB cell phone modem. So i forced to edit
> "synaser.pas" unit to make it possible to work with USB cell phone modem.
> Is it possible to include checking of device file name to unit
> "synaser.pas" to prevent editing it in every new version? --

Do not modify synaser.pas until you can understand what it doing!

You can use ANY (!) linux device name long time ago. Device name 
translating code translating COMxx to /dev/ttySxx on Linux, or 
/dev/ttySxx to COMxx on Windows only. Other names are left untouched.

--
Lukas Gebauer.

E-mail: [EMAIL PROTECTED]
WEB: http://www.ararat.cz/synapse - Synapse Delphi and Kylix TCP/IP 
Library



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
synalist-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/synalist-public

Reply via email to