Skip to content

Fix bladeRF-cli default binary format#1059

Open
Algafix wants to merge 1 commit intoNuand:masterfrom
Algafix:bladerfcli-fix-8bit-config
Open

Fix bladeRF-cli default binary format#1059
Algafix wants to merge 1 commit intoNuand:masterfrom
Algafix:bladerfcli-fix-8bit-config

Conversation

@Algafix
Copy link
Copy Markdown

@Algafix Algafix commented Mar 13, 2026

Doing:

bladeRF> set bitmode 8
bladeRF> rx config file=test_8bits.bin n=0

Does not configure the recording as 8 bits. That's because the file format is updated inside the rxtx_str2fmt function only if the format option is provided on the rx/tx config command.

But format=bin is already the default, so the user might not specify it. I think it makes sense to use SC8Q7 as the default if the user specifies 8 bits, rather than defaulting to SC16Q11.

I think it makes more sense to change it when the user specifies the command set bitmode, but that requires importing some extra headers in printset_impl, and I wasn't sure if that is something you want.

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.

1 participant