Lancaster University fork of the Nordic nrf51-SDK repository, which actually lives on github: https://github.com/lancaster-university/nrf51-sdk

Dependents:   nRF51822

Embed: (wiki syntax)

« Back to documentation index

Enumerations

Enumerations

enum  BLE_GAP_SVCS {
  SD_BLE_GAP_ADDRESS_SET = BLE_GAP_SVC_BASE, SD_BLE_GAP_ADDRESS_GET, SD_BLE_GAP_ADV_DATA_SET, SD_BLE_GAP_ADV_START,
  SD_BLE_GAP_ADV_STOP, SD_BLE_GAP_CONN_PARAM_UPDATE, SD_BLE_GAP_DISCONNECT, SD_BLE_GAP_TX_POWER_SET,
  SD_BLE_GAP_APPEARANCE_SET, SD_BLE_GAP_APPEARANCE_GET, SD_BLE_GAP_PPCP_SET, SD_BLE_GAP_PPCP_GET,
  SD_BLE_GAP_DEVICE_NAME_SET, SD_BLE_GAP_DEVICE_NAME_GET, SD_BLE_GAP_AUTHENTICATE, SD_BLE_GAP_SEC_PARAMS_REPLY,
  SD_BLE_GAP_AUTH_KEY_REPLY, SD_BLE_GAP_ENCRYPT, SD_BLE_GAP_SEC_INFO_REPLY, SD_BLE_GAP_CONN_SEC_GET,
  SD_BLE_GAP_RSSI_START, SD_BLE_GAP_RSSI_STOP, SD_BLE_GAP_SCAN_START, SD_BLE_GAP_SCAN_STOP,
  SD_BLE_GAP_CONNECT, SD_BLE_GAP_CONNECT_CANCEL, SD_BLE_GAP_RSSI_GET
}
 

GAP API SVC numbers.

More...
enum  BLE_GAP_EVTS {
  BLE_GAP_EVT_CONNECTED = BLE_GAP_EVT_BASE, BLE_GAP_EVT_DISCONNECTED, BLE_GAP_EVT_CONN_PARAM_UPDATE, BLE_GAP_EVT_SEC_PARAMS_REQUEST,
  BLE_GAP_EVT_SEC_INFO_REQUEST, BLE_GAP_EVT_PASSKEY_DISPLAY, BLE_GAP_EVT_AUTH_KEY_REQUEST, BLE_GAP_EVT_AUTH_STATUS,
  BLE_GAP_EVT_CONN_SEC_UPDATE, BLE_GAP_EVT_TIMEOUT, BLE_GAP_EVT_RSSI_CHANGED, BLE_GAP_EVT_ADV_REPORT,
  BLE_GAP_EVT_SEC_REQUEST, BLE_GAP_EVT_CONN_PARAM_UPDATE_REQUEST, BLE_GAP_EVT_SCAN_REQ_REPORT
}
 

GAP Event IDs.

More...
enum  BLE_GAP_OPTS {
  BLE_GAP_OPT_CH_MAP = BLE_GAP_OPT_BASE, BLE_GAP_OPT_LOCAL_CONN_LATENCY, BLE_GAP_OPT_PASSKEY, BLE_GAP_OPT_PRIVACY,
  BLE_GAP_OPT_SCAN_REQ_REPORT, BLE_GAP_OPT_COMPAT_MODE
}
 

GAP Option IDs.

More...

Enumeration Type Documentation

GAP Event IDs.

IDs that uniquely identify an event coming from the stack to the application.

Enumerator:
BLE_GAP_EVT_CONNECTED 

Connection established.

ble_gap_evt_connected_t

BLE_GAP_EVT_DISCONNECTED 

Disconnected from peer.

ble_gap_evt_disconnected_t

BLE_GAP_EVT_CONN_PARAM_UPDATE 

Connection Parameters updated.

ble_gap_evt_conn_param_update_t

BLE_GAP_EVT_SEC_PARAMS_REQUEST 

Request to provide security parameters.

ble_gap_evt_sec_params_request_t

BLE_GAP_EVT_SEC_INFO_REQUEST 

Request to provide security information.

ble_gap_evt_sec_info_request_t

BLE_GAP_EVT_PASSKEY_DISPLAY 

Request to display a passkey to the user.

ble_gap_evt_passkey_display_t

BLE_GAP_EVT_AUTH_KEY_REQUEST 

Request to provide an authentication key.

ble_gap_evt_auth_key_request_t

BLE_GAP_EVT_AUTH_STATUS 

Authentication procedure completed with status.

ble_gap_evt_auth_status_t

BLE_GAP_EVT_CONN_SEC_UPDATE 

Connection security updated.

ble_gap_evt_conn_sec_update_t

BLE_GAP_EVT_TIMEOUT 

Timeout expired.

ble_gap_evt_timeout_t

BLE_GAP_EVT_RSSI_CHANGED 

RSSI report.

ble_gap_evt_rssi_changed_t

BLE_GAP_EVT_ADV_REPORT 

Advertising report.

ble_gap_evt_adv_report_t

BLE_GAP_EVT_SEC_REQUEST 

Security Request.

ble_gap_evt_sec_request_t

BLE_GAP_EVT_CONN_PARAM_UPDATE_REQUEST 

Connection Parameter Update Request.

ble_gap_evt_conn_param_update_request_t

BLE_GAP_EVT_SCAN_REQ_REPORT 

Scan request report.

ble_gap_evt_scan_req_report_t

Definition at line 85 of file ble_gap.h.

GAP Option IDs.

IDs that uniquely identify a GAP option.

Enumerator:
BLE_GAP_OPT_CH_MAP 

Channel Map.

ble_gap_opt_ch_map_t

BLE_GAP_OPT_LOCAL_CONN_LATENCY 

Local connection latency.

ble_gap_opt_local_conn_latency_t

BLE_GAP_OPT_PASSKEY 

Set passkey.

ble_gap_opt_passkey_t

BLE_GAP_OPT_PRIVACY 

Custom privacy.

ble_gap_opt_privacy_t

BLE_GAP_OPT_SCAN_REQ_REPORT 

Scan request report.

ble_gap_opt_scan_req_report_t

BLE_GAP_OPT_COMPAT_MODE 

Compatibility mode.

ble_gap_opt_compat_mode_t

Definition at line 107 of file ble_gap.h.

GAP API SVC numbers.

Enumerator:
SD_BLE_GAP_ADDRESS_SET 

Set own Bluetooth Address.

SD_BLE_GAP_ADDRESS_GET 

Get own Bluetooth Address.

SD_BLE_GAP_ADV_DATA_SET 

Set Advertising Data.

SD_BLE_GAP_ADV_START 

Start Advertising.

SD_BLE_GAP_ADV_STOP 

Stop Advertising.

SD_BLE_GAP_CONN_PARAM_UPDATE 

Connection Parameter Update.

SD_BLE_GAP_DISCONNECT 

Disconnect.

SD_BLE_GAP_TX_POWER_SET 

Set TX Power.

SD_BLE_GAP_APPEARANCE_SET 

Set Appearance.

SD_BLE_GAP_APPEARANCE_GET 

Get Appearance.

SD_BLE_GAP_PPCP_SET 

Set PPCP.

SD_BLE_GAP_PPCP_GET 

Get PPCP.

SD_BLE_GAP_DEVICE_NAME_SET 

Set Device Name.

SD_BLE_GAP_DEVICE_NAME_GET 

Get Device Name.

SD_BLE_GAP_AUTHENTICATE 

Initiate Pairing/Bonding.

SD_BLE_GAP_SEC_PARAMS_REPLY 

Reply with Security Parameters.

SD_BLE_GAP_AUTH_KEY_REPLY 

Reply with an authentication key.

SD_BLE_GAP_ENCRYPT 

Initiate encryption procedure.

SD_BLE_GAP_SEC_INFO_REPLY 

Reply with Security Information.

SD_BLE_GAP_CONN_SEC_GET 

Obtain connection security level.

SD_BLE_GAP_RSSI_START 

Start reporting of changes in RSSI.

SD_BLE_GAP_RSSI_STOP 

Stop reporting of changes in RSSI.

SD_BLE_GAP_SCAN_START 

Start Scanning.

SD_BLE_GAP_SCAN_STOP 

Stop Scanning.

SD_BLE_GAP_CONNECT 

Connect.

SD_BLE_GAP_CONNECT_CANCEL 

Cancel ongoing connection procedure.

SD_BLE_GAP_RSSI_GET 

Get the last RSSI sample.

Definition at line 51 of file ble_gap.h.