Home
last modified time | relevance | path

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

/Zephyr-latest/tests/bsim/bluetooth/mesh/src/
Dfriendship_common.c54 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-latest/subsys/bluetooth/mesh/
Dtransport.h61 uint16_t lpn_addr; member
66 uint16_t lpn_addr; member
Dfriend.c102 struct bt_mesh_friend *bt_mesh_friend_find(uint16_t net_idx, uint16_t lpn_addr, in bt_mesh_friend_find() argument
107 LOG_DBG("net_idx 0x%04x lpn_addr 0x%04x", net_idx, lpn_addr); in bt_mesh_friend_find()
125 if (is_lpn_unicast(frnd, lpn_addr)) { in bt_mesh_friend_find()
253 uint16_t lpn_addr, lpn_counter; in bt_mesh_friend_clear() local
267 lpn_addr = sys_be16_to_cpu(msg->lpn_addr); in bt_mesh_friend_clear()
270 LOG_DBG("LPN addr 0x%04x counter 0x%04x", lpn_addr, lpn_counter); in bt_mesh_friend_clear()
272 frnd = bt_mesh_friend_find(rx->sub->net_idx, lpn_addr, false, false); in bt_mesh_friend_clear()
274 LOG_WRN("No matching LPN addr 0x%04x", lpn_addr); in bt_mesh_friend_clear()
291 cfm.lpn_addr = msg->lpn_addr; in bt_mesh_friend_clear()
824 .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.h174 uint16_t lpn_addr, uint16_t frnd_addr,
Dcfg_srv.c2123 uint16_t lpn_addr; in lpn_timeout_get() local
2125 lpn_addr = net_buf_simple_pull_le16(buf); in lpn_timeout_get()
2128 ctx->app_idx, ctx->addr, lpn_addr); in lpn_timeout_get()
2130 if (!BT_MESH_ADDR_IS_UNICAST(lpn_addr)) { in lpn_timeout_get()
2136 net_buf_simple_add_le16(&msg, lpn_addr); in lpn_timeout_get()
2143 frnd = bt_mesh_friend_find(BT_MESH_KEY_ANY, lpn_addr, true, true); in lpn_timeout_get()
Dsubnet.c483 int bt_mesh_friend_cred_create(struct bt_mesh_net_cred *cred, uint16_t lpn_addr, in bt_mesh_friend_cred_create() argument
492 sys_put_be16(lpn_addr, p + 1); in bt_mesh_friend_cred_create()
Dlpn.c224 .lpn_addr = sys_cpu_to_be16(tx.src), in send_friend_clear()
711 addr = sys_be16_to_cpu(msg->lpn_addr); in bt_mesh_lpn_friend_clear_cfm()
/Zephyr-latest/include/zephyr/bluetooth/mesh/
Dmain.h728 void (*established)(uint16_t net_idx, uint16_t lpn_addr,
739 void (*terminated)(uint16_t net_idx, uint16_t lpn_addr);
752 void (*polled)(uint16_t net_idx, uint16_t lpn_addr);
839 int bt_mesh_friend_terminate(uint16_t lpn_addr);
/Zephyr-latest/tests/bluetooth/tester/src/btp/
Dbtp_mesh.h1147 uint16_t lpn_addr; member
1155 uint16_t lpn_addr; member
/Zephyr-latest/tests/bluetooth/tester/src/
Dbtp_mesh.c5482 static void friend_established(uint16_t net_idx, uint16_t lpn_addr, in friend_established() argument
5485 struct btp_mesh_frnd_established_ev ev = { net_idx, lpn_addr, recv_delay, in friend_established()
5490 lpn_addr, recv_delay, polltimeout); in friend_established()
5496 static void friend_terminated(uint16_t net_idx, uint16_t lpn_addr) in friend_terminated() argument
5498 struct btp_mesh_frnd_terminated_ev ev = { net_idx, lpn_addr }; in friend_terminated()
5501 "0x%04x", lpn_addr); in friend_terminated()