BladeRF2: REST API: implemented actions

This commit is contained in:
f4exb 2020-03-30 19:50:36 +02:00
parent ffa604cecf
commit 9947a454d6
2 changed files with 12 additions and 0 deletions

View File

@ -57,6 +57,16 @@ BladeRF2InputReport:
items:
$ref: "http://localhost:8081/api/swagger/include/Structs.yaml#/NamedEnum"
BladeRF2InputActions:
description: BladeRF2
properties:
record:
type: integer
description: >
Record IQ stream action
* 0 - stop recording
* 1 - start recording
BladeRF2OutputSettings:
description: BladeRF2
properties:

View File

@ -20,6 +20,8 @@ DeviceActions:
$ref: "http://localhost:8081/api/swagger/include/AirspyHF.yaml#/AirspyHFActions"
bladeRF1InputActions:
$ref: "http://localhost:8081/api/swagger/include/BladeRF1.yaml#/BladeRF1InputActions"
bladeRF2InputActions:
$ref: "http://localhost:8081/api/swagger/include/BladeRF2.yaml#/BladeRF2InputActions"
fcdProActions:
$ref: "http://localhost:8081/api/swagger/include/FCDPro.yaml#/FCDProActions"
fcdProPlusActions: