Skip to content

Bluetooth: Mesh: Blob Server considers friendship #93335

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

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

omkar3141
Copy link
Contributor

If friendship is established, then max possible chunk size for transfer is reported according to friend's queue size.

ChunkSize = (FndQ sz * Bytes per seg (12)) - Opcode(1) - Chunk_Num (2)-
8 byte MIC (max)
= (FndQ sz * 12) - 11

This allows all segments of Chunk_Transfer messages to fit in a friend queue. If this is not done, friend queue keeps overflowing systematically causing unstable PULL_MODE transfers.

@omkar3141 omkar3141 requested a review from alxelax July 18, 2025 13:20
@omkar3141 omkar3141 force-pushed the omka/NCSDK-34138_blob_server_understands_lpn branch 2 times, most recently from 4d59f33 to 8129cdd Compare July 18, 2025 14:12
If friendship is established, then max possible chunk size for transfer
is reported according to friend's queue size.

ChunkSize = (FndQ sz * Bytes per seg (12)) - Opcode(1) - Chunk_Num (2)-
            8 byte MIC (max)
	  = (FndQ sz * 12) - 11

This allows all segments of Chunk_Transfer messages to fit in a friend
queue. If this is not done, friend queue keeps overflowing
systematically causing unstable PULL_MODE transfers.

Signed-off-by: Omkar Kulkarni <[email protected]>
@omkar3141 omkar3141 force-pushed the omka/NCSDK-34138_blob_server_understands_lpn branch from 8129cdd to 221a3b0 Compare July 18, 2025 14:19
Copy link

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.

1 participant