2020-05-30 22:58:31 +02:00
|
|
|
from .soapy import SoapyConnectorSource
|
2019-12-21 20:58:28 +01:00
|
|
|
|
|
|
|
|
2020-05-30 22:58:31 +02:00
|
|
|
class HackrfSource(SoapyConnectorSource):
|
2020-05-30 23:03:43 +02:00
|
|
|
def getSoapySettingsMappings(self):
|
|
|
|
mappings = super().getSoapySettingsMappings()
|
|
|
|
mappings.update({"bias_tee": "bias_tx"})
|
|
|
|
return mappings
|
|
|
|
|
2020-05-30 22:58:31 +02:00
|
|
|
def getDriver(self):
|
|
|
|
return "hackrf"
|