BluetoothHeartRateProfile


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.

  1. Before running this demo, the DUT should be in the STA mode. Kindly follow the steps in WebBasedWiFiProvisioning section to ensure the DUT is provisioned with the Wi-Fi credentials of the home AP.
  2. Once the board is booted in STA mode, log into the console
  3. Enter below command to start the BLE heart rate profile functionality.
    sh /root/Start_BT.sh 1
  4. User will observe following console output:
    hci0: Type: Primary Bus: UART
    BD Address: F8:F0:05:C2:42:DD ACL MTU: 27:30 SCO MTU: 0:0
    UP RUNNING
    RX bytes:396 acl:0 sco:0 events:26 errors:0
    TX bytes:200 acl:0 sco:0 commands:26 errors:0
    Started listening on ATT channel. Waiting for connections
  5. In smartphone mobile, download the “Microchip Bluetooth Data” application
  6. Turn-On Smartphone Bluetooth.
  7. Goto “Microchip Bluetooth Data” application.
  8. Start the “Bluetooth Smart” -> “Start Scan”.
  9. User will observe the “BlueZ X” in device list.
    ble_scanner.jpg
  10. Click on “BlueZ X” device for connection. Where X-> indicates the BlueZ version.
  11. On connecting with device, user will observe data of heart rate.
    heartrate.jpg
Topic attachments
I Attachment Action Size Date Who Comment
JPEGjpg ble_scanner.jpg manage 24.8 K 2020-04-16 - 03:35 HemanthTenkod  
JPEGjpg heartrate.jpg manage 12.5 K 2020-04-16 - 03:35 HemanthTenkod  
r3 - 26 May 2020 - 16:45:33 - TWikiAdminUser
 
Linux & Open Source related information for AT91 Smart ARM Microcontrollers

Copyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.

Linux® is the registered trademark of Linus Torvalds in the U.S. and other countries.

Atmel® and others, are registered trademarks or trademarks of Atmel Corporation or its subsidiaries. This site is powered by the TWiki collaboration platform

ARM® and others are registered trademarks or trademarks of ARM Ltd. Other terms and product names may be trademarks of others.

Ideas, requests, contributions ? Connect to LinksToCommunities page.

Syndicate this siteRSS ATOM