docs(bluetooth): add CS API, remove AVRCP/BLE scan/advertiser per tea…#549
Merged
tanghao-xiaomi merged 1 commit intoMay 14, 2026
Merged
Conversation
chengkai15
reviewed
May 14, 2026
| @@ -1,139 +0,0 @@ | |||
| \[ English | [简体中文](../../../../zh-cn/api/framework/bluetooth/bt_le_advertiser.md) \] | |||
chengkai15
reviewed
May 14, 2026
| @@ -1,141 +0,0 @@ | |||
| \[ English | [简体中文](../../../../zh-cn/api/framework/bluetooth/bt_le_scan.md) \] | |||
gzh-terry
approved these changes
May 14, 2026
yanxingyu17
approved these changes
May 14, 2026
chengkai15
reviewed
May 15, 2026
| - **[SPP](bt_spp.md)**(串口仿真)— 数据透传 | ||
| - **[PAN](bt_pan.md)**(个人局域网)— 网络共享与蓝牙组网 | ||
|
|
||
| ## 低功耗蓝牙规范 |
chengkai15
reviewed
May 15, 2026
|
|
||
| | 字段 | 类型 | 说明 | | ||
| | --------------------------- | --------- | ---------------------- | | ||
| | `centimeter` | `uint8_t` | 距离(厘米) | |
Contributor
There was a problem hiding this comment.
Max 255cm = 2.55m? For BT 5.4 CS claiming "centimeter-level accuracy", this seems too narrow. Should this be uint16_t or uint32_t?
chengkai15
reviewed
May 15, 2026
| | 字段 | 类型 | 说明 | | ||
| | --------------------------- | --------- | ---------------------- | | ||
| | `centimeter` | `uint8_t` | 距离(厘米) | | ||
| | `error_centimeter` | `uint8_t` | 距离误差(厘米) | |
chengkai15
reviewed
May 15, 2026
| | `error_azimuthAngle` | `uint8_t` | 方位角误差 | | ||
| | `altitude_angle` | `uint8_t` | 仰角 | | ||
| | `error_altitudeAngle` | `uint8_t` | 仰角误差 | | ||
| | `elapsed_realtime_nanos` | `long` | 经过的实时时间(纳秒) | |
Contributor
There was a problem hiding this comment.
Non-portable. Should be int64_t or uint64_t for a nanosecond timestamp
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
…m decision
Note: Please adhere to Contributing Guidelines.
Summary
Update this section with information on why change is necessary,
what it exactly does and how, if new feature shows up, provide
references (dependencies, similar problems and solutions), etc.
Impact
Update this section, where applicable, on how change affects users,
build process, hardware, documentation, security, compatibility, etc.
Testing
Update this section with details on how did you verify the change,
what Host was used for build (OS, CPU, compiler, ..), what Target was
used for verification (arch, board:config, ..), etc. Providing build
and runtime logs from before and after change is highly appreciated.