nRF Connect SDK API 3.3.99
Loading...
Searching...
No Matches
wifi_prov_core.h File Reference
#include <zephyr/types.h>
#include <zephyr/net_buf.h>
#include "request.pb.h"
#include "response.pb.h"
#include "result.pb.h"
#include "version.pb.h"

Go to the source code of this file.

Macros

#define INFO_MSG_MAX_LENGTH   Info_size
 
#define REQUEST_MSG_MAX_LENGTH   Request_size
 
#define RESPONSE_MSG_MAX_LENGTH   Response_size
 
#define RESULT_MSG_MAX_LENGTH   Result_size
 
#define PROV_SVC_VER   0x02
 

Functions

int wifi_prov_recv_req (struct net_buf_simple *req_stream)
 Handle received WiFi provisioning request.
 
int wifi_prov_get_info (struct net_buf_simple *info)
 Get WiFi provisioning service information.
 
int wifi_prov_init (void)
 Initialize WiFi provisioning service.
 
bool wifi_prov_state_get (void)
 Get WiFi provisioning state.
 
int wifi_prov_send_rsp (struct net_buf_simple *rsp)
 Send response to the transport layer.
 
int wifi_prov_send_result (struct net_buf_simple *result)
 Send result to the transport layer.