2024-08-29 17:32:37 +02:00
|
|
|
.. zephyr:code-sample:: ble_peripheral_esp
|
|
|
|
:name: ESP Peripheral
|
|
|
|
:relevant-api: bt_gatt bt_bas bluetooth
|
2017-01-19 20:42:36 -05:00
|
|
|
|
2024-08-29 17:32:37 +02:00
|
|
|
Expose environmental information using the Environmental Sensing Profile (ESP).
|
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 ESP (Environmental Sensing Profile) 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_esp` 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.
|