Lines Matching refs:ASSERT_OK

167 	ASSERT_OK(bt_mesh_cdb_create(test_net_key));  in tester_setup()
168 ASSERT_OK(bt_mesh_provision(test_net_key, 0, 0, test_ividx, PROV_ADDR, prov_dev_key)); in tester_setup()
185 ASSERT_OK( in tester_setup()
196 ASSERT_OK(bt_mesh_cdb_subnet_key_import(subnet, 0, subnet_keys[i])); in tester_setup()
203 ASSERT_OK(bt_mesh_cfg_cli_relay_set(0, PROV_ADDR, BT_MESH_RELAY_DISABLED, in tester_setup()
238 ASSERT_OK(bt_mesh_brg_cfg_cli_table_remove(0, BRIDGE_ADDR, net_idx1, net_idx2, src, dst, in bridge_entry_remove()
252 ASSERT_OK( in tester_bridge_configure()
259 ASSERT_OK(bt_mesh_cfg_cli_net_key_add(0, BRIDGE_ADDR, i + 1, subnet_keys[i], in tester_bridge_configure()
266 ASSERT_OK(bt_mesh_brg_cfg_cli_set(0, BRIDGE_ADDR, BT_MESH_BRG_CFG_ENABLED, &status)); in tester_bridge_configure()
274 ASSERT_OK(bt_mesh_cfg_cli_relay_set(0, BRIDGE_ADDR, BT_MESH_RELAY_DISABLED, in tester_bridge_configure()
355 ASSERT_OK( in bridge_table_verify()
408 ASSERT_OK(bt_mesh_test_send_data(PROV_ADDR, NULL, test_data, in device_data_cb()
452 ASSERT_OK(k_sem_take(&prov_sem, K_SECONDS(40))); in tester_init_common()
483 ASSERT_OK(send_data(DEVICE_ADDR_START + i, payload + j, NULL)); in send_and_receive()
492 ASSERT_OK(send_get(DEVICE_ADDR_START + i, NULL)); in send_and_receive()
493 ASSERT_OK(k_sem_take(&status_msg_recvd_sem, K_SECONDS(5))); in send_and_receive()
529 ASSERT_OK(send_data(DEVICE_ADDR_START + i, payload + j, NULL)); in test_tester_simple()
542 ASSERT_OK(send_get(DEVICE_ADDR_START + i, NULL)); in test_tester_simple()
543 ASSERT_OK(k_sem_take(&status_msg_recvd_sem, K_SECONDS(5))); in test_tester_simple()
578 ASSERT_OK(send_data(addr, i, uuid)); in tester_simple_multicast()
583 ASSERT_OK(send_get(addr, uuid)); in tester_simple_multicast()
585 ASSERT_OK(k_sem_take(&status_msg_recvd_sem, K_SECONDS(5))); in tester_simple_multicast()
603 ASSERT_OK(send_data(addr, i, uuid)); in tester_simple_multicast()
614 ASSERT_OK(send_get(addr, uuid)); in tester_simple_multicast()
616 ASSERT_OK(k_sem_take(&status_msg_recvd_sem, K_SECONDS(5))); in tester_simple_multicast()
653 ASSERT_OK(bt_mesh_va_add(test_va_uuid, &va_entry)); in test_tester_simple_va()
682 ASSERT_OK(send_get(DEVICE_ADDR_START, NULL)); in test_tester_table_state_change()
689 ASSERT_OK(send_data(DEVICE_ADDR_START, 0xAA, NULL)); in test_tester_table_state_change()
691 ASSERT_OK(send_get(DEVICE_ADDR_START, NULL)); in test_tester_table_state_change()
698 ASSERT_OK(send_data(DEVICE_ADDR_START, 0xAA, NULL)); in test_tester_table_state_change()
717 ASSERT_OK(send_get(DEVICE_ADDR_START, NULL)); in test_tester_table_state_change()
718 ASSERT_OK(k_sem_take(&status_msg_recvd_sem, K_SECONDS(5))); in test_tester_table_state_change()
735 ASSERT_OK(send_get(DEVICE_ADDR_START, NULL)); in test_tester_table_state_change()
736 ASSERT_OK(k_sem_take(&status_msg_recvd_sem, K_SECONDS(5))); in test_tester_table_state_change()
763 ASSERT_OK(send_data(DEVICE_ADDR_START, 0xAA, NULL)); in test_tester_net_key_remove()
764 ASSERT_OK(send_get(DEVICE_ADDR_START, NULL)); in test_tester_net_key_remove()
765 ASSERT_OK(k_sem_take(&status_msg_recvd_sem, K_SECONDS(5))); in test_tester_net_key_remove()
772 ASSERT_OK(send_get(DEVICE_ADDR_START, NULL)); in test_tester_net_key_remove()
789 ASSERT_OK(bt_mesh_brg_cfg_cli_table_get(0, BRIDGE_ADDR, 0, 1, 0, &rsp)); in test_tester_net_key_remove()
807 ASSERT_OK(bt_mesh_brg_cfg_cli_get(0, BRIDGE_ADDR, &status)); in test_tester_persistence()
844 ASSERT_OK(k_sem_take(&prov_sem, K_SECONDS(40))); in test_tester_persistence()
877 ASSERT_OK(send_get(DEVICE_ADDR_START + i, NULL)); in msg_cache_workaround()
913 ASSERT_OK(beacon_set(BRIDGE_ADDR, BT_MESH_BEACON_DISABLED)); in propagate_ivi_update_state()
919 ASSERT_OK(beacon_set(PROV_ADDR, BT_MESH_BEACON_DISABLED)); in propagate_ivi_update_state()
920 ASSERT_OK(beacon_set(BRIDGE_ADDR, BT_MESH_BEACON_ENABLED)); in propagate_ivi_update_state()
926 ASSERT_OK(beacon_set(PROV_ADDR, BT_MESH_BEACON_ENABLED)); in propagate_ivi_update_state()
988 ASSERT_OK(bt_mesh_cfg_cli_net_key_update(0, BRIDGE_ADDR, net_idx, key, &status)); in start_krp()
994 ASSERT_OK(bt_mesh_cfg_cli_net_key_update(0, addr, net_idx, key, &status)); in start_krp()
1007 ASSERT_OK(bt_mesh_cfg_cli_krp_set(0, BRIDGE_ADDR, net_idx, transition, &status, &phase)); in set_krp_phase()
1014 ASSERT_OK(bt_mesh_cfg_cli_krp_set(0, addr, net_idx, transition, &status, &phase)); in set_krp_phase()
1078 ASSERT_OK(bt_mesh_prov_enable(BT_MESH_PROV_ADV)); in bridge_setup()
1080 ASSERT_OK(k_sem_take(&prov_sem, K_SECONDS(40))); in bridge_setup()
1108 ASSERT_OK(bt_mesh_prov_enable(BT_MESH_PROV_ADV)); in device_setup()
1111 ASSERT_OK(k_sem_take(&prov_sem, K_SECONDS(40))); in device_setup()