VID and PID for PSOC5 | Cypress Semiconductor
VID and PID for PSOC5
I am using the PSoC5 Pioneer Kit USB as USBUART and for development purposes, I still used the Cypress VID.
I wanted to be able to get the PSoC5 VID and PID using a command protocol sent from the PC Terminal such that if the pioneer kit received "?UVID" command from the hyperterminal, the pioneer kit will display, "Vendor ID = 04b4" and I wouldn't want to manually code the vendor ID .
reply_str = "Vendor ID = 04b4";
while ( USBUART_CDCIsReady() == 0u );
Although this code excerpt would work just the same, I am looking for a dynamic way to read out the Vendor ID and Product ID. There was no GetVendorID() or GetProductID() from the list of the USB API.
We will be changing the VID and the PID on the final release for the production in the future which explains basically why I am after the dynamic acquisition of both the VID and the PID. It would be great if someone could help me out.