zephyrproject-rtos/zephyr

Bluetooth: Specify unit of RSSI in API

Open

#55,480 opened on Mar 6, 2023

View on GitHub
 (10 comments) (1 reaction) (1 assignee)C (15,249 stars) (9,144 forks)batch import
EnhancementGood first issuearea: APIarea: Bluetooth

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