Patched version of nrf51822 FOTA compatible driver, with GPTIO disabled, as it clashed with the mbed definitions...

Fork of nRF51822 by Nordic Semiconductor

Embed: (wiki syntax)

« Back to documentation index

ble_gap_opt_passkey_t Struct Reference

ble_gap_opt_passkey_t Struct Reference
[Generic Access Profile (GAP)]

Passkey Option. More...

#include <ble_gap.h>

Data Fields

uint8_t * p_passkey
 Pointer to 6-digit ASCII string (digit 0..9 only, no NULL termination) passkey to be used during pairing.

Detailed Description

Passkey Option.

Structure containing the passkey to be used during pairing. This can be used with sd_ble_opt_set to make the SoftDevice use a pre-programmed passkey for authentication instead of generating a random one.

Note:
sd_ble_opt_get is not supported for this option.

Definition at line 647 of file ble_gap.h.


Field Documentation

uint8_t* p_passkey

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.

Definition at line 649 of file ble_gap.h.