-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Missing CDC_SEND_BREAK handling #15450
Comments
@yp05327 thank you for raising this issue.Please take a look at the following comments: What target(s) are you using? NOTE: If there are fields which are not applicable then please just add 'n/a' or 'None'. This indicates to us that at least all the fields have been considered. |
Updated the issue header with the missing information as much as possible. |
Description of defect
My PC side application needs to send a break signal to the board, but mbed-os will not handle it, and return failure.
I did some changes to the source for just making it return success, but I think it will be wonderful if this can be supported officially.
Related codes:
mbed-os/drivers/usb/source/USBCDC.cpp
Lines 29 to 31 in f0d9090
↑ add the following codes.
mbed-os/drivers/usb/source/USBCDC.cpp
Lines 218 to 243 in f0d9090
↑ add a new case in this
switch
Target(s) affected by this defect ?
I think all targets affected by this defect.
I'm using Arduino Giga r1 wifi
Toolchain(s) (name and version) displaying this defect ?
I'm using ArduinoCore-mbed v4.0.6
What version of Mbed-os are you using (tag or sha) ?
ArduinoCore-mbed v4.0.6 is based on mbed-os-6.17.0 I think
What version(s) of tools are you using. List all that apply (E.g. mbed-cli)
arduino ide
How is this defect reproduced ?
You should prepare an PC application.
The application will connect to the board by CDC, and at last send
CDC_SEND_BREAK
request, and the board will response failed because it is not defined.The text was updated successfully, but these errors were encountered: