Wi-Fi Protected Setup

group LWESP_WPS

WPS function on ESP device.

Functions

lwespr_t lwesp_wps_set_config(uint8_t en, const lwesp_api_cmd_evt_fn evt_fn, void *const evt_arg, const uint32_t blocking)

Configure WPS function on ESP device.

Return

lwespOK on success, member of lwespr_t enumeration otherwise

Parameters
  • [in] en: Set to 1 to enable WPS or 0 to disable WPS

  • [in] evt_fn: Callback function called when command has finished. Set to NULL when not used

  • [in] evt_arg: Custom argument for event callback function

  • [in] blocking: Status whether command should be blocking or not