Update rad1o firmware and libhackrf to use rad1o PID

This commit is contained in:
Dominic Spill
2015-07-21 16:42:24 +01:00
committed by Stefan `Sec` Zehl
parent 6fb5885b70
commit 510dde7485
7 changed files with 29 additions and 5 deletions

View File

@@ -32,6 +32,10 @@ else:
if device:
print 'Find: HackRF One'
else:
device = usb.core.find(idVendor=0x1d50, idProduct=0xCC15)
if device:
print 'Find: Rad1o'
else:
print 'Not find any HackRF device.'
sys.exit()
device.set_configuration()

View File

@@ -31,8 +31,12 @@ else:
if device:
print 'Find: HackRF One'
else:
print 'Not find any HackRF device.'
sys.exit()
device = usb.core.find(idVendor=0x1d50, idProduct=0xCC15)
if device:
print 'Find: Rad1o'
else:
print 'Not find any HackRF device.'
sys.exit()
device.set_configuration()
def set_rx():