Bluetooth: Add convenience enum value for no advertising options
This makes the code be a bit clearer by letting it specify a more descriptive value than '0'. Change-Id: I2e6b46f0924581d0d13f13479aa15170cc9e0e70 Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
This commit is contained in:
parent
fbb2fe8acf
commit
502f4a1581
1 changed files with 3 additions and 0 deletions
|
@ -106,6 +106,9 @@ struct bt_data {
|
|||
|
||||
/** Advertising options */
|
||||
enum {
|
||||
/** Convenience value when no options are specified. */
|
||||
BT_LE_ADV_OPT_NONE = 0,
|
||||
|
||||
/** Advertise as connectable. Type of advertising is determined by
|
||||
* providing SCAN_RSP data and/or enabling local privacy support.
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue