Morse Micro IoT SDK  2.12.3

Detailed Description

Structure passed back when a DPP event occurs.

Warning
BETA NOTICE: This is a beta API that is under development; breaking changes may be introduced in future releases.

Definition at line 1686 of file mmwlan.h.

#include <mmwlan.h>

Data Fields

enum mmwlan_dpp_event event
 The DPP event that has occurred. More...
 
union {
   struct {
      enum mmwlan_dpp_pb_result   result
 Result of DPP push button. More...
 
   }   pb_result
 Argument for MMWLAN_DPP_EVT_PB_RESULT event.
 
   struct {
      const uint8_t *   ssid
 SSID of the AP to connect to. More...
 
      uint16_t   ssid_len
 Length of the SSID. More...
 
      const char *   passphrase
 Passphrase, NULL terminated. More...
 
   }   conf_received
 Argument for MMWLAN_DPP_EVT_CONF_RECEIVED event.
 
   struct {
      const uint8_t *   peer_mac
 MAC address of the discovered PB configurator. More...
 
   }   pb_discovery
 Argument for MMWLAN_DPP_EVT_PB_DISCOVERY event.
 
   struct {
      const uint8_t *   peer_mac
 MAC address of the configurator that sent the authentication request. More...
 
   }   auth_req_rx
 Argument for MMWLAN_DPP_EVT_AUTH_REQ_RX event.
 
   struct {
      bool   initiator
 true if this device initiated the authentication exchange, false if it responded. More...
 
   }   auth_success
 Argument for MMWLAN_DPP_EVT_AUTH_SUCCESS event.
 
   struct {
      enum mmwlan_dpp_auth_failure_reason   reason
 Reason for the authentication failure. More...
 
   }   auth_failure
 Argument for MMWLAN_DPP_EVT_AUTH_FAILURE event.
 
   struct {
      enum mmwlan_dpp_conf_failure_reason   reason
 Reason for the configuration failure. More...
 
   }   conf_failed
 Argument for MMWLAN_DPP_EVT_CONF_FAILED event.
 
args
 Union of arguments for DPP events.
 

Field Documentation

◆ event

enum mmwlan_dpp_event mmwlan_dpp_cb_args::event

The DPP event that has occurred.

Definition at line 1689 of file mmwlan.h.

◆ initiator

bool mmwlan_dpp_cb_args::initiator

true if this device initiated the authentication exchange, false if it responded.

Definition at line 1732 of file mmwlan.h.

◆ passphrase

const char* mmwlan_dpp_cb_args::passphrase

Passphrase, NULL terminated.

May be NULL.

Definition at line 1709 of file mmwlan.h.

◆ peer_mac

const uint8_t* mmwlan_dpp_cb_args::peer_mac

MAC address of the discovered PB configurator.

MAC address of the configurator that sent the authentication request.

Valid for callback duration only.

Definition at line 1716 of file mmwlan.h.

◆ reason [1/2]

enum mmwlan_dpp_auth_failure_reason mmwlan_dpp_cb_args::reason

Reason for the authentication failure.

Definition at line 1739 of file mmwlan.h.

◆ reason [2/2]

enum mmwlan_dpp_conf_failure_reason mmwlan_dpp_cb_args::reason

Reason for the configuration failure.

Definition at line 1746 of file mmwlan.h.

◆ result

enum mmwlan_dpp_pb_result mmwlan_dpp_cb_args::result

Result of DPP push button.

Definition at line 1698 of file mmwlan.h.

◆ ssid

const uint8_t* mmwlan_dpp_cb_args::ssid

SSID of the AP to connect to.

May be NULL.

Definition at line 1705 of file mmwlan.h.

◆ ssid_len

uint16_t mmwlan_dpp_cb_args::ssid_len

Length of the SSID.

Definition at line 1707 of file mmwlan.h.


The documentation for this struct was generated from the following file: