[][src]Struct nrf_softdevice_s113::ble_gap_cfg_role_count_t

#[repr(C)]pub struct ble_gap_cfg_role_count_t {
    pub adv_set_count: u8,
    pub periph_role_count: u8,
}

@brief Configuration of maximum concurrent connections in the peripheral role, set with @ref sd_ble_cfg_set.

@retval ::NRF_ERROR_CONN_COUNT The periph_role_count is too large. The maximum supported sum of concurrent connections is @ref BLE_GAP_ROLE_COUNT_COMBINED_MAX. @retval ::NRF_ERROR_RESOURCES The adv_set_count is too large. The maximum supported advertising handles is @ref BLE_GAP_ADV_SET_COUNT_MAX.

Fields

adv_set_count: u8

< Maximum number of advertising sets. Default value is @ref BLE_GAP_ADV_SET_COUNT_DEFAULT.

periph_role_count: u8

< Maximum number of connections concurrently acting as a peripheral. Default value is @ref BLE_GAP_ROLE_COUNT_PERIPH_DEFAULT.

Trait Implementations

impl Clone for ble_gap_cfg_role_count_t[src]

impl Copy for ble_gap_cfg_role_count_t[src]

impl Debug for ble_gap_cfg_role_count_t[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.