From 8f9db4456b33e3d9a8f431c9f9c530d35b0b922a Mon Sep 17 00:00:00 2001 From: Chris Kuethe Date: Sat, 4 Apr 2015 12:55:54 -0700 Subject: [PATCH] quick reminder of gain control mappings So that I don't have to keep googling for this every time I forget which knob is which. From http://nine.pairlist.net/pipermail/hackrf-dev/2014-March/000276.html --- host/libhackrf/src/hackrf.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/host/libhackrf/src/hackrf.h b/host/libhackrf/src/hackrf.h index 130f33e9..1c8bc1a0 100644 --- a/host/libhackrf/src/hackrf.h +++ b/host/libhackrf/src/hackrf.h @@ -150,10 +150,10 @@ extern ADDAPI int ADDCALL hackrf_set_amp_enable(hackrf_device* device, const uin extern ADDAPI int ADDCALL hackrf_board_partid_serialno_read(hackrf_device* device, read_partid_serialno_t* read_partid_serialno); -/* range 0-40 step 8db */ +/* range 0-40 step 8d, IF gain in osmosdr */ extern ADDAPI int ADDCALL hackrf_set_lna_gain(hackrf_device* device, uint32_t value); -/* range 0-62 step 2db */ +/* range 0-62 step 2db, BB gain in osmosdr */ extern ADDAPI int ADDCALL hackrf_set_vga_gain(hackrf_device* device, uint32_t value); /* range 0-47 step 1db */