[−][src]Struct nrf_softdevice_s132::ble_gap_opt_passkey_t
@brief Passkey Option.
@mscs @mmsc{@ref BLE_GAP_PERIPH_BONDING_STATIC_PK_MSC} @endmscs
@details Structure containing the passkey to be used during pairing. This can be used with @ref sd_ble_opt_set to make the SoftDevice use a preprogrammed passkey for authentication instead of generating a random one.
@note Repeated pairing attempts using the same preprogrammed passkey makes pairing vulnerable to MITM attacks.
@note @ref sd_ble_opt_get is not supported for this option.
Fields
p_passkey: *const u8
< Pointer to 6-digit ASCII string (digit 0..9 only, no NULL termination) passkey to be used during pairing. If this is NULL, the SoftDevice will generate a random passkey if required.
Trait Implementations
impl Clone for ble_gap_opt_passkey_t
[src]
fn clone(&self) -> ble_gap_opt_passkey_t
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for ble_gap_opt_passkey_t
[src]
impl Debug for ble_gap_opt_passkey_t
[src]
Auto Trait Implementations
impl !Send for ble_gap_opt_passkey_t
impl !Sync for ble_gap_opt_passkey_t
impl Unpin for ble_gap_opt_passkey_t
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,