Skip to content
Discussion options

You must be logged in to vote

Thank you @Lul , increasing L2CAP MTU to 400 indeed removed the InsufficientSpace error. But for some reason I could not receive the notifications on the PC side. Guess I should try to stream on L2CAP following the examples.

Could be there some other bottlenecks, might be worth checking with wireshark.

Am I correct to think that GATT is suitable for low-paced relatively small sized data and L2CAP is better for streaming large amount of data?

It's not a huge difference performance wise, some less hops/no intermediary storage on the device. But the API for l2cap is more UDP-like with send() recv() data on a channel.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@aidengk-iris
Comment options

@lulf
Comment options

lulf Apr 2, 2025
Maintainer

Answer selected by aidengk-iris
@aidengk-iris
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants