Skip to content

Added break request support to Device CDC ACM#248

Merged
fdesbiens merged 2 commits intoeclipse-threadx:devfrom
ayedm1:cdc_acm_device_break_req
Mar 5, 2026
Merged

Added break request support to Device CDC ACM#248
fdesbiens merged 2 commits intoeclipse-threadx:devfrom
ayedm1:cdc_acm_device_break_req

Conversation

@ayedm1
Copy link
Copy Markdown
Contributor

@ayedm1 ayedm1 commented Jan 28, 2026

  • Implements handling of UX_SLAVE_CLASS_CDC_ACM_SEND_BREAK in the CDC ACM control request path.
  • Ensures break state is cleared on class deactivation to avoid carrying state across disconnect/reset cycles.
  • Testing: Build-only / compilation sanity/send break request. (no new automated tests added).

Referance:
Universal Serial Bus Communications Class Subclass Specification for PSTN Devices

image

@ayedm1 ayedm1 changed the title device cdc acm support break request Device CDC ACM: support break request Jan 28, 2026
@ayedm1 ayedm1 added the feature New feature or enhancement request label Jan 28, 2026
@ayedm1 ayedm1 moved this to In review in ThreadX Roadmap Jan 28, 2026
@ayedm1 ayedm1 force-pushed the cdc_acm_device_break_req branch from 342498e to b50aca0 Compare January 28, 2026 22:29
@fdesbiens fdesbiens changed the base branch from master to dev February 5, 2026 21:39
Comment on lines +73 to +74
/* resulting in version 6.1.12 */
/* 01-28-2026 Mohamed AYED Modified comment(s), */
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no need for such a comment, please remove it.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

comments, removed

@ayedm1 ayedm1 force-pushed the cdc_acm_device_break_req branch 2 times, most recently from bbdb12f to a98ff10 Compare February 9, 2026 21:27
- Implements handling of UX_SLAVE_CLASS_CDC_ACM_SEND_BREAK in the CDC ACM control request path.
- Ensures break state is cleared on class deactivation to avoid carrying state across disconnect/reset cycles.
- Minor comment/whitespace cleanups in touched headers/sources.
- Testing: Build-only / compilation sanity/send break request. (no new automated tests added).
@ayedm1 ayedm1 force-pushed the cdc_acm_device_break_req branch from a98ff10 to 6ad1351 Compare February 10, 2026 16:25
@fdesbiens
Copy link
Copy Markdown
Contributor

@rahmanih, is this one ready for merging, or do you want additional changes to be made?

@rahmanih
Copy link
Copy Markdown
Contributor

rahmanih commented Mar 2, 2026

Under validation, I'll update the status by tomorrow.

Copy link
Copy Markdown
Contributor

@rahmanih rahmanih left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

works like a charm 🥇
Approved!

@rahmanih
Copy link
Copy Markdown
Contributor

rahmanih commented Mar 5, 2026

@fdesbiens,
this is ready for merge.

@fdesbiens fdesbiens changed the title Device CDC ACM: support break request Added break request support to Device CDC ACM Mar 5, 2026
@fdesbiens fdesbiens merged commit 35ba543 into eclipse-threadx:dev Mar 5, 2026
1 check passed
@github-project-automation github-project-automation bot moved this from In review to Done in ThreadX Roadmap Mar 5, 2026
@ayedm1 ayedm1 deleted the cdc_acm_device_break_req branch March 5, 2026 17:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature New feature or enhancement request

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

3 participants