Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expose DeviceID through USB descriptors in DFU mode, Microsoft WCID support #1001

Merged
merged 56 commits into from
Jun 15, 2016

Conversation

avtolstoy
Copy link
Member

@avtolstoy avtolstoy commented May 15, 2016

Exposes DeviceID and Bootloader Version through USB descriptors while in DFU mode:

    Device Descriptor   
        Descriptor Version Number:   0x0200
        Device Class:   0   (Composite)
        Device Subclass:   0
        Device Protocol:   0
        Device MaxPacketSize:   64
        Device VendorID/ProductID:   0x2B04/0xD00A   (unknown vendor)
        Device Version Number:   0x0008 (Bootloader version)
        Number of Configurations:   1
        Manufacturer String:   1 "Particle"
        Product String:   2 "Electron DFU Mode"
        Serial Number String:   3 "XXXXXXXXXXXXXXXX3132" (Device ID)

Doneness:

  • Contributor has signed CLA
  • Problem and Solution clearly stated
  • Code peer reviewed
  • API tests compiled
  • Run unit/integration/application tests on device
  • Add documentation
  • Add to CHANGELOG.md after merging (add links to docs and issues)

…. Remote wakeup feature disabled. Debug messages removed
…S mode. Switch back to FS core on Electron, add workarounds
- Support for DTR/RTS
- Electron 2x CDC + HID support on Win/Mac/Linux
…Data, commented out DEBUG in usbd_composite.c
@avtolstoy avtolstoy force-pushed the feature/usb-descriptors-dfu branch from 0686040 to db8a6ab Compare June 11, 2016 19:15
@avtolstoy avtolstoy changed the title Expose DeviceID and Bootloader Version through USB descriptors in DFU mode Expose DeviceID through USB descriptors in DFU mode, Microsoft WCID support Jun 11, 2016
Conflicts:
	hal/src/stm32f2xx/usb_hal.c
	platform/MCU/STM32F2xx/SPARK_Firmware_Driver/inc/usbd_composite.h
	platform/MCU/STM32F2xx/SPARK_Firmware_Driver/src/usbd_composite.c
…g requests:

- REQUEST_GET_DEVICE_ID
- REQUEST_GET_SYSTEM_VERSION
- REQUEST_RESET
- REQUEST_ENTER_DFU_MODE
- REQUEST_ENTER_LISTENING_MODE
@avtolstoy avtolstoy force-pushed the feature/usb-descriptors-dfu branch from db8a6ab to 780dd67 Compare June 12, 2016 18:11
@avtolstoy avtolstoy force-pushed the feature/usb-descriptors-dfu branch from 9c1d485 to 7c14217 Compare June 13, 2016 10:57
@avtolstoy avtolstoy force-pushed the feature/usb-descriptors-dfu branch from 7c14217 to 63db95f Compare June 13, 2016 16:04
@technobly technobly merged commit c9d6416 into develop Jun 15, 2016
@technobly technobly deleted the feature/usb-descriptors-dfu branch October 27, 2016 17:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants