From dccc48ad13debd98700a24365d3c85f6b333dd53 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20M=C3=BCller?= Date: Thu, 6 Oct 2016 23:24:02 +0200 Subject: [PATCH] Add CCCamp 2015 rad1o badge board id to libhackrf The rad1o is the badge of the Chaos Communication Camp 2015 (CCCamp15). The rad1o badge contains a full-featured SDR (software defined radio) half-duplex transceiver, operating in a frequency range of about 50 MHz - 4000 MHz, and is software compatible to the HackRF. See https://rad1o.badge.events.ccc.de for more information. --- host/libhackrf/src/hackrf.c | 6 ++++++ host/libhackrf/src/hackrf.h | 1 + 2 files changed, 7 insertions(+) diff --git a/host/libhackrf/src/hackrf.c b/host/libhackrf/src/hackrf.c index 29b5994c1..a759fb3a1 100644 --- a/host/libhackrf/src/hackrf.c +++ b/host/libhackrf/src/hackrf.c @@ -1606,6 +1606,9 @@ const char* ADDCALL hackrf_board_id_name(enum hackrf_board_id board_id) case BOARD_ID_HACKRF_ONE: return "HackRF One"; + case BOARD_ID_RAD1O: + return "rad1o"; + case BOARD_ID_INVALID: return "Invalid Board ID"; @@ -1624,6 +1627,9 @@ extern ADDAPI const char* ADDCALL hackrf_usb_board_id_name(enum hackrf_usb_board case USB_BOARD_ID_HACKRF_ONE: return "HackRF One"; + case USB_BOARD_ID_RAD1O: + return "rad1o"; + case USB_BOARD_ID_INVALID: return "Invalid Board ID"; diff --git a/host/libhackrf/src/hackrf.h b/host/libhackrf/src/hackrf.h index cb0e0ffae..7ac0530f6 100644 --- a/host/libhackrf/src/hackrf.h +++ b/host/libhackrf/src/hackrf.h @@ -66,6 +66,7 @@ enum hackrf_board_id { BOARD_ID_JELLYBEAN = 0, BOARD_ID_JAWBREAKER = 1, BOARD_ID_HACKRF_ONE = 2, + BOARD_ID_RAD1O = 3, BOARD_ID_INVALID = 0xFF, };