1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-17 22:01:45 -05:00
sdrangel/sdrbase/resources/webapi/doc/swagger/include/DeviceActions.yaml

19 lines
697 B
YAML

DeviceActions:
description: Base device actions. Only the device actions corresponding to the device specified in the deviceHwType field is or should be present.
discriminator: deviceHwType
required:
- deviceHwType
- direction
properties:
deviceHwType:
description: Device hardware type code
type: string
direction:
description: 0 for Rx only, 1 for Tx only or 2 for any number and direction (default 0)
type: integer
originatorIndex:
description: Optional for reverse API. This is the device set index from where the message comes from.
type: integer
rtlSdrActions:
$ref: "/doc/swagger/include/RtlSdr.yaml#/RtlSdrActions"