Microchip® Advanced Software Framework

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
WINC1500 Wi-Fi Provisioning Example for SAMD21 XPlained Pro Documentation

Introduction

This example demonstrates the use of the WINC1500 with the SAMD21 Xplained Pro board to start Wi-Fi provisioning mode.
It uses the following hardware:

  • the SAMD21 Xplained Pro.
  • the WINC1500 on EXT1.

Main Files

  • main.c : Initialize the WINC1500 and start Provision Mode.

Usage

  1. Build the program and download it into the board.
  2. 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
    *
  3. Start the application.
  4. In the terminal window, the following text should appear:
    * -- WINC1500 AP provision example --
    * -- Compiled: xxx xx xxxx xx:xx:xx --
    * AP Provision mode started.
    * On the android device, connect to WINC1500_PROVISION_AP then run setting app.
    * socket_cb: Ready to listen.
    * Wi-Fi connected. IP is xxx.xxx.xxx.xxx
    * socket_cb: Client socket is created.
    * Disable to AP
    * Connecting to XXXXXX.
    * wifi_cb: CONNECTED
    * Wi-Fi connected. IP is xxx.xxx.xxx.xxx
    *

Compilation Information

This software was written for the GNU GCC compiler using Atmel Studio 6.2 Other compilers may or may not work.

Contact Information

For further information, visit Microchip.