The latest development version of this page may be more current than this released 4.0.0 version.

ST Bluetooth LE Sensor Demo

Browse source code on GitHub

Overview

This application demonstrates Bluetooth LE peripheral by exposing vendor-specific GATT services. Currently only button notification and LED service are implemented. Other Bluetooth LE sensor services can easily be added. See BlueST protocol document for details of how to add a new service.

Requirements

Building and Running

This sample can be found under samples/bluetooth/st_ble_sensor in the Zephyr tree.

Open ST Bluetooth LE Sensor app and click on “CONNECT TO A DEVICE” button to scan Bluetooth LE devices. To connect click on the device shown in the Device List. After connected, tap LED image on Android to test LED service. Push SW0 button on embedded device to test button service.

See Bluetooth samples for details.

See also

Generic Attribute Profile (GATT)
Bluetooth APIs