mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-08-13 23:13:49 -04:00
Update FreqScanner swagger files
This commit is contained in:
@@ -25,6 +25,8 @@ ChannelActions:
|
||||
$ref: "/doc/swagger/include/FileSink.yaml#/FileSinkActions"
|
||||
FileSourceActions:
|
||||
$ref: "/doc/swagger/include/FileSource.yaml#/FileSourceActions"
|
||||
FreqScannerActions:
|
||||
$ref: "/doc/swagger/include/FreqScanner.yaml#/FreqScannerActions"
|
||||
IEEE_802_15_4_ModActions:
|
||||
$ref: "/doc/swagger/include/IEEE_802_15_4_Mod.yaml#/IEEE_802_15_4_ModActions"
|
||||
PacketModActions:
|
||||
|
||||
@@ -59,6 +59,20 @@ FreqScannerReport:
|
||||
properties:
|
||||
channelSampleRate:
|
||||
type: integer
|
||||
channelState:
|
||||
type: array
|
||||
items:
|
||||
$ref: "/doc/swagger/include/FreqScanner.yaml#/FreqScannerChannelState"
|
||||
|
||||
FreqScannerChannelState:
|
||||
properties:
|
||||
frequency:
|
||||
description: "Channel centre frequency in Hz"
|
||||
type: integer
|
||||
power:
|
||||
description: "Channel power in dB"
|
||||
type: number
|
||||
format: float
|
||||
|
||||
FreqScannerFrequency:
|
||||
properties:
|
||||
@@ -77,3 +91,13 @@ FreqScannerFrequency:
|
||||
type: string
|
||||
squelch:
|
||||
type: string
|
||||
|
||||
FreqScannerActions:
|
||||
description: "Frequency Scanner actions"
|
||||
properties:
|
||||
run:
|
||||
type: integer
|
||||
description: >
|
||||
Set the plugin running state
|
||||
* 0 - idle
|
||||
* 1 - run
|
||||
|
||||
Reference in New Issue
Block a user