[Hackrf-dev] Odd issue on running hackrf_transfer multiple times in a row

Dominic Spill dominicgs at gmail.com
Fri Aug 28 21:00:05 EDT 2015


On 28 August 2015 at 09:47, Shannon Holland <holland at loser.net> wrote:
>
> I get a seemingly “interesting" output from the hackrf:
>
> $ hackrf_transfer -r test.bin -f 2440000000 -s 8000000 -n 32000000 -b
> 5000000 -a 1 -l 16 -g 16; xxd -g 1 test.bin | head

> 0000000: 02 ff 04 fe f9 0c fc 00 04 ff 06 fd 03 fe ff 03  ................

Agreed, that looks like interesting data.

> 0000000: 02 02 03 02 02 03 02 03 02 02 02 03 02 03 02 03  ................

Definitely uninteresting data.

> The data will remain pretty much constant until I power cycle the hackrf
> again, at which point the process repeats.
>
> Might anyone have any suggestions as to what I’m doing wrong here?

I can't think of anything that immediately leaps out at me as wrong
here.  Do you always run the commands like that?

Could you just take two back to back recordings in to files and the
look at the afterwards. I'm not sure that this will make a difference,
but I'd like to eliminate anything introduced by non-HackRF tools.

I suspect that "Exiting... hackrf_is_streaming() result:
HACKRF_ERROR_STREAMING_EXIT_CALLED (-1004)" suggests that we aren't
stopping the receive cleanly when we reach the sample count, so I'll
look in to that as a possible source of trouble.

Thanks,
  Dominic


More information about the HackRF-dev mailing list