summaryrefslogtreecommitdiff
path: root/examples/device/cdc_msc/src/usb_descriptors.c
AgeCommit message (Collapse)Author
2021-10-15msc examples: Extend serial number to 12 digitsJerzy Kasenberg
USB3CV tool complains about too short serial number being used in MSC device. This just extends serial number to 12 characters, it makes it easier to analyze USB3CV logs where this unnecessary warning made output red. Offending warning: Serial Number string for MSC device : iSerialNumber = 0x3 Checking iSerialNumber String Descriptor: index = 0x03. String Descriptor : "123456". (ENGLISH_US) Using Language ID 0x409 MSC Serial Number length = 14 Invalid MSC Serial Number length : should be >= 26 ************************* Invalid MSC Serial Number length ************************* ************************* (MSC: 5.1.2) Serial number must be a string, 12 characters or longer (if the device supports a BOT interface, bInterfaceProtocol = 0x50), or exactly 12 characters long (if the device supports a CBI interface, bInterfaceProtocol = 0x00 or 0x01, and has a serial number).
2021-09-09add other speed descriptor callback ↵hathach
tud_descriptor_other_speed_configuration_cb() example implement tud_descriptor_device_qualifier_cb() and tud_descriptor_other_speed_configuration_cb() on high speed device to fully compliant to usbcv
2021-08-26TD 9.12 remote wakeup testhathach
remove TUSB_DESC_CONFIG_ATT_REMOTE_WAKEUP attribute from non-hid examples
2021-06-12Rename SAM7X to SAMX7XMasterPhi
Signed-off-by: MasterPhi <[email protected]>
2021-06-12dcd: sam7x: rename family dcd to include the whole familyRafael Silva
Signed-off-by: Rafael Silva <[email protected]>
2021-06-11Add fifo & DMA linked list mode support.MasterPhi
2021-01-25Define Spresense EP numbers for cdc_msc exampleKamil Tomaszewski
2020-07-21add note for MS OS 1.0 Descriptor at 0xEEhathach
2020-07-19minor clean uphathach
2020-07-16add tud_speed_get()hathach
- define both fs and hs configuration descriptor - rename CFG_TUD_CDC_EPSIZE to CFG_TUD_CDC_EP_BUFSIZE with default size of 64 for FS, and 512 for HS
2020-06-30cdc-acm: Use 512 bytes when in HS mode.Uwe Bonnes
Removes error: config 1 interface 2 altsetting 0 bulk endpoint 0x3 has invalid maxpacket 64 while enumerationg.
2020-06-01allow hs ep open with 512 byteshathach
2020-03-31revise argument order for TUD_CONFIG_DESCRIPTOR macroPeter Lawrence
2020-03-30add provision for multiple configurationsPeter Lawrence
2020-03-07Merge pull request #291 from hathach/port-samg55Ha Thach
Port samg55
2020-02-26Add langid to example cdc_msc.Chang Feng
Signed-off-by: Chang Feng <[email protected]>
2020-02-07correct waklaround with only status INhathach
correct usb descriptor msc dual example to work with samg
2019-12-09update descriptor, enhance ep in transferhathach
2019-09-27Fix typo of CFG_TUD_ENDOINT0_SIZE.Nathan Conrad
2019-09-11rename cdc_msc_hid to cdc_msc, hid has its own example hid_composite nowhathach