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 wrong data format for usrp #40

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

bkerler
Copy link

@bkerler bkerler commented Jun 15, 2024

The usrp wasn't able to decode packets due to missing conversion from cs16 to cs8. Fixed by choosing the right format. Also changed the way the serial is printed as otherwise the -i option isn't parsed correctly. Furthermore added the needed import for clang 16 and higher (ubuntu 24.04 LTS).

Copy link

github-actions bot commented Jun 15, 2024

CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅

@bkerler
Copy link
Author

bkerler commented Jun 15, 2024

I have read the CLA Document and I hereby sign the CLA

github-actions bot added a commit that referenced this pull request Jun 15, 2024
@@ -101,7 +101,7 @@ void usrp_list(void) {
if (type == NULL || serial == NULL)
continue;

printf("interface {value=usrp-%s-%s}{display=ICE9 Bluetooth%s}\n", product, serial,
Copy link

@mrene mrene Aug 10, 2024

Choose a reason for hiding this comment

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

you might want to update usrp_find_serial() - this fails for me since it passes serial=B200mini (xxxxxx),num_recv_frames=1024 as the opening arguments to libuhd (the original code also fails because it looks for the first - instead of the last -).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants