All Forums
 Hardware
 Ethernet, IR, Serial, CAN and high speed data
 [GM] serial port multiple access
 Forum Locked
 Send Topic to a Friend
 Printer Friendly
Author Topic  

Joelw

30 Posts

Posted - 10 Apr 2002 :  19:59:16  Show Profile  Email Poster
Which serial devices support multiple access??

Thanks,
Joel Winarske

akidder

1519 Posts

Posted - 12 Apr 2002 :  10:45:16  Show Profile  Email Poster
Hi Joel. Windows device drivers don't support multiple access. Only one thread at a time can have a device driver open.

If you need to send data out a serial port from multiple threads, you'll either have to set up an inter-process communication mechanism or just close the port after each use.
Go to Top of Page

Joelw

30 Posts

Posted - 12 Apr 2002 :  13:36:50  Show Profile  Email Poster
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wceddk/html/stream_12.asp

"Note that the Windows CE implementation of the Telephony API (TAPI) requires that serial port devices support multiple access. OEMs who are using any of Microsoft’s serial port MDD implementations gain this functionality automatically. OEMs who write their own serial port MDD layers, or who opt to implement monolithic serial port drivers, must implement multiple access for themselves in order to support TAPI."

Joel
Go to Top of Page

jbaik

22 Posts

Posted - 12 Apr 2002 :  14:16:57  Show Profile  Email Poster
Our Serial Driver is monolithic serial drivers.
You can't open again once it opened.
Are you just wondering our Serial Driver support multiple accesss ?
Do you need to acess Serial port from several apps ?
I think you have a reason for that.
Thanks



Go to Top of Page
  Topic  
 Forum Locked
 Send Topic to a Friend
 Printer Friendly
Jump To:
Eurotech Support Forums © Eurotech Inc. Go To Top Of Page
This page was generated in 0.03 seconds. Snitz Forums 2000