Use rad1o's PID

This commit is contained in:
Dominic Spill
2015-07-21 16:42:24 +01:00
parent 0b7f04c527
commit 8cd0cf1b0e
6 changed files with 26 additions and 4 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():