Introduction
This example demonstrates the use of the WINC1500 with the SAMD21 Xplained Pro board to set the PS (Power Save) mode.
It uses the following hardware:
- the SAMD21 Xplained Pro.
- the WINC1500 on EXT1.
Main Files
- main.c : Initialize the WINC1500 and set PS Mode and the get RSSI for the connected AP.
Usage
- Configure below code in the config main.h for AP information to be connected.
- Configure below code in the config main.h for PowerSave mode.
- Build the program and download it into the board.
- 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
*
- Start the application.
- In the terminal window, the following text should appear:
* -- WINC1500 Power Save mode example --
* -- Compiled: xxx xx xxxx xx:xx:xx --
*
* Wi-Fi connected
* Wi-Fi IP is xxx.xxx.xxx.xxx
* RSSI for the current connected AP (-xx)
*
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.