nRF51 SDK: GAP Roles

| nRF51 SDK

- Home
- Related Pages
- API Reference
- Data Structures

All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
Macros
GAP Roles
Defines

## Macros

#define | BLE_GAP_ROLE_INVALID 0x0
#define | BLE_GAP_ROLE_PERIPH 0x1
#define | BLE_GAP_ROLE_CENTRAL 0x2

## Detailed Description

Note
  Not explicitly used in peripheral API, but will be relevant for central API.

## Macro Definition Documentation

#define BLE_GAP_ROLE_CENTRAL 0x2

Central Role.

#define BLE_GAP_ROLE_INVALID 0x0

Invalid Role.

#define BLE_GAP_ROLE_PERIPH 0x1

Peripheral Role.