|
1 | | -.. zephyr:code-sample:: bt_blinky |
2 | | - :name: Blueooth blinky (Peripheral) |
3 | | - :relevant-api: bluetooth |
4 | | - |
5 | | -Overview |
6 | | -******** |
7 | | - |
8 | | -Similar to the SOC Blinky sample, implements a simple custom GATT service with two characteristics. |
9 | | -One characteristic controls the state of the LED (ON/OFF) via write operations from a GATT client, |
10 | | -and the second characteristic sends notifications to subscribed clients when the button state changes |
11 | | -(pressed or released). |
12 | | - |
13 | | -Requirements |
14 | | -************ |
15 | | - |
16 | | -* BlueZ running on the host, or |
17 | | -* A board with Bluetooth LE support |
18 | | - |
19 | | -Building and Running |
20 | | -******************** |
21 | | - |
22 | | -Building a minimal variant |
23 | | --------------------------- |
24 | | - |
25 | | -.. zephyr-app-commands:: |
26 | | - :zephyr-app: samples/bt_blinky |
27 | | - :board: qemu_cortex_m3 |
28 | | - :goals: build |
| 1 | +.. zephyr:code-sample:: bt_blinky |
| 2 | + :name: Blueooth blinky (Peripheral) |
| 3 | + :relevant-api: bluetooth |
| 4 | + |
| 5 | +Overview |
| 6 | +******** |
| 7 | + |
| 8 | +Similar to the SOC Blinky sample, implements a simple custom GATT service with two characteristics. |
| 9 | +One characteristic controls the state of the LED (ON/OFF) via write operations from a GATT client, |
| 10 | +and the second characteristic sends notifications to subscribed clients when the button state changes |
| 11 | +(pressed or released). |
| 12 | + |
| 13 | +Requirements |
| 14 | +************ |
| 15 | + |
| 16 | +* BlueZ running on the host, or |
| 17 | +* A board with Bluetooth LE support |
| 18 | + |
| 19 | +Building and Running |
| 20 | +******************** |
| 21 | + |
| 22 | +Building a minimal variant |
| 23 | +-------------------------- |
| 24 | + |
| 25 | +.. zephyr-app-commands:: |
| 26 | + :zephyr-app: samples/bt_blinky |
| 27 | + :board: qemu_cortex_m3 |
| 28 | + :goals: build |
0 commit comments