DIS Peripheral

Browse source code on GitHub

Overview

Similar to the Peripheral sample, except that this application specifically exposes the DIS (Device Information) GATT Service.

Requirements

  • BlueZ running on the host, or

  • A board with Bluetooth LE support

Building and Running

Build and flash the sample as follows, replacing <board> with your target board:

west build -b <board> samples/bluetooth/peripheral_dis
west flash

After flashing, use a Bluetooth scanner app (e.g. nRF Connect) to connect to the device and read the Device Information Service (DIS) characteristics such as manufacturer name, model number, and firmware revision.

See also

Generic Attribute Profile (GATT)
Bluetooth APIs