Skip to content

New GATT Messaging Protocol#808

Draft
MathJud wants to merge 3 commits intomainfrom
feat/new-gatt-messaging-protocol
Draft

New GATT Messaging Protocol#808
MathJud wants to merge 3 commits intomainfrom
feat/new-gatt-messaging-protocol

Conversation

@MathJud
Copy link
Copy Markdown
Member

@MathJud MathJud commented Mar 17, 2026

This new GATT protocol implements the following features:

  • chunking of big messages
  • creating a chunk header
  • reassembling of chunks
  • creating a flow control protocol tracking, reordering, resending chunks
  • split very large messages into smaller message parts before chunking
  • Dynamically adjust chunk size to MTU size

MathJud and others added 3 commits March 16, 2026 18:43
added the following features:

- split messages into chunks of 20 Bytes to fit BLE MTU
- created 2 Bytes chunk header
- created Flow Control messages
  - message ACKs
  - resend missing chunks
- create special tracking of large messages.
- create Sending and Receiving Queues for:
  - Chunks
  - Messages
  - Large messages

removed protocol overhead:

- removed JSON conversion
@MathJud MathJud added this to the Stable BLE Connections milestone Mar 17, 2026
@MathJud MathJud added Bluetooth BLE, Bluetooth Low Energy Communication Project: Scaling Usability Trust Project: Scaling, Usability & Trust labels Mar 17, 2026
@github-actions
Copy link
Copy Markdown

CLA Assistant Lite bot:
Thank you for your submission, we really appreciate it. Like many open-source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution. You can sign the CLA by just posting a Pull Request Comment same as the below format.


I have read the CLA Document and I hereby sign the CLA


1 out of 2 committers have signed the CLA.
@MathJud
@hautran1991
You can retrigger this bot by commenting recheck in this Pull Request

@MathJud MathJud marked this pull request as draft March 17, 2026 12:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Bluetooth BLE, Bluetooth Low Energy Communication Project: Scaling Usability Trust Project: Scaling, Usability & Trust

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants