R1 code for micro:bit based train controller code, requires second micro:bit running rx code to operate - see https://meanderingpi.wordpress.com/ for more information
Fork of
nrf51-sdk
by Lancaster University
« 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:
Definition at line 85 of file ble_gap.h .
GAP Option IDs.
IDs that uniquely identify a GAP option.
Enumerator:
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 .