Home
last modified time | relevance | path

Searched refs:lpn_addr (Results 1 – 11 of 11) sorted by relevance

/Zephyr-Core-2.7.6/include/bluetooth/mesh/
Dmain.h618 void (*established)(uint16_t net_idx, uint16_t lpn_addr,
629 void (*terminated)(uint16_t net_idx, uint16_t lpn_addr);
642 void (*polled)(uint16_t net_idx, uint16_t lpn_addr);
667 int bt_mesh_friend_terminate(uint16_t lpn_addr);
/Zephyr-Core-2.7.6/subsys/bluetooth/mesh/
Dtransport.h58 uint16_t lpn_addr; member
63 uint16_t lpn_addr; member
Dfriend.c81 struct bt_mesh_friend *bt_mesh_friend_find(uint16_t net_idx, uint16_t lpn_addr, in bt_mesh_friend_find() argument
86 BT_DBG("net_idx 0x%04x lpn_addr 0x%04x", net_idx, lpn_addr); in bt_mesh_friend_find()
104 if (is_lpn_unicast(frnd, lpn_addr)) { in bt_mesh_friend_find()
243 uint16_t lpn_addr, lpn_counter; in bt_mesh_friend_clear() local
257 lpn_addr = sys_be16_to_cpu(msg->lpn_addr); in bt_mesh_friend_clear()
260 BT_DBG("LPN addr 0x%04x counter 0x%04x", lpn_addr, lpn_counter); in bt_mesh_friend_clear()
262 frnd = bt_mesh_friend_find(rx->sub->net_idx, lpn_addr, false, false); in bt_mesh_friend_clear()
264 BT_WARN("No matching LPN addr 0x%04x", lpn_addr); in bt_mesh_friend_clear()
282 cfm.lpn_addr = msg->lpn_addr; in bt_mesh_friend_clear()
809 .lpn_addr = sys_cpu_to_be16(frnd->lpn), in send_friend_clear()
[all …]
Dfriend.h15 struct bt_mesh_friend *bt_mesh_friend_find(uint16_t net_idx, uint16_t lpn_addr,
Dsubnet.h150 uint16_t lpn_addr, uint16_t frnd_addr,
Dsubnet.c447 int bt_mesh_friend_cred_create(struct bt_mesh_net_cred *cred, uint16_t lpn_addr, in bt_mesh_friend_cred_create() argument
454 sys_put_be16(lpn_addr, p + 1); in bt_mesh_friend_cred_create()
Dcfg_srv.c2157 uint16_t lpn_addr; in lpn_timeout_get() local
2159 lpn_addr = net_buf_simple_pull_le16(buf); in lpn_timeout_get()
2162 ctx->net_idx, ctx->app_idx, ctx->addr, lpn_addr); in lpn_timeout_get()
2164 if (!BT_MESH_ADDR_IS_UNICAST(lpn_addr)) { in lpn_timeout_get()
2170 net_buf_simple_add_le16(&msg, lpn_addr); in lpn_timeout_get()
2177 frnd = bt_mesh_friend_find(BT_MESH_KEY_ANY, lpn_addr, true, true); in lpn_timeout_get()
Dlpn.c207 .lpn_addr = sys_cpu_to_be16(tx.src), in send_friend_clear()
626 addr = sys_be16_to_cpu(msg->lpn_addr); in bt_mesh_lpn_friend_clear_cfm()
/Zephyr-Core-2.7.6/tests/bluetooth/bsim_bt/bsim_test_mesh/src/
Dtest_friendship.c101 static void friend_established(uint16_t net_idx, uint16_t lpn_addr, in friend_established() argument
104 LOG_INF("Friend: established with 0x%04x", lpn_addr); in friend_established()
105 friend_lpn_addr = lpn_addr; in friend_established()
109 static void friend_terminated(uint16_t net_idx, uint16_t lpn_addr) in friend_terminated() argument
111 LOG_INF("Friend: terminated with 0x%04x", lpn_addr); in friend_terminated()
115 static void friend_polled(uint16_t net_idx, uint16_t lpn_addr) in friend_polled() argument
117 LOG_INF("Friend: Poll from 0x%04x", lpn_addr); in friend_polled()
/Zephyr-Core-2.7.6/tests/bluetooth/tester/src/
Dmesh.c2690 static void friend_established(uint16_t net_idx, uint16_t lpn_addr, in friend_established() argument
2693 struct mesh_frnd_established_ev ev = { net_idx, lpn_addr, recv_delay, in friend_established()
2698 lpn_addr, recv_delay, polltimeout); in friend_established()
2705 static void friend_terminated(uint16_t net_idx, uint16_t lpn_addr) in friend_terminated() argument
2707 struct mesh_frnd_terminated_ev ev = { net_idx, lpn_addr }; in friend_terminated()
2710 "0x%04x", lpn_addr); in friend_terminated()
Dbttester.h1394 uint16_t lpn_addr; member
1402 uint16_t lpn_addr; member