WINC3400 MAC Address Example.
Copyright (c) 2017-2019 Microchip Technology Inc. and its subsidiaries.
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... | |
Variables | |
static struct usart_module | cdc_uart_module |
UART module for debug. More... | |
static uint8_t | mac_addr [M2M_MAC_ADDRES_LEN] |
Mac address information. More... | |
const char | main_user_defined_mac_address [] = {0xf8, 0xf0, 0x05, 0x20, 0x0b, 0x09} |
User defined MAC Address. More... | |
#define STRING_EOL "\r\n" |
#define STRING_HEADER |
Referenced by main().
|
static |
Configure UART console.
References usart_config::baudrate, cdc_uart_module, EDBG_CDC_MODULE, EDBG_CDC_SERCOM_MUX_SETTING, EDBG_CDC_SERCOM_PINMUX_PAD0, EDBG_CDC_SERCOM_PINMUX_PAD1, EDBG_CDC_SERCOM_PINMUX_PAD2, EDBG_CDC_SERCOM_PINMUX_PAD3, usart_config::mux_setting, usart_config::pinmux_pad0, usart_config::pinmux_pad1, usart_config::pinmux_pad2, usart_config::pinmux_pad3, usart_enable(), and usart_get_config_defaults().
Referenced by main().
int main | ( | void | ) |
Main application function.
Application entry point. Initialize board and WINC3400 Wi-Fi module.
References configure_console(), M2M_SUCCESS, m2m_wifi_get_mac_address(), m2m_wifi_get_otp_mac_address(), m2m_wifi_init(), m2m_wifi_set_mac_address(), mac_addr, main_user_defined_mac_address, nm_bsp_init(), STRING_HEADER, and system_init().
|
static |
UART module for debug.
Referenced by configure_console().
|
static |
Mac address information.
Referenced by main().
const char main_user_defined_mac_address[] = {0xf8, 0xf0, 0x05, 0x20, 0x0b, 0x09} |
User defined MAC Address.
Referenced by main().