This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
Capture App is designed to capture I/Q data to a file on the SD card. Captured data is stored as pairs of 16-bit signed values in a .C16 file (complex 16 bit), or optionally 8-bit signed values in a .C8 file (complex 8 bit). C16 values are stored in little-endian format. The Metadata (“Center frequency” and Bandwidth) is stored in a .TXT file with the same name.In GRC, the "file source" and "ishort to complex" blocks can be used to process the data.
The Sampling rate used may not be supported by some MicroSD cards, it is best to use high speed class SD cards. The HackRF PortaPack Capture/Replay functionality is based on Havoc firmware version.
The Key Items on the App that can be selected with the cursor and changed with the encoder knob are:
-
Title bar: The usual Items may be changed and displayed.
-
Frequency: The setting of the frequency using the keypad can be completed and is stored in persistant memory so can be returned to when the App is used again. But if you have load/save App Settings enabled from SD card, it will continue to use what it was last set at. And you can always edit the file in the SD card, /SETTINGS/rx_capture.ini and edit those related default parameters, according to your needs in that App.
- Note : Additionally , to be more user friendly , from version 1.7.4+ holding in the Select button on the Frequency field for a second until a digit turns blue, then you can use Left/Right select which digit you'd like to adjust, and then you can use the Encoder Dial to adjust any digit up/down by 1 to tune more precisely. (Press Select again to exit this tuning mode.
-
Step Size: The selected step size of frequency adjustment carried out by the Rotary encoder.
-
Gain: Amp (0dB or 14dB), LNA(IF) (0-40),VGA(Baseband)(0-62)
-
Rate: The sample rate, which by its nature set the set bandwidth of capture. This is shown in the markers around the centre line of the waterfall display. The sample rate is variable from 12k5 to 2750K (*) in many steps. You need to ensure that the sample rate is more than twice the bandwidth of the signal you want to capture see (Nyquist Principle / also called Shannon’s Law)
-
Format: The user can select two file formats, of the recorded IQ data 16 / 8 bits : C16 (complex 16) or C8 (complex 8), and its related file extension ".C16" or "C8". (By default we are preselecting C16).
-
Trim: If checked, the capture will attempt to be automatically trimmed to only contain the signal part. This is not reversable. Consider using the IQ Trim utility instead if you're not sure you can capture the signal again.
Note (*) : Currently , for correct reliable Replay application ,you should ONLY use Capture App selecting any Bandwidth capture <= 1Mhz (but 500Khz is the recommended for majority micro SD cards compatibility because it requires a quite common average write speed in our system >2MB/sec,C16). From 600khz till 1Mhz (and 1.25 MHz) , you will need more fast and good quality micro SD card (with min average write speed in our system >3MB/sec (for BW=750khz,C16) , and >4MB/sec (for BW=1Mhz ,C16), (>5MB/sec for BW=1.25Mhz ,C16) and with as small as possible write random latency. (In the GUI , those correct bandwidth capture options appear with the Normal usual "REC" icon Background color, as user recommended BW capture options). If you face too much % dropped samples when recording , you can retry it reducing C16 to C8 , that also reduces the needed average write speed :2 (example 1Mhz rec will need average sd interface speed of 4MB/sec in C16 or 2MB/sec in C8).
Recently, thanks to x4 Oversampling and /4 Decimation introduction , we have also added 1.25Mhz BW REC , but it is in the limit of our hardware System and it starts to have some M4 sample drops. (It is still experimental).
Above 1.25Mhz till 5.5Mhz bandwith options (with YELLOW REC button background Icon), in current fw version , the recorded files have periodical sample drops , and therefore it can not record all full original samples content and therefore it is NOT useful for the Replay App , just useful to check the spectrum image, example using the linux tool "inspectrum" or "Audacity") . Anyway when replaying those captured files , the replay time will be shorter than real . but normally you should still get a correct modulation, but in case of voice contents, it would sound , unnatural , "like with accelerated playing speed" , because in fact,due to Hackrf One System (HW+SW) limitations, those recorded files (under those high speed BW with YELLOW icon) have decimated its content - when recorded there were skipped some real time samples.
- Record Button: The red button shows as Rec or Stop. If record is selected then it will record the I/Q file. To the side of the Record Button is additional information that is shown for the recording file, % of Dropped Samples, total Recording Time Remaining. (As we mentioned above, for correct Replay operatons, please make sure to select a proper Capture bandwith option , with normal black background "REC" icon , not the yellow one.)
* File Name (as above example , BBD_0109.C16, based on the selected format C16)
* % of Dropped Samples (recording error rate, due to SD card write latency, above sample 0%)
* Total Recording Time Remaining (based on available SD card capacity , above example 0h: 13min: 42 secs)
From nightly 23-08-19 onwards, we revised and extended a good functionality of all low bit rate bandwith REC options If you adjust correctly the GAIN and LNA and center freq. it is possible to capture good bit streams in C16 / C8 format , Pls. find attached some screenshot examples , capturing the same tuned AM MF band broadcasting with a BW aprox of 16Khz , using an upconverter ,
Depending on the tuned frequency, (mainly visible in 25k, 32k, 50k and 75k) we may got a random strange left picture effect -on the screen, it seems not affecting to the recorded files.C16 or .C8 - with “vertical stripes” , this can be easily corrected, just readjusting the center frequency some Hz up or down , till trying to have full convergence of these vertical red carriers to the central unique one , with +-10Hz steps.
Please check the video below for HackRF PortaPack Capture/Replay functionality.
Note
If you have an external GPS module attached, and after starting the Capture app you receive a valid GPS signal the CAPTURE will contain GPS meta data too. The filename will get _GEO appended. If you share this recording, it could contain sensitive info. You can remove it by editing the TXT, and removing the GPS data.
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
How to collaborate
How to ask questions correctly
User manual
- First steps
- Usage cautions
- Intended use and Legality
- Features
- PortaPack Versions (which one to buy)
- HackRF Versions
- Firmware update procedure
- Description of the hardware
- User interface
- Powering the PortaPack
- Troubleshooting
- Won't boot
- Config Menu
- Firmware upgrade
- Diagnose firmware update in Windows
- Receive Quality Issues
- No TX/RX
- TX Carrier Only
- H2+ speaker modifications
- Dead Coin Cell Battery
- Factory Defaults
- SD card not recognized by PC with the SD-card over USB selected
- DFU overlay
- Full reset
- SolveBoard
- How to Format SDCard
- Applications
Developer Manual
- Compilation of the firmware
- Compile on WSL with ninja
- How to compile on Windows faster with WSL 2
- Using Docker and Kitematic
- Docker command-line reference
- Using Buddyworks and other CI platforms
- Notes for Buddy.Works (and other CI platforms)
- Using ARM on Debian host
- All in one script for ARM on Debian host
- Compile on Arch based distro (exclude Asahi)
- Dev build versions
- Notes About ccache
- Create a custom map
- Code formatting
- PR process
- Description of the Structure
- Software Dev Guides
- Tools
- Research
- UI Screenshots
- Maintaining
- Creating a prod/stable release (Maintainers only)
- Maintaining rules
- Development States Notes
Hardware Hacks
Note
The wiki is incomplete. Please add content and collaborate.
Important
- This is a public wiki. Everything is visible to everyone. Don't use it for personal notes.
- Avoid linking to external tutorials/articles; they may become outdated or contain false information.