7#ifndef ZEPHYR_INCLUDE_NET_WIFI_PROV_H_
8#define ZEPHYR_INCLUDE_NET_WIFI_PROV_H_
10#include <zephyr/types.h>
11#include <zephyr/net_buf.h>
13#include "request.pb.h"
14#include "response.pb.h"
16#include "version.pb.h"
29#define INFO_MSG_MAX_LENGTH Info_size
30#define REQUEST_MSG_MAX_LENGTH Request_size
31#define RESPONSE_MSG_MAX_LENGTH Response_size
32#define RESULT_MSG_MAX_LENGTH Result_size
35#define PROV_SVC_VER 0x02
int wifi_prov_send_result(struct net_buf_simple *result)
Send result to the transport layer.
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_send_rsp(struct net_buf_simple *rsp)
Send response to the transport layer.
bool wifi_prov_state_get(void)
Get WiFi provisioning state.
int wifi_prov_init(void)
Initialize WiFi provisioning service.