Zephyr API Documentation 4.4.99
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
12
13#ifndef ZEPHYR_INCLUDE_BLUETOOTH_MESH_RPR_H_
14#define ZEPHYR_INCLUDE_BLUETOOTH_MESH_RPR_H_
15
16#include <zephyr/kernel.h>
18
19#ifdef __cplusplus
20extern "C" {
21#endif
22
28
30#define BT_MESH_RPR_UNPROV_HASH BIT(0)
31#define BT_MESH_RPR_UNPROV_ACTIVE BIT(1)
32#define BT_MESH_RPR_UNPROV_FOUND BIT(2)
33#define BT_MESH_RPR_UNPROV_REPORTED BIT(3)
34#define BT_MESH_RPR_UNPROV_EXT BIT(4)
35#define BT_MESH_RPR_UNPROV_HAS_LINK BIT(5)
36#define BT_MESH_RPR_UNPROV_EXT_ADV_RXD BIT(6)
37
39#define BT_MESH_RPR_EXT_SCAN_TIME_MIN 1
41#define BT_MESH_RPR_EXT_SCAN_TIME_MAX 21
42
57
63
72
80
90
107
115
117
118#ifdef __cplusplus
119}
120#endif
121
122#endif /* ZEPHYR_INCLUDE_BLUETOOTH_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:73
bt_mesh_rpr_status
Definition rpr.h:43
bt_mesh_rpr_scan
Definition rpr.h:58
bt_mesh_rpr_node_refresh
Definition rpr.h:64
@ BT_MESH_RPR_LINK_SENDING
Definition rpr.h:77
@ BT_MESH_RPR_LINK_IDLE
Definition rpr.h:74
@ BT_MESH_RPR_LINK_CLOSING
Definition rpr.h:78
@ BT_MESH_RPR_LINK_ACTIVE
Definition rpr.h:76
@ BT_MESH_RPR_LINK_OPENING
Definition rpr.h:75
@ BT_MESH_RPR_ERR_LINK_CLOSED_AS_CANNOT_SEND_PDU
Definition rpr.h:54
@ BT_MESH_RPR_ERR_LINK_CLOSED_BY_DEVICE
Definition rpr.h:50
@ BT_MESH_RPR_ERR_LINK_CANNOT_OPEN
Definition rpr.h:48
@ BT_MESH_RPR_SUCCESS
Definition rpr.h:44
@ BT_MESH_RPR_ERR_LINK_CLOSED_BY_CLIENT
Definition rpr.h:52
@ BT_MESH_RPR_ERR_LINK_CLOSED_AS_CANNOT_RECEIVE_PDU
Definition rpr.h:53
@ BT_MESH_RPR_ERR_INVALID_STATE
Definition rpr.h:46
@ BT_MESH_RPR_ERR_LIMITED_RESOURCES
Definition rpr.h:47
@ BT_MESH_RPR_ERR_LINK_CLOSED_AS_CANNOT_DELIVER_PDU_REPORT
Definition rpr.h:55
@ BT_MESH_RPR_ERR_LINK_OPEN_FAILED
Definition rpr.h:49
@ BT_MESH_RPR_ERR_SCANNING_CANNOT_START
Definition rpr.h:45
@ BT_MESH_RPR_ERR_LINK_CLOSED_BY_SERVER
Definition rpr.h:51
@ BT_MESH_RPR_SCAN_SINGLE
Definition rpr.h:61
@ BT_MESH_RPR_SCAN_MULTI
Definition rpr.h:60
@ BT_MESH_RPR_SCAN_IDLE
Definition rpr.h:59
@ BT_MESH_RPR_NODE_REFRESH_ADDR
Change the Device key and address.
Definition rpr.h:68
@ BT_MESH_RPR_NODE_REFRESH_COMPOSITION
Change the Device key and composition.
Definition rpr.h:70
@ BT_MESH_RPR_NODE_REFRESH_DEVKEY
Change the Device key.
Definition rpr.h:66
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:82
uint16_t addr
Unicast address of the node.
Definition rpr.h:84
uint16_t net_idx
Network index used when communicating with the node.
Definition rpr.h:86
uint8_t ttl
Time To Live value used when communicating with the node.
Definition rpr.h:88
Unprovisioned device.
Definition rpr.h:92
int8_t rssi
RSSI of unprovisioned device, as received by server.
Definition rpr.h:98
bt_mesh_prov_oob_info_t oob
Out of band information.
Definition rpr.h:100
uint8_t flags
Flags, see BT_MESH_RPR_UNPROV_* flags.
Definition rpr.h:96
uint8_t uuid[16]
Unprovisioned device UUID.
Definition rpr.h:94
uint32_t hash
URI hash in unprovisioned beacon.
Definition rpr.h:105