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