Skip to content

rfcomm: emit Channel=0 for a Server profile with no channel - #194

Merged
surban merged 1 commit into
bluez:masterfrom
cfraz89:rfcomm-server-channel-0
Aug 17, 2026
Merged

rfcomm: emit Channel=0 for a Server profile with no channel#194
surban merged 1 commit into
bluez:masterfrom
cfraz89:rfcomm-server-channel-0

Conversation

@cfraz89

@cfraz89 cfraz89 commented Aug 15, 2026

Copy link
Copy Markdown
Contributor

When rfcomm Profile role is Server, currently bluer omits channel from the dbus dict, which downstream in bluez results in no rfcomm socket being created, and channel attr ommitted from the sdp record.

This changes it to send channel: 0 instead, which is interpreted as auto, which is what we want.

This now behaves correctly in my usage.

@cfraz89
cfraz89 force-pushed the rfcomm-server-channel-0 branch from 4af7b52 to 60005b4 Compare August 15, 2026 16:13
@cfraz89
cfraz89 marked this pull request as ready for review August 15, 2026 16:16
@surban
surban merged commit 57ec704 into bluez:master Aug 17, 2026
1 of 2 checks passed
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