Bluetooth: controller: Add BT_CTLR_CONN_RSSI_EVENT option
Split BT_CTLR_CONN_RSSI option into two, the base option enables the Read RSSI command, while the new BT_CTLR_CONN_RSSI_EVENT enables the connection RSSI events. There is no handling of RSSI events, only a BT_INFO log. Signed-off-by: Joakim Andersson <joakim.andersson@nordicsemi.no>
This commit is contained in:
parent
68ce16cf86
commit
eba6265ac3
10 changed files with 40 additions and 18 deletions
|
@ -105,8 +105,10 @@ struct lll_conn {
|
|||
|
||||
#if defined(CONFIG_BT_CTLR_CONN_RSSI)
|
||||
u8_t rssi_latest;
|
||||
#if defined(CONFIG_BT_CTLR_CONN_RSSI_EVENT)
|
||||
u8_t rssi_reported;
|
||||
u8_t rssi_sample_count;
|
||||
#endif /* CONFIG_BT_CTLR_CONN_RSSI_EVENT */
|
||||
#endif /* CONFIG_BT_CTLR_CONN_RSSI */
|
||||
|
||||
#if defined(CONFIG_BT_CTLR_CONN_META)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue