Microchip® Advanced Software Framework

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
WINC3400 Heart rate Application - SAME70 XPlained Pro Documentation

Introduction

This example demonstrates BLE Heart rate Profile via BLE using the WINC3400
It uses the following hardware:

  • SAM Xplained Pro.
  • the WINC3400 module on EXT1.
  • thirdparty Android device.

Main Files

Usage

  1. As a first step, it is required that the user installs the Microchip Bluetooth Data application
  2. available in the Android Play store on to an any Android device.
  3. Then, power up the SAM board and run the Android application: perform a scan, select
  4. "MCHP-HRT" to get start with the Heart rate service.
  5. The application show the Device location, Heart rate in bpm and Energy expended in KJ details.
  6. Build the program and download it into the board.
  7. On the computer, open and configure a terminal application as follows.
    * Baud Rate : 115200
    * Data : 8bit
    * Parity bit : none
    * Stop bit : 1bit
    * Flow control : none
    *
  8. Start the application.
  9. In the terminal window, the following text should appear:
    * -- Wifi BLE Provisioning demo with Heart Rate--
    * -- SAMXXX_XPLAINED_PRO --
    * -- Compiled: Jun xx xxxx xx:xx:xx --
    *
    * (APP)(INFO)Chip ID 3400d2
    * (APP)(INFO)Curr driver ver: x.x.x
    * (APP)(INFO)Curr driver HIF Level: (2) x.x
    * (APP)(INFO)Fw HIF: 8104
    * (APP)(INFO)Firmware HIF (2) : x.x
    * (APP)(INFO)Firmware ver : x.x.x
    * (APP)(INFO)Firmware Build <Month> DD YYYY Time xx:xx:xx
    * (APP)(INFO)Ota HIF: xxxx
    * (APP)(INFO)OTP MAC
    * (APP)(INFO)MAC Address: xx:xx:xx:xx:xx:xx
    * (APP)(INFO)M2M_NO_PS
    * (APP)(INFO)POWER SAVE 0
    *
    * BLE is initializing
    *
    * Device Name: MCHP-BLE
    * Initializing Heart Rate Service Application
    * BLE Started Adv
    *
    * Heart Rate: xx bpm RR Values:(xxx,xxx)msec User Status:Idle/Walling/Brisk Walking/Running
    *

Compilation Information

This software was written for the GNU GCC compiler using Atmel Studio 7.0 Other compilers are not guaranteed to work.

Contact Information

For further information, visit Microchip.