Microchip® Advanced Software Framework

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
WINC3400 Transparent Service Application - SAM D21 Xplained Pro Documentation

Introduction

This example demonstrates Transparent Service
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 install the Microchip Bluetooth Data application
  2. available in the 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. "uC-TRANS" to get start with the Transparent service.
  5. The application allows to send and receive the data between Mobile and WINC3400.
  6. Build the program and download it into the board.
  7. On the computer, open and configure a terminal application as the 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 demo with Transparent Service--
    * -- 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-TRANS
    * trans_init_service: primary service defined.
    * ble_trans_service_profile_init: primary service defined.
    * BLE - trans_service_advertise - Start
    * BLE Started Adv
    *

Compilation Information

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

Contact Information

For further information, visit Microchip.