-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tests: nrf_auraconfig: Create BSIM tester #18898
base: main
Are you sure you want to change the base?
tests: nrf_auraconfig: Create BSIM tester #18898
Conversation
- Use generic broadcast_sink sample from Zephyr as base - Add a struct to contain all values to compare - Store adv_name and broadcast_name - Parse BASEs and populate struct - Add shell interface for setting expected values - Create function for comparing dut with expected - Compare all values and print success or fail - Add BSIM related files - OCT-3162 tests: nrf_auraconfig: Integrate with BSIM - Create a tester main for the nrf_auraconfig sample - Parse arguments and send to correct device - Add log level to le_audio_tx to suppress warnings - OCT-3193
CI InformationTo view the history of this post, clich the 'edited' button above Inputs:Sources:sdk-nrf: PR head: 12c1e3983969e852700ba355ba041c830deb09be more detailssdk-nrf:
Github labels
List of changed files detected by CI (32)
Outputs:ToolchainVersion: b44b7a08c9 Test Spec & Results: ✅ Success; ❌ Failure; 🟠 Queued; 🟡 Progress; ◻️ Skipped;
|
config SW_CODEC_NONE | ||
bool "None" | ||
help | ||
Choose this if no sw codec is needed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Choose this if no sw codec is needed. | |
Choose this if no software (SW) codec is needed. |
@@ -157,7 +157,7 @@ static int audio_sync_timer_init(void) | |||
return -ENODEV; | |||
} | |||
|
|||
IRQ_CONNECT(RTC0_IRQn, IRQ_PRIO_LOWEST, nrfx_rtc_0_irq_handler, NULL, 0); | |||
IRQ_CONNECT(RTC0_IRQn, IRQ_PRIO_LOWEST, nrfx_isr, nrfx_rtc_0_irq_handler, 0); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would like an explanation of this change.
{.use_case = PERSONAL_MULTI_LANGUAGE, .name = "Personal multi-language"}, | ||
}; | ||
/* Main function */ | ||
int nrf_auraconfig(void); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
consider
int nrf_auraconfig(void); | |
int nrf_auraconfig_main(void); |
What is the standard naming convention?
@@ -0,0 +1,176 @@ | |||
/* |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This file looks like a clean copy-paste?
return ret; | ||
} | ||
|
||
(void)nrf_auraconfig(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I may see this later, but why is there no err check?
#include "nac_test.h" | ||
|
||
#define SEM_TIMEOUT K_SECONDS(60) | ||
#define BROADCAST_ASSISTANT_TIMEOUT K_SECONDS(120) /* 2 minutes */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
#define BROADCAST_ASSISTANT_TIMEOUT K_SECONDS(120) /* 2 minutes */ | |
#define BROADCAST_ASSISTANT_TIMEOUT K_SECONDS(120) /* 2 minutes */ | |
``` Butter on lard as they say :) |
CONFIG_BT_CTLR_ADV_ISO_STREAM_COUNT=2 | ||
|
||
# Support two links as a central, or one link as a peripheral | ||
CONFIG_BT_MAX_CONN=3 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No conns here at all.
|
||
# To present the audio at the right point in time, we need the controller and | ||
# audio clock to be synchronized | ||
CONFIG_MPSL_TRIGGER_IPC_TASK_ON_RTC_START=y |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can these be removed?
SCRIPT_NAME=$(basename "$0") | ||
|
||
${SCRIPT_DIR}/../nrf_auraconfig_simulation.sh ${SCRIPT_NAME} \ | ||
"nac" "usecase" "0"\ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I need a walkthrough here.
@@ -0,0 +1,1169 @@ | |||
/* |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is the last file I will need to go through. Will publish the comments I have for now.
tests: nrf_auraconfig: Integrate with BSIM