This demo application provides experience to user for heart rate profile of Bluetooth Low Energy (BLE). Application sends the data over BLE to mobile using Bluetooth heart rate profile.
The demo uses following components:
- WILC3000 Bluetooth Low Energy controller: It provides the bluetooth enabled devices to connect to it. Exposes HCI interface to the Host bluetooth stack and thereby enables to develop any BLE applications
- BlueZ: A package of complete Bluetooth Protocol Stack and Utilities, it is used to host custom transparent GATT service and handle data transfers between the peers
- Heart rate Service Application: The Heart rate service application which incorporates the GATT server and its characteristics read/write operations
Demo setup diagram:
- Once the board is booted, log into the console
- Enter below command to start the BLE heart rate profile functionality.
./Start_BT.sh 1
- User will observe following console output:
- On a smartphone, download the “Microchip Bluetooth Data”(MBD) application
- Turn-On bluetooth in the smartphone settings.
- Open “Microchip Bluetooth Data” application.
- Start the “Bluetooth Smart” -> “Start Scan”.
- User will observe the “BlueZ x.xx”(where x.xx is the BlueZ version) in device list.
- Click on “BlueZ x.xx” device to connect with the device's bluetooth heart rate service.
- On successful connection with the device, the user will observe data of heart rate as shown in the following screenshot.