Skip to content

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