Blueprints / BLE Nordic UART Service (NUS)
BLE Nordic UART Service (NUS)
Turn a Particle device into a BLE peripheral with the Nordic UART Service for serial-like communication with phones and other centrals.
Beginnerv1.0.0BLEConsole
Introduction
Turn a Particle device into a BLE peripheral using the Nordic UART Service (NUS). Connect from a phone or another central to send and receive data over a serial-like link.
Supported devices
Hardware and supplies
- Particle device with BLE (e.g., P2)
- USB cable
Project description:
This tutorial implements the Nordic UART Service (NUS) on a Particle device with BLE. The device advertises as "Particle-NUS"; a central can write to the RX characteristic (data is printed to Serial) and subscribe to the TX characteristic to receive periodic notifications. It demonstrates BLE advertising, BleCharacteristic (NOTIFY and WRITE), and the standard NUS UUIDs.
Fork this project to your GitHub account Fork and edit