[Hackrf-dev] how to set IF in GNU Radio for HackRF

Karl Koscher supersat at cs.washington.edu
Thu Nov 19 17:22:48 EST 2015


How doesn't it work? You should probably just use the hackrf_transfer
program to record data from the HackRF. By default, it stores data in
complex int8 format.

On Thu, Nov 19, 2015 at 2:18 PM, mourad ghafiri <mourad.ghafiri at gmail.com>
wrote:

> @Karl Koscher
>
> unfortunately the approach doesn't function well... please any hint to
> achieve that  goal which is:
>
> having an GPS L1 signal streaming for post processing with matlab/octave ?
> we have HackRF and a GPS L1 antenna ... but we don't have enough knowledge
> in hardware side, but we do know how to manipulate a file streaming with
> float or int8 matrix data in Matlab/octave.
>
> Yours Sincerely;
>
> On Thu, Nov 19, 2015 at 10:11 PM, mourad ghafiri <mourad.ghafiri at gmail.com
> > wrote:
>
>> @David Brown
>>
>> I appreciate your interaction with that basic question, in fact we are
>> recording a L1 GPS streaming for post processing in a Matlab project for
>> GPS positioning... so all we need simply is a file that contain an int8
>> type record.
>>
>> @Karl Koscher
>>
>> thank you so much, I will try this blocks Immediately and get back to
>> you; if you still have time to complete this friendly (hackerfly :) )
>> conversation.
>>
>> On Thu, Nov 19, 2015 at 10:04 PM, Karl Koscher <
>> supersat at cs.washington.edu> wrote:
>>
>>> Use a Complex to Float/Real and Float to Char type converter block
>>> between the HackRF source block and the file sink, and then change the file
>>> sync type to char. Or you can use the hackrf_transfer program and avoid
>>> these conversions altogether.
>>>
>>> On Thu, Nov 19, 2015 at 1:49 PM, mourad ghafiri <
>>> mourad.ghafiri at gmail.com> wrote:
>>>
>>>> thank you  for your quick answer, please how to record the streaming in
>>>> int8 type
>>>>
>>>> Regards;
>>>>
>>>> On Thu, Nov 19, 2015 at 9:40 PM, Karl Koscher <
>>>> supersat at cs.washington.edu> wrote:
>>>>
>>>>> You are recording complex floats. The intermediate frequency is your
>>>>> frequency of interest minus what the HackRF is tuned to. If your HackRF is
>>>>> tuned to 1.575 GHz but you want to decode the GPS L1 signal, then your IF
>>>>> is 420 kHz.
>>>>>
>>>>> On Thu, Nov 19, 2015 at 1:36 PM, mourad ghafiri <
>>>>> mourad.ghafiri at gmail.com> wrote:
>>>>>
>>>>>> I attached the flow graph for the recording as well as a real time
>>>>>> spectrum , I'm not sure what blocks to use or what parameters to set for
>>>>>> this block in order to have the right streaming.
>>>>>> thanks for showing interest to the question
>>>>>>
>>>>>> On Thu, Nov 19, 2015 at 9:16 PM, Karl Koscher <
>>>>>> supersat at cs.washington.edu> wrote:
>>>>>>
>>>>>>> How are you recording the samples?
>>>>>>>
>>>>>>> On Thu, Nov 19, 2015 at 1:05 PM, mourad ghafiri <
>>>>>>> mourad.ghafiri at gmail.com> wrote:
>>>>>>>
>>>>>>>> Hello;
>>>>>>>>
>>>>>>>> please any help to figure out what is the Intermediate Frequency
>>>>>>>> used for HackRF in Gnuradio...
>>>>>>>>
>>>>>>>> I'm recording a streaming file for GPS and I don't know what is the
>>>>>>>> appropriate type ( int; float...) and what is the appropriate IF to use in
>>>>>>>> order to process that streaming in Matlab.
>>>>>>>>
>>>>>>>> Best Regards;
>>>>>>>>
>>>>>>>> _______________________________________________
>>>>>>>> HackRF-dev mailing list
>>>>>>>> HackRF-dev at greatscottgadgets.com
>>>>>>>> https://pairlist9.pair.net/mailman/listinfo/hackrf-dev
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>
>>>>>
>>>>
>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist9.pair.net/pipermail/hackrf-dev/attachments/20151119/455ccdc6/attachment.html>


More information about the HackRF-dev mailing list