zephyrproject-rtos/zephyr

Bluetooth: Specify unit of RSSI in API

Closed

#55,480 opened on Mar 6, 2023

 (10 comments) (1 reaction) (1 assignee)C (9,144 forks)batch import
EnhancementGood first issuearea: APIarea: Bluetooth

Repository metrics

Stars
 (15,249 stars)
PR merge metrics
 (Avg merge 4d 21h) (1,000 merged PRs in 30d)

Description

Is your enhancement proposal related to a problem? Please describe. In bluetooth.h there are multiple uses of rssi, but the unit is not described.

The unit of struct bt_le_scan_recv_info and bt_le_scan_cb_t is in dBm, but is not specified.

Describe the solution you'd like Specifiy the unit of RSSI in all uses, and if they are not already the same unit, they should be made into the same unit.

Describe alternatives you've considered N/A

Additional context N/A

Contributor guide