home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   alt.comp.os.windows-xp      Actually wasn't too bad for a M$-OS      17,273 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 16,611 of 17,273   
   R.Wieser to All   
   Re: How to get all possible baudrates fo   
   06 Oct 23 15:05:32   
   
   From: address@is.invalid   
      
   JJ,   
      
   >> How do I (programmatically) retrieve all the baudrates for a serial port   
   >> (native, USB or otherwise) ?   
   >   
   > Not possible, since the serial port controller doesn't store such   
   > information in the first place. See RBIL's port list.   
      
   :-) This time my question is Windows related, not DOS.   
      
   But if thats so, where does "GetCommProperties" get its permissable   
   baudrates data from ?  Mind you, that "dwSettableBaud" bitmask returns   
   different results for both ports (AFAIKS correctly so for the CP2102).   
   Where does that bitmask come from ?. Besides, if it can't why does it exist   
   to begin with ?   
      
   Also, the CP2102 isn't a UART, but a microcontroller acting as a bridge   
   between an USB port and a few serial lines.  It also needs to have some   
   device driver software installed to be able to use it.   IOW, /both/ could   
   contain the list I'm looking for.   
      
   Don't get me wrong: I can imagine that there might be reasons why they never   
   put such a shortlist in either the microcontroller or the device driver.   
   But if the list exists I want to know how to get at it, or get an   
   explanation to why its (still) not implemented (its existence sounds like a   
   no-brainer to me...).  I mean, its not 1987 anymore (the date of the 16550   
   UART). :-)   
      
   Regards,   
   Rudy Wieser   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca