/Zephyr-latest/samples/bluetooth/mesh_demo/src/ |
D | main.c | 20 #define GROUP_ADDR 0xc000 macro 133 bt_mesh_cfg_cli_mod_sub_add_vnd(net_idx, addr, addr, GROUP_ADDR, MOD_LF, BT_COMP_ID_LF, in configure() 139 .dst = GROUP_ADDR, in configure() 209 .dst = GROUP_ADDR, in bt_ready() 219 static uint16_t target = GROUP_ADDR; 243 case GROUP_ADDR: in board_set_target() 247 target = GROUP_ADDR; in board_set_target()
|
/Zephyr-latest/tests/bsim/bluetooth/mesh/src/ |
D | test_transport.c | 41 #define GROUP_ADDR 0xc000 macro 161 err = bt_mesh_test_send(GROUP_ADDR, NULL, test_vector[i].len, in test_tx_group() 316 err = bt_mesh_cfg_cli_mod_sub_add(0, cfg->addr, cfg->addr, GROUP_ADDR, in test_tx_loopback_group() 322 err = bt_mesh_test_send(GROUP_ADDR, NULL, test_vector[i].len, in test_tx_loopback_group() 329 ASSERT_OK_MSG(bt_mesh_test_recv(test_vector[i].len, GROUP_ADDR, in test_tx_loopback_group() 381 ASSERT_OK(bt_mesh_test_send(GROUP_ADDR, NULL, 20, 0, K_SECONDS(10))); in test_tx_seg_concurrent() 487 err = bt_mesh_cfg_cli_mod_sub_add(0, cfg->addr, cfg->addr, GROUP_ADDR, in test_rx_group() 492 err = bt_mesh_test_recv(test_vector[i].len, GROUP_ADDR, in test_rx_group() 644 err = bt_mesh_cfg_cli_mod_sub_add(0, cfg->addr, cfg->addr, GROUP_ADDR, in test_rx_seg_concurrent() 653 ASSERT_OK_MSG(bt_mesh_test_recv(20, GROUP_ADDR, NULL, K_SECONDS(2)), "RX fail"); in test_rx_seg_concurrent()
|
D | test_friendship.c | 25 #define GROUP_ADDR 0xc000 macro 318 ASSERT_OK_MSG(bt_mesh_test_send(GROUP_ADDR, NULL, 5, 0, K_SECONDS(1)), in test_friend_group() 332 ASSERT_OK_MSG(bt_mesh_test_send(GROUP_ADDR + 1, NULL, 5, 0, K_SECONDS(1)), in test_friend_group() 752 err = bt_mesh_cfg_cli_mod_sub_add(0, cfg->addr, cfg->addr, GROUP_ADDR, in test_lpn_group() 786 if (msg.ctx.recv_dst != GROUP_ADDR || msg.ctx.addr != other_cfg.addr) { in test_lpn_group() 803 if (msg.ctx.recv_dst != GROUP_ADDR || msg.ctx.addr != friend_cfg.addr) { in test_lpn_group() 821 err = bt_mesh_cfg_cli_mod_sub_add(0, cfg->addr, cfg->addr, GROUP_ADDR + 1, in test_lpn_group() 833 if (msg.ctx.recv_dst != GROUP_ADDR + 1 || in test_lpn_group() 858 err = bt_mesh_cfg_cli_mod_sub_add(0, cfg->addr, cfg->addr, GROUP_ADDR, in test_lpn_loopback() 888 ASSERT_OK(bt_mesh_test_send_async(GROUP_ADDR, NULL, 5, 0, NULL, NULL)); in test_lpn_loopback() [all …]
|
D | test_access.c | 16 #define GROUP_ADDR 0xc000 macro 362 err = bt_mesh_cfg_cli_mod_sub_add(0, addr, addr, GROUP_ADDR, TEST_MODEL_ID_2, &status); in subscription_configure() 381 .addr = GROUP_ADDR, in test_tx_ext_model() 480 GROUP_ADDR + i, TEST_MODEL_ID_2, &status), in test_sub_capacity_ext_model() 481 "Can't deliver subscription on address %#4x", GROUP_ADDR + i); in test_sub_capacity_ext_model() 491 GROUP_ADDR + i, model_ids[j], &status), in test_sub_capacity_ext_model() 492 "Can't deliver subscription on address %#4x", GROUP_ADDR + i); in test_sub_capacity_ext_model()
|
D | test_brg.c | 28 #define GROUP_ADDR 0xc000 macro 629 DEVICE_ADDR_START + i, GROUP_ADDR, TEST_MOD_ID, in test_tester_simple_group() 637 tester_simple_multicast(GROUP_ADDR, NULL); in test_tester_simple_group()
|
D | test_beacon.c | 23 #define GROUP_ADDR 0xc000 macro
|
/Zephyr-latest/samples/boards/phytec/reel_board/mesh_badge/src/ |
D | mesh.c | 30 #define GROUP_ADDR 0xc123 macro 96 .addr = GROUP_ADDR, in cfg_cli_app_key_status_cb() 134 err = bt_mesh_cfg_cli_mod_sub_add_vnd(NET_IDX, addr, addr, GROUP_ADDR, in cfg_cli_app_key_status_cb() 529 .addr = GROUP_ADDR, in send_hello() 556 .addr = GROUP_ADDR, in send_baduser()
|