/Zephyr-latest/tests/bsim/bluetooth/mesh/src/ |
D | test_friendship.c | 655 if (msg.ctx.recv_dst != cfg->addr) { in test_lpn_overflow() 657 msg.ctx.recv_dst); in test_lpn_overflow() 686 ASSERT_EQUAL(cfg->addr, msg.ctx.recv_dst); in test_lpn_overflow() 693 ASSERT_EQUAL(cfg->addr, msg.ctx.recv_dst); in test_lpn_overflow() 711 ASSERT_EQUAL(cfg->addr, msg.ctx.recv_dst); in test_lpn_overflow() 719 ASSERT_EQUAL(cfg->addr, msg.ctx.recv_dst); in test_lpn_overflow() 725 ASSERT_EQUAL(cfg->addr, msg.ctx.recv_dst); in test_lpn_overflow() 786 if (msg.ctx.recv_dst != GROUP_ADDR || msg.ctx.addr != other_cfg.addr) { in test_lpn_group() 788 msg.ctx.recv_dst); in test_lpn_group() 792 if (msg.ctx.recv_dst != va->addr || msg.ctx.addr != other_cfg.addr || in test_lpn_group() [all …]
|
D | mesh_test.c | 54 LOG_INF("\tdst: 0x%04x", ctx->recv_dst); in msg_rx() 86 LOG_INF("\tdst: 0x%04x", ctx->recv_dst); in data_rx() 359 if (dst != BT_MESH_ADDR_UNASSIGNED && dst != msg->ctx.recv_dst) { in bt_mesh_test_recv() 360 LOG_ERR("Recv: Invalid dst 0x%04x, expected 0x%04x", msg->ctx.recv_dst, dst); in bt_mesh_test_recv() 364 if (BT_MESH_ADDR_IS_VIRTUAL(msg->ctx.recv_dst) && in bt_mesh_test_recv()
|
/Zephyr-latest/samples/boards/nordic/mesh/onoff_level_lighting_vnd_app/src/mesh/ |
D | device_composition.c | 137 ctl->last_dst_addr == ctx->recv_dst && in gen_onoff_set_unack() 164 ctl->last_dst_addr = ctx->recv_dst; in gen_onoff_set_unack() 206 ctl->last_dst_addr == ctx->recv_dst && in gen_onoff_set() 234 ctl->last_dst_addr = ctx->recv_dst; in gen_onoff_set() 343 ctl->last_dst_addr == ctx->recv_dst && in gen_level_set_unack() 370 ctl->last_dst_addr = ctx->recv_dst; in gen_level_set_unack() 409 ctl->last_dst_addr == ctx->recv_dst && in gen_level_set() 437 ctl->last_dst_addr = ctx->recv_dst; in gen_level_set() 479 ctl->last_dst_addr == ctx->recv_dst && in gen_delta_set_unack() 514 ctl->last_dst_addr = ctx->recv_dst; in gen_delta_set_unack() [all …]
|
/Zephyr-latest/subsys/bluetooth/mesh/ |
D | transport.c | 756 if (BT_MESH_ADDR_IS_VIRTUAL(rx->ctx.recv_dst)) { in sdu_try_decrypt() 757 ctx->crypto.ad = bt_mesh_va_uuid_get(rx->ctx.recv_dst, ctx->crypto.ad, in sdu_try_decrypt() 770 if (!err && BT_MESH_ADDR_IS_VIRTUAL(rx->ctx.recv_dst)) { in sdu_try_decrypt() 786 .dst = rx->ctx.recv_dst, in sdu_recv() 866 LOG_DBG("Ack for LPN 0x%04x of this Friend", rx->ctx.recv_dst); in trans_ack() 1039 LOG_WRN("Replay: src 0x%04x dst 0x%04x seq 0x%06x", rx->ctx.addr, rx->ctx.recv_dst, in trans_unseg() 1246 rx->dst != net_rx->ctx.recv_dst) { in seg_rx_find() 1281 if (rx->src != net_rx->ctx.addr || rx->dst != net_rx->ctx.recv_dst) { in seg_rx_is_valid() 1323 rx->dst = net_rx->ctx.recv_dst; in seg_rx_alloc() 1354 net_rx->ctx.recv_dst, net_rx->seq); in trans_seg() [all …]
|
D | net.c | 413 .recv_dst = DST(buf->data), in bt_mesh_net_local() 702 LOG_DBG("TTL %u CTL %u dst 0x%04x", rx->ctx.recv_ttl, rx->ctl, rx->ctx.recv_dst); in bt_mesh_net_relay() 754 bt_mesh_proxy_relay(adv, rx->ctx.recv_dst); in bt_mesh_net_relay() 802 rx->ctx.recv_dst = DST(buf->data); in bt_mesh_net_header_parse() 846 rx->ctx.recv_dst = DST(out->data); in bt_mesh_net_decode() 851 rx->ctx.recv_dst == BT_MESH_ADDR_UNASSIGNED) { in bt_mesh_net_decode() 856 LOG_DBG("src 0x%04x dst 0x%04x ttl %u", rx->ctx.addr, rx->ctx.recv_dst, rx->ctx.recv_ttl); in bt_mesh_net_decode() 889 rx.local_match = (bt_mesh_fixed_group_match(rx.ctx.recv_dst) || in bt_mesh_net_recv() 890 bt_mesh_has_addr(rx.ctx.recv_dst)); in bt_mesh_net_recv() 926 if (!BT_MESH_ADDR_IS_UNICAST(rx.ctx.recv_dst) || in bt_mesh_net_recv() [all …]
|
D | op_agg_srv.c | 47 ctx->recv_dst = elem; in handle_sequence()
|
D | op_agg_cli.c | 86 ctx->recv_dst = addr; in handle_status()
|
D | delayable_msg.c | 272 random_delay = 20 + random_delay % (BT_MESH_ADDR_IS_UNICAST(ctx->recv_dst) ? 30 : 480); in bt_mesh_delayable_msg_manage()
|
D | access.c | 1494 if (!model_has_dst(model, ctx->recv_dst, ctx->uuid)) { in element_model_recv() 1495 LOG_DBG("Dst addr 0x%02x is invalid for model at 0x%04x", ctx->recv_dst, in element_model_recv() 1529 ctx->recv_dst); in bt_mesh_model_recv() 1533 bt_mesh_test_model_recv(ctx->addr, ctx->recv_dst, buf->data, buf->len); in bt_mesh_model_recv() 1543 if (BT_MESH_ADDR_IS_UNICAST(ctx->recv_dst)) { in bt_mesh_model_recv() 1544 index = ctx->recv_dst - dev_comp->elem[0].rt->addr; in bt_mesh_model_recv() 1547 LOG_ERR("Invalid address 0x%02x", ctx->recv_dst); in bt_mesh_model_recv()
|
D | heartbeat.c | 205 if (rx->ctx.addr != sub.src || rx->ctx.recv_dst != sub.dst) { in bt_mesh_hb_recv()
|
D | friend.c | 398 meta->crypto.dst = net.ctx.recv_dst; in unseg_app_sdu_unpack() 1451 info.dst = rx->ctx.recv_dst; in friend_lpn_enqueue_rx() 1711 rx->sub->net_idx, rx->ctx.addr, rx->ctx.recv_dst); in bt_mesh_friend_enqueue_rx() 1717 rx->ctx.recv_dst)) { in bt_mesh_friend_enqueue_rx()
|
D | app_keys.c | 561 if (BT_MESH_ADDR_IS_UNICAST(rx->ctx.recv_dst)) { in bt_mesh_app_key_find()
|
D | proxy_srv.c | 281 LOG_WRN("Replay: src 0x%04x dst 0x%04x seq 0x%06x", rx.ctx.addr, rx.ctx.recv_dst, in proxy_cfg()
|
/Zephyr-latest/include/zephyr/bluetooth/mesh/ |
D | msg.h | 87 uint16_t recv_dst; member
|
/Zephyr-latest/tests/bluetooth/mesh/delayable_msg/src/ |
D | main.c | 26 .recv_dst = RX_ADDR, 122 zassert_equal(gctx.recv_dst, RX_ADDR); in tc_teardown()
|