Thursday, February 8, 2024

Re: Help on creating an intermittent beacon transmission using HackRF

On Wednesday, 7 February 2024 21:03:11 EET Daniel Estévez wrote:
>
> Hi David,
>
> One possible solution would be to make a flowgraph that plays the file
> once. Then make a bash script that loops, calling the flowgraph and then
> sleeping for some time.
>
> Best,
> Daniel.
>

Another possibility is to write your own source block which reads and stores
the samples in memory, then outputs them at a specified time until the whole
buffer is transmitted, then sleeps for a while and repeats. If you need to
control actual transmission time more precisely it can be done using
timestamps at the start of the samples. It also depends on how long your
transmission is (whether you can store all samples in a memory buffer or need
to read and output chunks of it at a time).

Adrian

No comments:

Post a Comment