network-provisioning-zephyr
Zephyr port of Espressif's network provisioning protocol (Wi-Fi over BLE / SoftAP / console)
Loading...
Searching...
No Matches
scheme_ble.h
Go to the documentation of this file.
1/*
2 * BLE provisioning scheme customization.
3 *
4 * Optional knobs for the BLE (GATT) transport, mirroring upstream Espressif's
5 * scheme_ble.h. Call these after the manager is initialised and before
6 * network_prov_mgr_start_provisioning() — the values are applied when the
7 * advertising payload and GATT service are built at start.
8 *
9 * SPDX-License-Identifier: Apache-2.0
10 */
11
12#ifndef NETWORK_PROVISIONING_SCHEME_BLE_H_
13#define NETWORK_PROVISIONING_SCHEME_BLE_H_
14
15#include <stddef.h>
16#include <stdint.h>
17
19
20#ifdef __cplusplus
21extern "C" {
22#endif
23
30
52int network_prov_scheme_ble_set_service_uuid(const uint8_t uuid128[16]);
53
63int network_prov_scheme_ble_set_mfg_data(const uint8_t *data, size_t len);
64
65#ifdef __cplusplus
66}
67#endif
68
69#endif /* NETWORK_PROVISIONING_SCHEME_BLE_H_ */
int network_prov_scheme_ble_set_service_uuid(const uint8_t uuid128[16])
Override the 128-bit GATT service UUID the device advertises and serves.
const struct network_prov_scheme network_prov_scheme_ble
BLE (GATT) transport scheme object.
int network_prov_scheme_ble_set_mfg_data(const uint8_t *data, size_t len)
Set manufacturer-specific data added to the BLE scan response, so a client can match the device on it...
Provisioning transport (scheme) vtable.