Select one of the symbols to view example projects that use it.
 
Outline
#define _LOCAL_H_
#include "mesh/types.h"
bt_mesh_model_subscribe_group_addr(uint16_t, uint16_t, uint16_t, uint16_t);
bt_mesh_model_unsubscribe_group_addr(uint16_t, uint16_t, uint16_t, uint16_t);
bt_mesh_node_get_local_net_key(uint16_t);
bt_mesh_node_get_local_app_key(uint16_t);
bt_mesh_node_local_net_key_add(uint16_t, const uint8_t *);
bt_mesh_node_local_app_key_add(uint16_t, uint16_t, const uint8_t *);
bt_mesh_node_bind_app_key_to_model(uint16_t, uint16_t, uint16_t, uint16_t);
Files
loading (3/5)...
SourceVuESP-IDF Framework and ExamplesESP-IDFcomponents/bt/esp_ble_mesh/core/local.h
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
/* Bluetooth Mesh */ /* * SPDX-FileCopyrightText: 2017 Intel Corporation * SPDX-FileContributor: 2020-2021 Espressif Systems (Shanghai) CO LTD * * SPDX-License-Identifier: Apache-2.0 *//* ... */ #ifndef _LOCAL_H_ #define _LOCAL_H_ #include "mesh/types.h" #ifdef __cplusplus extern "C" { #endif int bt_mesh_model_subscribe_group_addr(uint16_t elem_addr, uint16_t mod_id, uint16_t cid, uint16_t group_addr); int bt_mesh_model_unsubscribe_group_addr(uint16_t elem_addr, uint16_t cid, uint16_t mod_id, uint16_t group_addr); const uint8_t *bt_mesh_node_get_local_net_key(uint16_t net_idx); const uint8_t *bt_mesh_node_get_local_app_key(uint16_t app_idx); int bt_mesh_node_local_net_key_add(uint16_t net_idx, const uint8_t net_key[16]); int bt_mesh_node_local_app_key_add(uint16_t net_idx, uint16_t app_idx, const uint8_t app_key[16]); int bt_mesh_node_bind_app_key_to_model(uint16_t elem_addr, uint16_t mod_id, uint16_t cid, uint16_t app_idx); #if CONFIG_BLE_MESH_DF_SRV int bt_mesh_enable_directed_forwarding(uint16_t net_idx, bool directed_forwarding, bool directed_forwarding_relay);/* ... */ #endif #ifdef __cplusplus }{...} #endif /* ... */ #endif /* _LOCAL_H_ */
Details