diff options
author | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2023-02-22 14:06:05 -0800 |
---|---|---|
committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2023-03-10 13:41:06 -0800 |
commit | f95ffcc8b1fe67c4b0443747c08f8e9d853025cf (patch) | |
tree | 7fdad674daf27808531a6585cdec3f7d6cf97d16 /src/eir.h | |
parent | 3815ad119dcdc03df2a027f0eda4979d8d601846 (diff) | |
download | bluez-f95ffcc8b1fe67c4b0443747c08f8e9d853025cf.tar.gz |
core: Check if device has RSI
This checks if device is advertising an RSI and if so disregards if it
is not discoverable since other members can be.
Diffstat (limited to 'src/eir.h')
-rw-r--r-- | src/eir.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -37,6 +37,7 @@ #define EIR_SVC_DATA32 0x20 /* LE: Service data, 32-bit UUID */ #define EIR_SVC_DATA128 0x21 /* LE: Service data, 128-bit UUID */ #define EIR_TRANSPORT_DISCOVERY 0x26 /* Transport Discovery Service */ +#define EIR_CSIP_RSI 0x2e /* Resolvable Set Identifier */ #define EIR_MANUFACTURER_DATA 0xFF /* Manufacturer Specific Data */ /* Flags Descriptions */ @@ -76,6 +77,7 @@ struct eir_data { uint32_t class; uint16_t appearance; bool name_complete; + bool rsi; int8_t tx_power; uint8_t *hash; uint8_t *randomizer; |