Skip to content

Introduce L2CAP infrastructure. #954

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

Merged
merged 1 commit into from
May 6, 2025
Merged

Introduce L2CAP infrastructure. #954

merged 1 commit into from
May 6, 2025

Conversation

h2zero
Copy link
Owner

@h2zero h2zero commented May 3, 2025

L2CAP is the underlying technology powering GATT.
BLE 5 exposes L2CAP COC (Connection Oriented Channels) allowing a streaming API that leads to much higher throughputs than you can achieve with updating GATT characteristics.

The patch follows the established infrastructure very closely. The main components are:

  • NimBLEL2CAPChannel, encapsulating an L2CAP COC.
  • NimBLEL2CAPServer, encapsulating the L2CAP service.
  • Examples/L2CAP, containing a client and a server application.

Apart from these, only minor adjustments to the existing code was necessary.

@h2zero h2zero force-pushed the l2cap branch 7 times, most recently from dcfe7fd to 6bdf240 Compare May 6, 2025 01:10
L2CAP is the underlying technology powering GATT.
BLE 5 exposes L2CAP COC (Connection Oriented Channels)
allowing a streaming API that leads to much higher throughputs
than you can achieve with updating GATT characteristics.

The patch follows the established infrastructure very closely.
The main components are:

- `NimBLEL2CAPChannel`, encapsulating an L2CAP COC.
- `NimBLEL2CAPServer`, encapsulating the L2CAP service.
- `Examples/L2CAP`, containing a client and a server application.

Apart from these, only minor adjustments to the existing code was
necessary.
@h2zero h2zero merged commit 2634f77 into master May 6, 2025
41 checks passed
@h2zero h2zero deleted the l2cap branch May 6, 2025 01:33
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.

2 participants