Peripheral ANS

Browse source code on GitHub

Overview

This sample demonstrates the usage of ANS by acting as a peripheral periodically sending notifications to the connected remote device.

Requirements

  • A board with Bluetooth LE support

  • Smartphone with Bluetooth LE app (ADI Attach, nRF Connect, etc.) or dedicated Bluetooth LE sniffer

Building and Running

To start receiving alerts over the connection, refer to GATT Specification Supplement section 3.12 for byte array to enable/disable notifications and control the service.

See Bluetooth samples for details.

See also

Bluetooth APIs