Struct riot_sys::ble_hs_adv_fields[][src]

#[repr(C)]
pub struct ble_hs_adv_fields {
Show 32 fields pub flags: u8, pub uuids16: *const ble_uuid16_t, pub num_uuids16: u8, pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1], u8>, pub uuids32: *const ble_uuid32_t, pub num_uuids32: u8, pub _bitfield_2: __BindgenBitfieldUnit<[u8; 1], u8>, pub uuids128: *const ble_uuid128_t, pub num_uuids128: u8, pub _bitfield_3: __BindgenBitfieldUnit<[u8; 1], u8>, pub name: *const u8, pub name_len: u8, pub _bitfield_4: __BindgenBitfieldUnit<[u8; 1], u8>, pub tx_pwr_lvl: i8, pub _bitfield_5: __BindgenBitfieldUnit<[u8; 1], u8>, pub slave_itvl_range: *const u8, pub svc_data_uuid16: *const u8, pub svc_data_uuid16_len: u8, pub public_tgt_addr: *const u8, pub num_public_tgt_addrs: u8, pub appearance: u16, pub _bitfield_6: __BindgenBitfieldUnit<[u8; 1], u8>, pub adv_itvl: u16, pub _bitfield_7: __BindgenBitfieldUnit<[u8; 1], u8>, pub svc_data_uuid32: *const u8, pub svc_data_uuid32_len: u8, pub svc_data_uuid128: *const u8, pub svc_data_uuid128_len: u8, pub uri: *const u8, pub uri_len: u8, pub mfg_data: *const u8, pub mfg_data_len: u8,
}

Fields

flags: u8

0x01 - Flags.

uuids16: *const ble_uuid16_t

0x02,0x03 - 16-bit service class UUIDs.

num_uuids16: u8_bitfield_1: __BindgenBitfieldUnit<[u8; 1], u8>uuids32: *const ble_uuid32_t

0x04,0x05 - 32-bit service class UUIDs.

num_uuids32: u8_bitfield_2: __BindgenBitfieldUnit<[u8; 1], u8>uuids128: *const ble_uuid128_t

0x06,0x07 - 128-bit service class UUIDs.

num_uuids128: u8_bitfield_3: __BindgenBitfieldUnit<[u8; 1], u8>name: *const u8

0x08,0x09 - Local name.

name_len: u8_bitfield_4: __BindgenBitfieldUnit<[u8; 1], u8>tx_pwr_lvl: i8

0x0a - Tx power level.

_bitfield_5: __BindgenBitfieldUnit<[u8; 1], u8>slave_itvl_range: *const u8

0x0d - Slave connection interval range.

svc_data_uuid16: *const u8

0x16 - Service data - 16-bit UUID.

svc_data_uuid16_len: u8public_tgt_addr: *const u8

0x17 - Public target address.

num_public_tgt_addrs: u8appearance: u16

0x19 - Appearance.

_bitfield_6: __BindgenBitfieldUnit<[u8; 1], u8>adv_itvl: u16

0x1a - Advertising interval.

_bitfield_7: __BindgenBitfieldUnit<[u8; 1], u8>svc_data_uuid32: *const u8

0x20 - Service data - 32-bit UUID.

svc_data_uuid32_len: u8svc_data_uuid128: *const u8

0x21 - Service data - 128-bit UUID.

svc_data_uuid128_len: u8uri: *const u8

0x24 - URI.

uri_len: u8mfg_data: *const u8

0xff - Manufacturer specific data.

mfg_data_len: u8

Implementations

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.