S130 SoftDevice v1.0.0
GAP Roles


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

Detailed Description

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.

This document was last updated on Mon Nov 9 2015.
Please send us your feedback about the documentation! For technical questions, visit the Nordic Developer Zone.