DPP example application.
- Note
- It is assumed that you have followed the steps in the Getting Started guide and are therefore familiar with how to build, flash, and monitor an application using the MM-IoT-SDK framework.
Definition in file dpp.c.
#include <stdio.h>
#include <string.h>
#include "mmutils.h"
#include "mmosal.h"
#include "mmwlan.h"
#include "mmconfig.h"
#include "mm_app_common.h"
Go to the source code of this file.
◆ app_init()
Main entry point to the application.
This will be invoked in a thread once operating system and hardware initialization has completed. It may return, but it does not have to.
Definition at line 99 of file dpp.c.
◆ dpp_event_handler()
Function to handle dpp events.
- Parameters
-
| dpp_event | Reference to dpp event argument structure |
| arg | User argument that was registered when mmwlan_dpp_start() was called. |
Definition at line 54 of file dpp.c.
◆ mmwlan_dpp_pb_result_to_string()
Convert a DPP push button result code to its string representation.
- Parameters
-
| result | The enumeration value of type enum mmwlan_dpp_pb_result to be converted. |
- Returns
- A constant string describing the result. If the input is not a recognized enumeration value, the string "Unknown Result" is returned.
Definition at line 33 of file dpp.c.