Cycling Speed and Cadence (CSC) Peripheral

Browse source code on GitHub

Overview

Similar to the Peripheral sample, except that this application specifically exposes the CSC (Cycling Speed and Cadence) 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_csc
west flash

After flashing, use a Bluetooth scanner app (e.g. nRF Connect) to connect to the device and subscribe to the CSC Measurement characteristic to receive cycling speed and cadence notifications.

See also

Generic Attribute Profile (GATT)
Bluetooth APIs