The generic test runner previously expected the test action to always be
a mgmt command. A "no-op" operation is introduced to support tests where
the test scenario is triggered by a timeout rather than a command.
uint8_t adv_data_len;
};
+# define TESTER_NOOP_OPCODE 0x0000
+
static const char dummy_data[] = { 0x00 };
static const struct generic_data invalid_command_test = {
test_add_condition(data);
}
+ if (test->send_opcode == 0x0000) {
+ tester_print("Executing no-op test");
+ return;
+ }
+
tester_print("Sending command 0x%04x", test->send_opcode);
if (test->send_func)