Microchip® Advanced Software Framework

main.c File Reference

WINC1500 AP Scan Example.

Copyright (c) 2016-2018 Microchip Technology Inc. and its subsidiaries.

#include "asf.h"
#include <string.h>
#include "main.h"
#include "driver/include/m2m_wifi.h"
#include "driver/source/nmasic.h"

Macros

#define STRING_EOL   "\r\n"
 
#define STRING_HEADER
 

Functions

static void configure_console (void)
 Configure UART console. More...
 
int main (void)
 Main application function. More...
 
static void wifi_cb (uint8_t u8MsgType, void *pvMsg)
 Callback to get the Wi-Fi status update. More...
 

Variables

static uint8_t num_founded_ap = 0
 Number of APs found. More...
 
static uint8_t scan_request_index = 0
 Index of scan list to request scan result. More...
 

#define STRING_EOL   "\r\n"
#define STRING_HEADER
Value:
"-- WINC1500 AP scan example --"STRING_EOL \
"-- "BOARD_NAME " --"STRING_EOL \
"-- Compiled: "__DATE__ " "__TIME__ " --"STRING_EOL
#define BOARD_NAME
Name of the board.
Definition: same70_xplained.h:75
#define STRING_EOL
Definition: main.c:92

Referenced by main().

static void configure_console ( void  )
static
int main ( void  )
static void wifi_cb ( uint8_t  u8MsgType,
void *  pvMsg 
)
static

uint8_t num_founded_ap = 0
static

Number of APs found.

Referenced by wifi_cb().

uint8_t scan_request_index = 0
static

Index of scan list to request scan result.

Referenced by wifi_cb().