apps: blestress: Perform all tests
Edit for loop to run all tests.
diff --git a/apps/blestress/src/rx_stress.c b/apps/blestress/src/rx_stress.c
index 95b7082..d684ab4 100644
--- a/apps/blestress/src/rx_stress.c
+++ b/apps/blestress/src/rx_stress.c
@@ -1208,7 +1208,7 @@
},
{
.instance = SWITCHER_INSTANCE,
- .instance_uuid128 = rx_stress_uuid128[0],
+ .instance_uuid128 = rx_stress_uuid128[1],
.legacy_pdu = LEGACY_ADVERT,
.cb = rx_stress_0_gap_event,
.pattern_data = NULL,
@@ -1340,6 +1340,12 @@
/* Start test. */
switch (test_num) {
+ case 0:
+ return;
+ case 1:
+ console_printf("Nothing to do");
+ rx_stress_simple_adv(&rx_stress_adv_sets[1]);
+ return;
case 2:
console_printf("Stress Connect/Disconnect legacy\033[0m\n");
rx_stress_simple_adv(&rx_stress_adv_sets[2]);
@@ -1455,7 +1461,7 @@
os_sem_pend(&rx_stress_main_sem, OS_TIMEOUT_NEVER);
/* Standard tests perform */
- for (i = 11; i < STRESS_UUIDS_NUM; ++i) {
+ for (i = 1; i < STRESS_UUIDS_NUM; ++i) {
/* Start test. */
rx_stress_start(i);
}