libnx v4.9.0
|
BtdrvBleAdvertisePacketData. More...
#include <btdrv_types.h>
Data Fields | |
u32 | adv_data_mask |
Bitmask of following AD data to be included in advertising packets BtdrvBleAdBit. | |
u8 | flag |
AD flag value to be advertised BtdrvBleAdFlag. Included with BtdrvBleAdBit_Flags. | |
u8 | manu_data_len |
Size of manu_data below. | |
u8 | manu_data [0x1F] |
Manufacturer-specific data to be advertised. Included with BtdrvBleAdBit_Manufacturer. | |
u8 | pad [1] |
Padding. | |
u16 | appearance_data |
Device appearance data to be advertised BtdrvAppearanceType. Included with BtdrvBleAdBit_Appearance. | |
u8 | num_service |
Number of services in uuid_val array below. | |
u8 | pad2 [3] |
Padding. | |
BtdrvGattAttributeUuid | uuid_val [0x6] |
Array of 16-bit UUIDs to be advertised BtdrvGattAttributeUuid. Included with BtdrvBleAdBit_Service. | |
u8 | service_data_len |
Size of service_data below. | |
u8 | pad3 [1] |
Padding. | |
u16 | service_data_uuid |
16-bit UUID of service_data below | |
u8 | service_data [0x1F] |
Service data to be advertised. Included with BtdrvBleAdBit_ServiceData. | |
bool | is_scan_rsp |
Whether this is an inquiry scan response or advertising data. | |
u8 | tx_power |
Inquiry transmit power to be advertised. Included with BtdrvBleAdBit_TxPower. | |
u8 | pad4 [3] |
Padding. | |