nRF Connect SDK API 0.1.0
Loading...
Searching...
No Matches
wifi_provisioning.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2022 Nordic Semiconductor ASA
3 *
4 * SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5 */
6
7#ifndef WIFI_PROVISIONING_H_
8#define WIFI_PROVISIONING_H_
9
10#include <zephyr/types.h>
11#include <zephyr/bluetooth/uuid.h>
12
19#ifdef __cplusplus
20extern "C" {
21#endif
22
23/* WiFi Provisioning Service UUID */
24#define BT_UUID_PROV_VAL \
25 BT_UUID_128_ENCODE(0x14387800, 0x130c, 0x49e7, 0xb877, 0x2881c89cb258)
26#define BT_UUID_PROV \
27 BT_UUID_DECLARE_128(BT_UUID_PROV_VAL)
28
29/* Information characteristic UUID */
30#define BT_UUID_PROV_INFO_VAL \
31 BT_UUID_128_ENCODE(0x14387801, 0x130c, 0x49e7, 0xb877, 0x2881c89cb258)
32#define BT_UUID_PROV_INFO \
33 BT_UUID_DECLARE_128(BT_UUID_PROV_INFO_VAL)
34
35/* Control Point characteristic UUID */
36#define BT_UUID_PROV_CONTROL_POINT_VAL \
37 BT_UUID_128_ENCODE(0x14387802, 0x130c, 0x49e7, 0xb877, 0x2881c89cb258)
38#define BT_UUID_PROV_CONTROL_POINT \
39 BT_UUID_DECLARE_128(BT_UUID_PROV_CONTROL_POINT_VAL)
40
41/* Data out characteristic UUID */
42#define BT_UUID_PROV_DATA_OUT_VAL \
43 BT_UUID_128_ENCODE(0x14387803, 0x130c, 0x49e7, 0xb877, 0x2881c89cb258)
44#define BT_UUID_PROV_DATA_OUT \
45 BT_UUID_DECLARE_128(BT_UUID_PROV_DATA_OUT_VAL)
46
52#define PROV_SVC_VER 0x01
53
60
67
68#ifdef __cplusplus
69}
70#endif
71
76#endif /* WIFI_PROVISIONING_H_ */
bool bt_wifi_prov_state_get(void)
Get provisioning state.
int bt_wifi_prov_init(void)
Initialize the provisioning module.