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

Embed: (wiki syntax)

« Back to documentation index

Enumerations

Enumerations

enum  BLE_COMMON_SVCS {
  SD_BLE_ENABLE = BLE_SVC_BASE, SD_BLE_EVT_GET, SD_BLE_TX_BUFFER_COUNT_GET, SD_BLE_UUID_VS_ADD,
  SD_BLE_UUID_DECODE, SD_BLE_UUID_ENCODE, SD_BLE_VERSION_GET, SD_BLE_USER_MEM_REPLY,
  SD_BLE_OPT_SET, SD_BLE_OPT_GET
}
 

Common API SVC numbers.

More...
enum  BLE_COMMON_EVTS { BLE_EVT_TX_COMPLETE = BLE_EVT_BASE, BLE_EVT_USER_MEM_REQUEST, BLE_EVT_USER_MEM_RELEASE }
 

BLE Module Independent Event IDs.

More...
enum  BLE_COMMON_OPTS { BLE_COMMON_OPT_RADIO_CPU_MUTEX = BLE_OPT_BASE }
 

Common Option IDs.

More...

Enumeration Type Documentation

BLE Module Independent Event IDs.

Enumerator:
BLE_EVT_TX_COMPLETE 

Transmission Complete.

ble_evt_tx_complete_t

BLE_EVT_USER_MEM_REQUEST 

User Memory request.

ble_evt_user_mem_request_t

BLE_EVT_USER_MEM_RELEASE 

User Memory release.

ble_evt_user_mem_release_t

Definition at line 77 of file ble.h.

Common Option IDs.

IDs that uniquely identify a common option.

Enumerator:
BLE_COMMON_OPT_RADIO_CPU_MUTEX 

Radio CPU mutex option.

ble_common_opt_radio_cpu_mutex_t

Definition at line 87 of file ble.h.

Common API SVC numbers.

Enumerator:
SD_BLE_ENABLE 

Enable and initialize the BLE stack.

SD_BLE_EVT_GET 

Get an event from the pending events queue.

SD_BLE_TX_BUFFER_COUNT_GET 

Get the total number of available application transmission buffers from the BLE stack.

SD_BLE_UUID_VS_ADD 

Add a Vendor Specific UUID.

SD_BLE_UUID_DECODE 

Decode UUID bytes.

SD_BLE_UUID_ENCODE 

Encode UUID bytes.

SD_BLE_VERSION_GET 

Get the local version information (company id, Link Layer Version, Link Layer Subversion).

SD_BLE_USER_MEM_REPLY 

User Memory Reply.

SD_BLE_OPT_SET 

Set a BLE option.

SD_BLE_OPT_GET 

Get a BLE option.

Definition at line 60 of file ble.h.