client/advertising: Add support for advertise.rsi command
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Wed, 5 Apr 2023 23:04:28 +0000 (16:04 -0700)
committerAyush Garg <ayush.garg@samsung.com>
Fri, 5 Jan 2024 10:41:34 +0000 (16:11 +0530)
commitf17e709f78bbba7a45159ebe1f3fb820fab12135
treebe6ab2d679c02e0e5f76eea692cc8776c13ce3f7
parent129509675987916115d96985f858e025af21b6b5
client/advertising: Add support for advertise.rsi command

This adds support for advertise.rsi command which can be used to request
the generation of RSI and include it as part of advertising data:

[bluetooth]# advertise.rsi --help
Show/Enable/Disable RSI to be advertised
Usage:
 rsi [on/off]
[bluetooth]# advertise.rsi
RSI: on
[bluetooth]# advertise on
...
Advertising object registered
Tx Power: off
Name: off
Appearance: off
Discoverable: on
RSI: on
[bluetooth]#
client/advertising.c
client/advertising.h
client/main.c