Enumerations

S120 SoftDevice v2.1.0 API

S120 SoftDevice v2.1.0

Enumerations

enum BLE_GAP_SVCS {
SD_BLE_GAP_ADDRESS_SET = 0x70,
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 = 0x10,
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. IDs that uniquely identify an event coming from the stack to the application. More...
enum BLE_GAP_OPTS {
BLE_GAP_OPT_CH_MAP = 0x20,
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. IDs that uniquely identify a GAP option. More...

Detailed Description

Enumeration Type Documentation

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

Enumerator
BLE_GAP_EVT_CONNECTED

GAP BLE Event base. Connection established.

BLE_GAP_EVT_DISCONNECTED

Disconnected from peer.

BLE_GAP_EVT_CONN_PARAM_UPDATE

Connection Parameters updated.

BLE_GAP_EVT_SEC_PARAMS_REQUEST

Request to provide security parameters.

BLE_GAP_EVT_SEC_INFO_REQUEST

Request to provide security information.

BLE_GAP_EVT_PASSKEY_DISPLAY

Request to display a passkey to the user.

BLE_GAP_EVT_AUTH_KEY_REQUEST

Request to provide an authentication key.

BLE_GAP_EVT_AUTH_STATUS

Authentication procedure completed with status.

BLE_GAP_EVT_CONN_SEC_UPDATE

Connection security updated.

BLE_GAP_EVT_TIMEOUT

Timeout expired.

BLE_GAP_EVT_RSSI_CHANGED

Signal strength measurement report.

BLE_GAP_EVT_ADV_REPORT

Advertising report.

BLE_GAP_EVT_SEC_REQUEST

Security Request.

BLE_GAP_EVT_CONN_PARAM_UPDATE_REQUEST

Connection Parameter Update Request.

BLE_GAP_EVT_SCAN_REQ_REPORT

Scan request report.

GAP Option IDs. IDs that uniquely identify a GAP option.

Enumerator
BLE_GAP_OPT_CH_MAP

GAP BLE Option base. 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

GAP API SVC numbers.

Enumerator
SD_BLE_GAP_ADDRESS_SET

GAP BLE SVC base. 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.


Please send us your feedback about the documentation! For technical questions, visit the Nordic Developer Zone .