Searched refs:hops (Results 1 – 10 of 10) sorted by relevance
/Zephyr-Core-3.5.0/samples/bluetooth/mesh_demo/src/ |
D | microbit.c | 144 void board_heartbeat(uint8_t hops, uint16_t feat) in board_heartbeat() argument 175 printk("%u hops\n", hops); in board_heartbeat() 177 if (hops) { in board_heartbeat() 178 hops = MIN(hops, ARRAY_SIZE(hops_img)); in board_heartbeat() 180 &hops_img[hops - 1], 1); in board_heartbeat()
|
D | board.h | 20 void board_heartbeat(uint8_t hops, uint16_t feat); 34 void board_heartbeat(uint8_t hops, uint16_t feat) in board_heartbeat() argument
|
D | main.c | 43 static void heartbeat(const struct bt_mesh_hb_sub *sub, uint8_t hops, in heartbeat() argument 46 board_heartbeat(hops, feat); in heartbeat()
|
/Zephyr-Core-3.5.0/subsys/bluetooth/mesh/ |
D | heartbeat.c | 74 static void notify_recv(uint8_t hops, uint16_t feat) in notify_recv() argument 80 cb->recv(&sub, hops, feat); in notify_recv() 192 uint8_t init_ttl, hops; in bt_mesh_hb_recv() local 203 hops = (init_ttl - rx->ctx.recv_ttl + 1); in bt_mesh_hb_recv() 215 sub.min_hops = MIN(sub.min_hops, hops); in bt_mesh_hb_recv() 216 sub.max_hops = MAX(sub.max_hops, hops); in bt_mesh_hb_recv() 223 rx->ctx.recv_ttl, init_ttl, hops, (hops == 1U) ? "" : "s", feat); in bt_mesh_hb_recv() 225 notify_recv(hops, feat); in bt_mesh_hb_recv()
|
/Zephyr-Core-3.5.0/samples/boards/reel_board/mesh_badge/src/ |
D | reel_board.c | 215 static int add_heartbeat(uint16_t addr, uint8_t hops) in add_heartbeat() argument 225 stat->min_hops = hops; in add_heartbeat() 226 stat->max_hops = hops; in add_heartbeat() 232 if (hops < stat->min_hops) { in add_heartbeat() 233 stat->min_hops = hops; in add_heartbeat() 234 } else if (hops > stat->max_hops) { in add_heartbeat() 235 stat->max_hops = hops; in add_heartbeat() 259 void board_add_heartbeat(uint16_t addr, uint8_t hops) in board_add_heartbeat() argument 263 sort_i = add_heartbeat(addr, hops); in board_add_heartbeat()
|
D | board.h | 20 void board_add_heartbeat(uint16_t addr, uint8_t hops);
|
D | mesh.c | 69 static void heartbeat(const struct bt_mesh_hb_sub *sub, uint8_t hops, in heartbeat() argument 455 uint8_t init_ttl, hops; in vnd_heartbeat() local 463 hops = init_ttl - ctx->recv_ttl + 1; in vnd_heartbeat() 466 hops, hops == 1U ? "" : "s"); in vnd_heartbeat() 468 board_add_heartbeat(ctx->addr, hops); in vnd_heartbeat()
|
/Zephyr-Core-3.5.0/include/zephyr/bluetooth/mesh/ |
D | heartbeat.h | 94 void (*recv)(const struct bt_mesh_hb_sub *sub, uint8_t hops,
|
/Zephyr-Core-3.5.0/subsys/net/ip/ |
D | dhcpv4.h | 22 uint8_t hops; /* used by relay agents when booting via relay member
|
/Zephyr-Core-3.5.0/tests/bsim/bluetooth/mesh/src/ |
D | test_heartbeat.c | 58 static void sub_hb_recv_cb(const struct bt_mesh_hb_sub *sub, uint8_t hops, uint16_t feat) in sub_hb_recv_cb() argument 67 ASSERT_EQUAL(hops, EXPECTED_HB_HOPS); in sub_hb_recv_cb()
|