mirror of
https://github.com/jketterl/openwebrx.git
synced 2026-04-20 22:05:13 +00:00
wire data parsing and storage
This commit is contained in:
parent
039b57d28b
commit
86278ff44d
6 changed files with 26 additions and 11 deletions
|
|
@ -2,6 +2,7 @@ from owrx.source.connector import ConnectorSource, ConnectorDeviceDescription
|
|||
from owrx.command import Flag, Option
|
||||
from typing import List
|
||||
from owrx.form import Input, TextInput
|
||||
from owrx.form.converter import OptionalConverter
|
||||
|
||||
|
||||
class RtlSdrSource(ConnectorSource):
|
||||
|
|
@ -19,6 +20,11 @@ class RtlSdrDeviceDescription(ConnectorDeviceDescription):
|
|||
return self.mergeInputs(
|
||||
super().getInputs(),
|
||||
[
|
||||
TextInput("device", "Device identifier", infotext="Device serial number or index"),
|
||||
TextInput(
|
||||
"device",
|
||||
"Device identifier",
|
||||
infotext="Device serial number or index",
|
||||
converter=OptionalConverter(),
|
||||
),
|
||||
],
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue