• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..--

src/29-Dec-2025-364240

CMakeLists.txtD29-Dec-2025305 139

README.rstD29-Dec-20251.2 KiB3625

prj.confD29-Dec-2025146 87

sample.yamlD29-Dec-2025319 1211

README.rst

1.. zephyr:code-sample:: bluetooth_st_ble_sensor
2   :name: ST Bluetooth LE Sensor Demo
3   :relevant-api: bt_gatt bluetooth
4
5   Export vendor-specific GATT services over Bluetooth.
6
7Overview
8********
9
10This application demonstrates Bluetooth LE peripheral by exposing vendor-specific
11GATT services. Currently only button notification and LED service are
12implemented. Other Bluetooth LE sensor services can easily be added.
13See `BlueST protocol`_ document for details of how to add a new service.
14
15Requirements
16************
17
18* `ST Bluetooth LE Sensor Android app`_
19* A board with Bluetooth LE support
20
21Building and Running
22********************
23
24Open ST Bluetooth LE Sensor app and click on "CONNECT TO A DEVICE" button to scan Bluetooth LE devices.
25To connect click on the device shown in the Device List.
26After connected, tap LED image on Android to test LED service.
27Push SW0 button on embedded device to test button service.
28
29See :zephyr:code-sample-category:`bluetooth` samples for details.
30
31.. _ST Bluetooth LE Sensor Android app:
32    https://play.google.com/store/apps/details?id=com.st.bluems
33
34.. _BlueST protocol:
35    https://www.st.com/resource/en/user_manual/dm00550659.pdf
36