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

hackrf_sweepo #4

Open
al1ce23 opened this issue Jan 25, 2018 · 2 comments
Open

hackrf_sweepo #4

al1ce23 opened this issue Jan 25, 2018 · 2 comments

Comments

@al1ce23
Copy link

al1ce23 commented Jan 25, 2018

thanks for speaking at 34c3 and creating this tool. it would be nice to have hackrf_sweep integrated.

@umer0zerve
Copy link

  1. is it possible to extract cell id from hackrf sweep?
    Hi All
    My task is to extract cell id from hack-rf files. I have two files

  2. hack-rf transfer (file sampled at 1 frequency)
    format of the collection:
    hackrf_transfer -f {LTE_frequency} -s 19200000 -b 20000000 -n 1728000 -l 16 -a 1 -g 30 -r {path to cfile or bin file}

  3. hack-rf sweep (file sampled between 500 - 6000 MHz).
    format of the collection:
    hackrf_sweep -a 1 -f 500:6000 -p 1 -l 16 -g 30 N 1 -B -r {output_dir}/sdr/{time}.cfile

I'm able to extract cell id from the hack-rf transfer file which was sampled at a single frequency. However, I'm not able to extract the cell id from hack-rf sweep file.

is it really not possible to extract cell id from hack-rf sweep?

@umer0zerve
Copy link

  1. Is is there is any correct way of reading hack-rf sweep data in python?
    I've used complex 64, int8, int16 etc.

def Read_method3(path):
iq = np.fromfile(path, np.int8)
iq = (iq[::2] + 1j*iq[1::2])
return iq

Int8 works well for hack-rf transfer file (file saved at single frequency). however, its not working well for hack-rf sweep file (file sweep between 500 - 6000 MHz).

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

No branches or pull requests

2 participants