Zephyr Project API 3.7.0
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
rpr.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2020 Nordic Semiconductor ASA
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
7#ifndef ZEPHYR_INCLUDE_BT_MESH_RPR_H__
8#define ZEPHYR_INCLUDE_BT_MESH_RPR_H__
9
10#include <zephyr/kernel.h>
12
13#ifdef __cplusplus
14extern "C" {
15#endif
16
24#define BT_MESH_RPR_UNPROV_HASH BIT(0)
25#define BT_MESH_RPR_UNPROV_ACTIVE BIT(1)
26#define BT_MESH_RPR_UNPROV_FOUND BIT(2)
27#define BT_MESH_RPR_UNPROV_REPORTED BIT(3)
28#define BT_MESH_RPR_UNPROV_EXT BIT(4)
29#define BT_MESH_RPR_UNPROV_HAS_LINK BIT(5)
30#define BT_MESH_RPR_UNPROV_EXT_ADV_RXD BIT(6)
33#define BT_MESH_RPR_EXT_SCAN_TIME_MIN 1
35#define BT_MESH_RPR_EXT_SCAN_TIME_MAX 21
36
51
57
66
74
84
101
109
112#ifdef __cplusplus
113}
114#endif
115
116#endif /* ZEPHYR_INCLUDE_BT_MESH_RPR_H__ */
bt_mesh_prov_oob_info_t
Out of Band information location.
Definition main.h:69
bt_mesh_rpr_link_state
Definition rpr.h:67
bt_mesh_rpr_status
Definition rpr.h:37
bt_mesh_rpr_scan
Definition rpr.h:52
bt_mesh_rpr_node_refresh
Definition rpr.h:58
@ BT_MESH_RPR_LINK_SENDING
Definition rpr.h:71
@ BT_MESH_RPR_LINK_IDLE
Definition rpr.h:68
@ BT_MESH_RPR_LINK_CLOSING
Definition rpr.h:72
@ BT_MESH_RPR_LINK_ACTIVE
Definition rpr.h:70
@ BT_MESH_RPR_LINK_OPENING
Definition rpr.h:69
@ BT_MESH_RPR_ERR_LINK_CLOSED_AS_CANNOT_SEND_PDU
Definition rpr.h:48
@ BT_MESH_RPR_ERR_LINK_CLOSED_BY_DEVICE
Definition rpr.h:44
@ BT_MESH_RPR_ERR_LINK_CANNOT_OPEN
Definition rpr.h:42
@ BT_MESH_RPR_SUCCESS
Definition rpr.h:38
@ BT_MESH_RPR_ERR_LINK_CLOSED_BY_CLIENT
Definition rpr.h:46
@ BT_MESH_RPR_ERR_LINK_CLOSED_AS_CANNOT_RECEIVE_PDU
Definition rpr.h:47
@ BT_MESH_RPR_ERR_INVALID_STATE
Definition rpr.h:40
@ BT_MESH_RPR_ERR_LIMITED_RESOURCES
Definition rpr.h:41
@ BT_MESH_RPR_ERR_LINK_CLOSED_AS_CANNOT_DELIVER_PDU_REPORT
Definition rpr.h:49
@ BT_MESH_RPR_ERR_LINK_OPEN_FAILED
Definition rpr.h:43
@ BT_MESH_RPR_ERR_SCANNING_CANNOT_START
Definition rpr.h:39
@ BT_MESH_RPR_ERR_LINK_CLOSED_BY_SERVER
Definition rpr.h:45
@ BT_MESH_RPR_SCAN_SINGLE
Definition rpr.h:55
@ BT_MESH_RPR_SCAN_MULTI
Definition rpr.h:54
@ BT_MESH_RPR_SCAN_IDLE
Definition rpr.h:53
@ BT_MESH_RPR_NODE_REFRESH_ADDR
Change the Device key and address.
Definition rpr.h:62
@ BT_MESH_RPR_NODE_REFRESH_COMPOSITION
Change the Device key and composition.
Definition rpr.h:64
@ BT_MESH_RPR_NODE_REFRESH_DEVKEY
Change the Device key.
Definition rpr.h:60
Public kernel APIs.
Bluetooth Mesh Protocol APIs.
__UINT32_TYPE__ uint32_t
Definition stdint.h:90
__UINT8_TYPE__ uint8_t
Definition stdint.h:88
__UINT16_TYPE__ uint16_t
Definition stdint.h:89
__INT8_TYPE__ int8_t
Definition stdint.h:72
Remote provisioning actor, as seen across the mesh.
Definition rpr.h:76
uint16_t addr
Unicast address of the node.
Definition rpr.h:78
uint16_t net_idx
Network index used when communicating with the node.
Definition rpr.h:80
uint8_t ttl
Time To Live value used when communicating with the node.
Definition rpr.h:82
Unprovisioned device.
Definition rpr.h:86
int8_t rssi
RSSI of unprovisioned device, as received by server.
Definition rpr.h:92
bt_mesh_prov_oob_info_t oob
Out of band information.
Definition rpr.h:94
uint8_t flags
Flags, see BT_MESH_RPR_UNPROV_* flags.
Definition rpr.h:90
uint8_t uuid[16]
Unprovisioned device UUID.
Definition rpr.h:88
uint32_t hash
URI hash in unprovisioned beacon.
Definition rpr.h:99