Searched refs:bt_mesh_subnet (Results 1 – 17 of 17) sorted by relevance
/AliOS-Things-master/components/ble_mesh/bt_mesh/core/inc/ |
A D | net.h | 49 struct bt_mesh_subnet { struct 265 struct bt_mesh_subnet sub[CONFIG_BT_MESH_SUBNET_COUNT]; 296 struct bt_mesh_subnet *sub; 311 struct bt_mesh_subnet *sub; 330 u8_t bt_mesh_net_flags(struct bt_mesh_subnet *sub); 332 bool bt_mesh_kr_update(struct bt_mesh_subnet *sub, u8_t new_kr, bool new_key); 334 void bt_mesh_net_revoke_keys(struct bt_mesh_subnet *sub); 336 int bt_mesh_net_beacon_update(struct bt_mesh_subnet *sub); 342 void bt_mesh_net_sec_update(struct bt_mesh_subnet *sub); 344 struct bt_mesh_subnet *bt_mesh_subnet_get(u16_t net_idx); [all …]
|
A D | proxy.h | 25 void bt_mesh_proxy_beacon_send(struct bt_mesh_subnet *sub); 32 void bt_mesh_proxy_identity_start(struct bt_mesh_subnet *sub); 33 void bt_mesh_proxy_identity_stop(struct bt_mesh_subnet *sub);
|
A D | settings.h | 16 void bt_mesh_store_subnet(struct bt_mesh_subnet *sub, bool p_key); 25 void bt_mesh_clear_subnet(struct bt_mesh_subnet *sub, bool p_key);
|
A D | beacon.h | 19 void bt_mesh_beacon_create(struct bt_mesh_subnet *sub,
|
A D | friend.h | 27 void bt_mesh_friend_clear_incomplete(struct bt_mesh_subnet *sub, u16_t src,
|
A D | provisioner_main.h | 60 struct bt_mesh_subnet *provisioner_subnet_get(u16_t net_idx);
|
A D | foundation.h | 148 void bt_mesh_subnet_del(struct bt_mesh_subnet *sub, bool store);
|
/AliOS-Things-master/components/ble_mesh/bt_mesh/core/src/ |
A D | beacon.c | 43 static struct bt_mesh_subnet *cache_check(u8_t data[21]) in cache_check() 48 struct bt_mesh_subnet *sub = &bt_mesh.sub[i]; in cache_check() 62 static void cache_add(u8_t data[21], struct bt_mesh_subnet *sub) in cache_add() 69 struct bt_mesh_subnet *sub = user_data; in beacon_complete() 92 void bt_mesh_beacon_create(struct bt_mesh_subnet *sub, struct net_buf_simple *buf) in bt_mesh_beacon_create() 137 struct bt_mesh_subnet *sub = &bt_mesh.sub[i]; in secure_beacon_send() 247 struct bt_mesh_subnet *sub = &bt_mesh.sub[i]; in update_beacon_observation() 285 struct bt_mesh_subnet *sub; in secure_beacon_recv() 436 struct bt_mesh_subnet *sub = &bt_mesh.sub[i]; in bt_mesh_beacon_enable()
|
A D | net.c | 175 struct bt_mesh_subnet *bt_mesh_subnet_get(u16_t net_idx) in bt_mesh_subnet_get() 293 int friend_cred_update(struct bt_mesh_subnet *sub) in friend_cred_update() 382 int friend_cred_get(struct bt_mesh_subnet *sub, u16_t addr, u8_t *nid, const u8_t **enc, const u8_t… in friend_cred_get() 423 u8_t bt_mesh_net_flags(struct bt_mesh_subnet *sub) in bt_mesh_net_flags() 438 int bt_mesh_net_beacon_update(struct bt_mesh_subnet *sub) in bt_mesh_net_beacon_update() 458 struct bt_mesh_subnet *sub; in bt_mesh_net_create() 510 void bt_mesh_net_revoke_keys(struct bt_mesh_subnet *sub) in bt_mesh_net_revoke_keys() 530 bool bt_mesh_kr_update(struct bt_mesh_subnet *sub, u8_t new_kr, bool new_key) in bt_mesh_kr_update() 621 void bt_mesh_net_sec_update(struct bt_mesh_subnet *sub) in bt_mesh_net_sec_update() 975 struct bt_mesh_subnet *sub = &bt_mesh.sub[i]; in bt_mesh_subnet_find() [all …]
|
A D | proxy.c | 342 struct bt_mesh_subnet *sub = &bt_mesh.sub[i]; in proxy_send_beacons() 350 void bt_mesh_proxy_beacon_send(struct bt_mesh_subnet *sub) in bt_mesh_proxy_beacon_send() 381 void bt_mesh_proxy_identity_stop(struct bt_mesh_subnet *sub) in bt_mesh_proxy_identity_stop() 398 struct bt_mesh_subnet *sub = &bt_mesh.sub[i]; in bt_mesh_proxy_identity_enable() 430 struct bt_mesh_subnet *sub = &bt_mesh.sub[i]; in bt_mesh_proxy_identity_disable() 1098 static int node_id_adv(struct bt_mesh_subnet *sub) in node_id_adv() 1139 static int net_id_adv(struct bt_mesh_subnet *sub) in net_id_adv() 1168 static bool advertise_subnet(struct bt_mesh_subnet *sub) in advertise_subnet() 1177 static struct bt_mesh_subnet *next_sub(void) in next_sub() 1182 struct bt_mesh_subnet *sub; in next_sub() [all …]
|
A D | provisioner_main.c | 251 struct bt_mesh_subnet *sub = NULL; in provisioner_upper_init() 285 sub = osi_calloc(sizeof(struct bt_mesh_subnet)); in provisioner_upper_init() 362 struct bt_mesh_subnet *sub = NULL; in provisioner_net_key_get() 471 struct bt_mesh_subnet *sub = NULL; 780 struct bt_mesh_subnet *sub = NULL; in provisioner_check_net_key() 802 struct bt_mesh_subnet *sub = NULL; in provisioner_check_net_idx() 1025 struct bt_mesh_subnet *sub = NULL; in bt_mesh_provisioner_local_net_key_add() 1068 sub = osi_calloc(sizeof(struct bt_mesh_subnet)); in bt_mesh_provisioner_local_net_key_add() 1124 struct bt_mesh_subnet *sub = NULL; in bt_mesh_provisioner_local_net_key_get() 1151 struct bt_mesh_subnet *sub = NULL; in bt_mesh_provisioner_local_net_key_delete() [all …]
|
A D | cfg_srv.c | 424 struct bt_mesh_subnet *sub; in app_key_set() 881 struct bt_mesh_subnet *sub; in gatt_proxy_set() 2095 struct bt_mesh_subnet *sub; in net_key_add() 2179 struct bt_mesh_subnet *sub; in net_key_update() 2267 struct bt_mesh_subnet *sub; in net_key_del() 2347 struct bt_mesh_subnet *sub; in node_identity_get() 2383 struct bt_mesh_subnet *sub; in node_identity_set() 2687 struct bt_mesh_subnet *sub; in friend_set() 2775 struct bt_mesh_subnet *sub; in lpn_hb_send() 2802 struct bt_mesh_subnet *sub; in krp_get() [all …]
|
A D | settings.c | 324 struct bt_mesh_subnet *sub; in net_key_set() 845 static int subnet_init(struct bt_mesh_subnet *sub) in subnet_init() 953 struct bt_mesh_subnet *sub = &bt_mesh.sub[i]; in mesh_commit() 1312 static void store_net_key(struct bt_mesh_subnet *sub, bool p_key) in store_net_key() 1408 struct bt_mesh_subnet *sub; in store_pending_keys() 1703 void bt_mesh_store_subnet(struct bt_mesh_subnet *sub, bool p_key) in bt_mesh_store_subnet() 1776 void bt_mesh_clear_subnet(struct bt_mesh_subnet *sub, bool p_key) in bt_mesh_clear_subnet()
|
A D | lpn.c | 492 struct bt_mesh_subnet *sub = rx->sub; in bt_mesh_lpn_friend_offer() 928 struct bt_mesh_subnet *sub = rx->sub; in bt_mesh_lpn_friend_update()
|
A D | friend.c | 331 struct bt_mesh_subnet *sub; in create_friend_pdu() 428 struct bt_mesh_subnet *sub = bt_mesh_subnet_get(frnd->net_idx); in encode_update() 1276 void bt_mesh_friend_clear_incomplete(struct bt_mesh_subnet *sub, u16_t src, u16_t dst, u64_t *seq_a… in bt_mesh_friend_clear_incomplete()
|
A D | transport.c | 91 struct bt_mesh_subnet *sub; 105 struct bt_mesh_subnet *sub; 1021 static int send_ack(struct bt_mesh_subnet *sub, u16_t src, u16_t dst, u8_t ttl, u64_t *seq_auth, bt… in send_ack()
|
/AliOS-Things-master/components/ble_mesh/bt_shell/bt_mesh/ |
A D | shell.c | 1348 struct bt_mesh_subnet *sub; in cmd_net_key_update() 1393 struct bt_mesh_subnet *sub; in cmd_app_key_update() 1468 struct bt_mesh_subnet *sub = NULL; in cmd_krp_get() 1508 struct bt_mesh_subnet *sub; in cmd_local_revoke_keys()
|
Completed in 52 milliseconds