/Zephyr-Core-3.4.0/tests/bsim/bluetooth/mesh/src/ |
D | friendship_common.c | 54 static void friend_established(uint16_t net_idx, uint16_t lpn_addr, in friend_established() argument 57 LOG_INF("Friend: established with 0x%04x", lpn_addr); in friend_established() 58 bt_mesh_test_friend_lpn_addr = lpn_addr; in friend_established() 62 static void friend_terminated(uint16_t net_idx, uint16_t lpn_addr) in friend_terminated() argument 64 LOG_INF("Friend: terminated with 0x%04x", lpn_addr); in friend_terminated() 68 static void friend_polled(uint16_t net_idx, uint16_t lpn_addr) in friend_polled() argument 70 LOG_INF("Friend: Poll from 0x%04x", lpn_addr); in friend_polled()
|
/Zephyr-Core-3.4.0/include/zephyr/bluetooth/mesh/ |
D | main.h | 727 void (*established)(uint16_t net_idx, uint16_t lpn_addr, 738 void (*terminated)(uint16_t net_idx, uint16_t lpn_addr); 751 void (*polled)(uint16_t net_idx, uint16_t lpn_addr); 842 int bt_mesh_friend_terminate(uint16_t lpn_addr);
|
/Zephyr-Core-3.4.0/subsys/bluetooth/mesh/ |
D | transport.h | 61 uint16_t lpn_addr; member 66 uint16_t lpn_addr; member
|
D | friend.c | 96 struct bt_mesh_friend *bt_mesh_friend_find(uint16_t net_idx, uint16_t lpn_addr, in bt_mesh_friend_find() argument 101 LOG_DBG("net_idx 0x%04x lpn_addr 0x%04x", net_idx, lpn_addr); in bt_mesh_friend_find() 119 if (is_lpn_unicast(frnd, lpn_addr)) { in bt_mesh_friend_find() 242 uint16_t lpn_addr, lpn_counter; in bt_mesh_friend_clear() local 256 lpn_addr = sys_be16_to_cpu(msg->lpn_addr); in bt_mesh_friend_clear() 259 LOG_DBG("LPN addr 0x%04x counter 0x%04x", lpn_addr, lpn_counter); in bt_mesh_friend_clear() 261 frnd = bt_mesh_friend_find(rx->sub->net_idx, lpn_addr, false, false); in bt_mesh_friend_clear() 263 LOG_WRN("No matching LPN addr 0x%04x", lpn_addr); in bt_mesh_friend_clear() 280 cfm.lpn_addr = msg->lpn_addr; in bt_mesh_friend_clear() 813 .lpn_addr = sys_cpu_to_be16(frnd->lpn), in send_friend_clear() [all …]
|
D | friend.h | 15 struct bt_mesh_friend *bt_mesh_friend_find(uint16_t net_idx, uint16_t lpn_addr,
|
D | subnet.h | 174 uint16_t lpn_addr, uint16_t frnd_addr,
|
D | subnet.c | 457 int bt_mesh_friend_cred_create(struct bt_mesh_net_cred *cred, uint16_t lpn_addr, in bt_mesh_friend_cred_create() argument 464 sys_put_be16(lpn_addr, p + 1); in bt_mesh_friend_cred_create()
|
D | cfg_srv.c | 2101 uint16_t lpn_addr; in lpn_timeout_get() local 2103 lpn_addr = net_buf_simple_pull_le16(buf); in lpn_timeout_get() 2106 ctx->app_idx, ctx->addr, lpn_addr); in lpn_timeout_get() 2108 if (!BT_MESH_ADDR_IS_UNICAST(lpn_addr)) { in lpn_timeout_get() 2114 net_buf_simple_add_le16(&msg, lpn_addr); in lpn_timeout_get() 2121 frnd = bt_mesh_friend_find(BT_MESH_KEY_ANY, lpn_addr, true, true); in lpn_timeout_get()
|
D | lpn.c | 224 .lpn_addr = sys_cpu_to_be16(tx.src), in send_friend_clear() 701 addr = sys_be16_to_cpu(msg->lpn_addr); in bt_mesh_lpn_friend_clear_cfm()
|
/Zephyr-Core-3.4.0/tests/bluetooth/tester/src/btp/ |
D | btp_mesh.h | 803 uint16_t lpn_addr; member 811 uint16_t lpn_addr; member
|
/Zephyr-Core-3.4.0/tests/bluetooth/tester/src/ |
D | btp_mesh.c | 2945 static void friend_established(uint16_t net_idx, uint16_t lpn_addr, in friend_established() argument 2948 struct btp_mesh_frnd_established_ev ev = { net_idx, lpn_addr, recv_delay, in friend_established() 2953 lpn_addr, recv_delay, polltimeout); in friend_established() 2959 static void friend_terminated(uint16_t net_idx, uint16_t lpn_addr) in friend_terminated() argument 2961 struct btp_mesh_frnd_terminated_ev ev = { net_idx, lpn_addr }; in friend_terminated() 2964 "0x%04x", lpn_addr); in friend_terminated()
|