ESP-AT Lib
Advanced AT parser for ESP8266 WiFi module

WPS function on ESP device. More...

Functions

espr_t esp_wps_configure (uint8_t en, const esp_api_cmd_evt_fn evt_fn, void *const evt_arg, const uint32_t blocking)
 Configure WPS function on ESP device. More...
 

Detailed Description

WPS function on ESP device.

Function Documentation

◆ esp_wps_configure()

espr_t esp_wps_configure ( uint8_t  en,
const esp_api_cmd_evt_fn  evt_fn,
void *const  evt_arg,
const uint32_t  blocking 
)

Configure WPS function on ESP device.

Parameters
[in]enSet to 1 to enable WPS or 0 to disable WPS
[in]evt_fnCallback function called when command has finished. Set to NULL when not used
[in]evt_argCustom argument for event callback function
[in]blockingStatus whether command should be blocking or not
Returns
espOK on success, member of espr_t enumeration otherwise