2024-08-29 17:32:37 +02:00
|
|
|
.. zephyr:code-sample:: ble_peripheral_csc
|
|
|
|
:name: Cycling Speed and Cadence (CSC) Peripheral
|
|
|
|
:relevant-api: bt_gatt bluetooth
|
2017-01-19 20:42:36 -05:00
|
|
|
|
2024-08-29 17:32:37 +02:00
|
|
|
Expose a Cycling Speed and Cadence (CSC) GATT Service.
|
2017-01-19 20:42:36 -05:00
|
|
|
|
|
|
|
Overview
|
|
|
|
********
|
|
|
|
|
2024-08-29 17:32:37 +02:00
|
|
|
Similar to the :zephyr:code-sample:`ble_peripheral` sample, except that this
|
2017-01-19 20:42:36 -05:00
|
|
|
application specifically exposes the CSC (Cycling Speed and Cadence) GATT
|
|
|
|
Service.
|
|
|
|
|
|
|
|
|
|
|
|
Requirements
|
|
|
|
************
|
|
|
|
|
|
|
|
* BlueZ running on the host, or
|
2024-09-02 09:25:43 +02:00
|
|
|
* A board with Bluetooth LE support
|
2017-01-19 20:42:36 -05:00
|
|
|
|
|
|
|
Building and Running
|
|
|
|
********************
|
|
|
|
|
2019-03-08 14:21:37 -08:00
|
|
|
This sample can be found under :zephyr_file:`samples/bluetooth/peripheral_csc` in the
|
2017-01-26 11:23:42 -05:00
|
|
|
Zephyr tree.
|
|
|
|
|
2019-03-07 15:59:20 +01:00
|
|
|
See :ref:`bluetooth samples section <bluetooth-samples>` for details.
|