Skip to content
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

fix(Examples): Fixed PHY selection bug in RF Test #1254

Merged
merged 4 commits into from
Nov 7, 2024

Conversation

EricB-ADI
Copy link
Contributor

Description

Updated example to pass the coded mode option instead of the S2 or S8 option.

Addresses #1249

@github-actions github-actions bot added MAX32655 Related to the MAX32655 (ME17) MAX32665 Related to the MAX32665 (ME14) MAX32690 Related to the MAX32690 (ME18) labels Nov 4, 2024
@EricB-ADI
Copy link
Contributor Author

/clang-format-run

@@ -706,7 +706,8 @@ void txTestTask(void *pvParameters)
if (testConfig.testType == BLE_TX_TEST) {
res = LlEnhancedTxTest(testConfig.channel, packetLen, packetType, phy, 0);
} else {
res = LlEnhancedRxTest(testConfig.channel, phy, 0, 0);
// Transmitters decision if it is S2 or S8.
res = LlEnhancedRxTest(testConfig.channel, LL_PHY_LE_CODED, 0, 0);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need a conditional like this?

if(phy == LL_PHY_LE_CODED_S2 || phy == LL_PHY_LE_CODED_S2 ) {
  phy = LL_PHY_LE_CODED;
}

@EricB-ADI
Copy link
Contributor Author

/clang-format-run

@kevin-gillespie kevin-gillespie self-requested a review November 7, 2024 19:58
@EricB-ADI EricB-ADI merged commit 7ab2d18 into main Nov 7, 2024
1 check passed
sihyung-maxim pushed a commit to analogdevicesinc/hal_adi that referenced this pull request Nov 7, 2024
@ttmut ttmut deleted the fix/rf-test-example branch December 25, 2024 12:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
MAX32655 Related to the MAX32655 (ME17) MAX32665 Related to the MAX32665 (ME14) MAX32690 Related to the MAX32690 (ME18)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants