Relationship between PAF and COM ports

Question
What is relationship between Pen Access Framework (PAF) and COM port names?

Answer
Here is how PAF works with COM ports: 

  1. PAF enumerates all USB devices
  2. We receive list of strings in the format of "USB\\VID_2101&PID_8501&REV_0605" 
  3. Later, the PAF selects strings that match PID and VID of pens ( "VID_1E61" )
  4. The resulting list will only contain pens
  5. Then for each pen in the list we get COM port name from the registry
  6. We open received ports. We don't change port names. We only configure timeouts and discard port buffers. 

Also we don't do anything with ports that don't correspond to the pen.

Windows registry contains information about all com ports and their name. Information about Windows USB device path can be found here: http://community.silabs.com/t5/Interface-Knowledge-Base/Windows-USB-Device-Path/ta-p/114059

Was this article useful? Thanks for the feedback There was a problem submitting your feedback. Please try again later.