Skip to content

bluetooth/tools: add BREDR GATT service in gatt_server tool#542

Merged
huangyulong3 merged 1 commit into
open-vela:devfrom
liuX10:fix/bt-gatts-bredr-service
May 8, 2026
Merged

bluetooth/tools: add BREDR GATT service in gatt_server tool#542
huangyulong3 merged 1 commit into
open-vela:devfrom
liuX10:fix/bt-gatts-bredr-service

Conversation

@liuX10
Copy link
Copy Markdown
Contributor

@liuX10 liuX10 commented Mar 24, 2026

Summary

Add new GATT service (UUID 0xFF10) declared with GATT_H_PRIMARY_SERVICE_OVER_BREDR for PTS cross-transport testing. Includes TX, CCCD, and RX characteristics. Registered as service id 4 (BREDR).

Impact

Tools only, no production code change.

Testing

Build verified.

Copy link
Copy Markdown
Contributor

@chengkai15 chengkai15 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR #542 Review — add BREDR GATT service in gatt_server tool

概述: 1 文件 50+/2-,添加 BR/EDR GATT 测试服务(UUID 0xFF10),用于 PTS cross-transport 测试。仅工具代码,不影响生产。

✅ 优点

  • PR 描述清晰完整(Summary/Impact/Testing)
  • 遵循现有服务模式(DIS/BAS/CUSTOM/BREDR)
  • GATT_H_PRIMARY_SERVICE_OVER_BREDR 宏正确用于 cross-transport 注册
  • Vendor-specific UUID 0xFF10-0xFF12 使用正确

📋 结论

工具级改动,用途明确。APPROVE

Copy link
Copy Markdown
Contributor

@zhongzhijie1 zhongzhijie1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. 纯 tool 改动,新增 BREDR GATT service 用于 PTS 测试,结构和现有 service 一致。

Copy link
Copy Markdown
Contributor

@zhongzhijie1 zhongzhijie1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Tools only, clean structure.

@zhongzhijie1 zhongzhijie1 force-pushed the fix/bt-gatts-bredr-service branch from a971c84 to f8b37fd Compare April 16, 2026 10:04
bug: v/88246

- Add new GATT service (UUID 0xFF10) declared with
  GATT_H_PRIMARY_SERVICE_OVER_BREDR for PTS cross-transport testing
- Include TX (notify/indicate), CCCD, and RX (read/write) characteristics
- Register as service id 4 (BREDR) in gatt_server tool

Signed-off-by: liuxiang18 <liuxiang18@xiaomi.com>
@liuX10 liuX10 force-pushed the fix/bt-gatts-bredr-service branch from f8b37fd to d420377 Compare May 8, 2026 08:50
@huangyulong3 huangyulong3 merged commit d6b8e00 into open-vela:dev May 8, 2026
9 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.

4 participants