Skip to content

Commit 17444c5

Browse files
committed
Update FwUpdateCfu config file for compatibility with CfuVirtualHid
The FwUpdateCfu config file is currently unable to detect & query version for the virtual HID device (CfuVirtualHid) found in this repo. This PR seeks to fix this, so that the config file works out-of-the-box if used together with the PID/VID filtering fix in microsoft#64. Changes to match virtual HID device (CfuVirtualHid) defines: * Change PID to match PRODUCT_ID. * Change USAGEPAGE to match CFU_DEVICE_USAGE_PAGE. * Change USAGECOLLECTION to match CFU_DEVICE_USAGE. * Change VERSION_FEATURE_USAGE to match VERSIONS_FEATURE_USAGE.
1 parent 801cf1d commit 17444c5

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

Tools/ComponentFirmwareUpdateStandAloneToolSample/protocolCfgExample.cfg

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
#order not important
44
#only the first 2 fields will be looked at so values after that are considered comments
55
VID,0x045e,#mandatory (each vendor must maintain their own Vendor defined Utility Page collections)
6-
PID,0x07cd,#optional
7-
USAGEPAGE,0xFF07,#mandatory (each vendor must maintain their own Vendor defined Utility Page collections)
8-
USAGECOLLECTION,0x31,#optional (if you don't specify, the tool will attempt to talk to all devices with matching UsagePage/Vid/Pid on the usages specified below)
9-
VERSION_FEATURE_USAGE,0x62,#mandatory for all procedures
6+
PID,0x0111,#optional
7+
USAGEPAGE,0xFA00,#mandatory (each vendor must maintain their own Vendor defined Utility Page collections)
8+
USAGECOLLECTION,0xF5,#optional (if you don't specify, the tool will attempt to talk to all devices with matching UsagePage/Vid/Pid on the usages specified below)
9+
VERSION_FEATURE_USAGE,0x42,#mandatory for all procedures
1010
CONTENT_OUTPUT_USAGE,0x61,#mandatory for fwUpdate procedure
1111
CONTENT_RESPONSE_INPUT_USAGE,0x66,#mandatory for fwUpdate procedure
1212
OFFER_OUTPUT_USAGE,0x8e,#mandatory for fwUpdate procedure

0 commit comments

Comments
 (0)