nRF51 SDK v10.0.0
Modules | Macros
Nordic UART Service Client

Nordic UART Service Client module. More...

Modules

 Enumerations
 
 Structures
 
 Functions
 

Macros

#define NUS_BASE_UUID   {{0x9E, 0xCA, 0xDC, 0x24, 0x0E, 0xE5, 0xA9, 0xE0, 0x93, 0xF3, 0xA3, 0xB5, 0x00, 0x00, 0x40, 0x6E}}
 
#define BLE_UUID_NUS_SERVICE   0x0001
 
#define BLE_UUID_NUS_TX_CHARACTERISTIC   0x0002
 
#define BLE_UUID_NUS_RX_CHARACTERISTIC   0x0003
 
#define BLE_NUS_MAX_DATA_LEN   (GATT_MTU_SIZE_DEFAULT - 3)
 

Detailed Description

Nordic UART Service Client module.

This module contains the APIs and types exposed by the Nordic UART Service Client module. These APIs and types can be used by the application to perform discovery of the Nordic UART Service at the peer and interact with it.

Note
The application must propagate BLE stack events to this module by calling ble_nus_c_on_ble_evt().

Macro Definition Documentation

#define BLE_NUS_MAX_DATA_LEN   (GATT_MTU_SIZE_DEFAULT - 3)

Maximum length of data (in bytes) that can be transmitted to the peer by the Nordic UART service module.

#define BLE_UUID_NUS_RX_CHARACTERISTIC   0x0003

The UUID of the RX Characteristic.

#define BLE_UUID_NUS_SERVICE   0x0001

The UUID of the Nordic UART Service.

#define BLE_UUID_NUS_TX_CHARACTERISTIC   0x0002

The UUID of the TX Characteristic.

#define NUS_BASE_UUID   {{0x9E, 0xCA, 0xDC, 0x24, 0x0E, 0xE5, 0xA9, 0xE0, 0x93, 0xF3, 0xA3, 0xB5, 0x00, 0x00, 0x40, 0x6E}}

Used vendor specific UUID.


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.