1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2025-07-31 05:02:24 -04:00

LimeRFE USB: improved API documentation: generated code

This commit is contained in:
f4exb 2020-03-10 05:30:52 +01:00
parent 145ed5b462
commit 61274c4ee0
3 changed files with 95 additions and 35 deletions

View File

@ -3956,22 +3956,23 @@ margin-bottom: 20px;
},
"rxChannels" : {
"type" : "integer",
"description" : "Rx channels group (see LimeRFEController.ChannelGroups enumeration)"
"description" : "Rx channels group (LimeRFEController::ChannelGroups):\n * 0 - Wideband\n * 1 - HAM\n * 2 - cellular\n"
},
"rxWidebandChannel" : {
"type" : "integer"
"type" : "integer",
"description" : "Rx wideband channel selection (LimeRFEController::WidebandChannel)\n * 0 - Low: 1 - 1000 MHz\n * 1 - High: 1 - 4 GHz\n"
},
"rxHAMChannel" : {
"type" : "integer",
"description" : "Rx HAM channel selection (see LimeRFEController.HAMChannel enumeration)"
"description" : "Rx HAM channel selection (LimeRFEController::HAMChannel)\n * 0 - 30 MHz and lower\n * 1 - 50 - 70 MHz\n * 2 - 144 - 146 MHz\n * 3 - 220 - 225 MHz\n * 4 - 430 - 440 MHz\n * 5 - 902 - 928 MHz\n * 6 - 1240 - 1325 MHz\n * 7 - 2300 - 2450 MHz\n * 8 - 3300 - 3500 MHz\n"
},
"rxCellularChannel" : {
"type" : "integer",
"description" : "Rx cellular channel selection (see LimeRFEController.HAMChannel enumeration)"
"description" : "Rx cellular channel selection (LimeRFEController::CellularChannel)\n * 0 - Band 1: 1.92 - 1.98 GHz\n * 1 - Band 2: 1.84 - 1.92 GHz\n * 2 - Band 3: 1.71 - 1.79 GHz\n * 3 - Band 7: 2.48 - 2.58 GHz\n * 4 - Band 38: 2.56 - 2.63 GHz\n"
},
"rxPort" : {
"type" : "integer",
"description" : "Rx port selected (see LimeRFEController.RxPort enumeration)"
"description" : "Rx port selected (LimeRFEController::RxPort)\n * 0 - J3\n * 1 - J5\n"
},
"attenuationFactor" : {
"type" : "integer",
@ -3982,22 +3983,23 @@ margin-bottom: 20px;
},
"txChannels" : {
"type" : "integer",
"description" : "Tx channels group (see LimeRFEController.ChannelGroups enumeration)"
"description" : "Tx channels group (LimeRFEController::ChannelGroups)\n * 0 - Wideband\n * 1 - HAM\n * 2 - cellular\n"
},
"txWidebandChannel" : {
"type" : "integer"
"type" : "integer",
"description" : "Tx wideband channel selection (LimeRFEController::WidebandChannel)\n * 0 - Low: 1 - 1000 MHz\n * 1 - High: 1 - 4 GHz\n"
},
"txHAMChannel" : {
"type" : "integer",
"description" : "Tx HAM channel selection (see LimeRFEController.HAMChannel enumeration)"
"description" : "Tx HAM channel selection (LimeRFEController::HAMChannel)\n * 0 - 30 MHz and lower\n * 1 - 50 - 70 MHz\n * 2 - 144 - 146 MHz\n * 3 - 220 - 225 MHz\n * 4 - 430 - 440 MHz\n * 5 - 902 - 928 MHz\n * 6 - 1240 - 1325 MHz\n * 7 - 2300 - 2450 MHz\n * 8 - 3300 - 3500 MHz\n"
},
"txCellularChannel" : {
"type" : "integer",
"description" : "Tx cellular channel selection (see LimeRFEController.HAMChannel enumeration)"
"description" : "Tx cellular channel selection (LimeRFEController::CellularChannel)\n * 0 - Band 1: 1.92 - 1.98 GHz\n * 1 - Band 2: 1.84 - 1.92 GHz\n * 2 - Band 3: 1.71 - 1.79 GHz\n * 3 - Band 7: 2.48 - 2.58 GHz\n * 4 - Band 38: 2.56 - 2.63 GHz\n"
},
"txPort" : {
"type" : "integer",
"description" : "Tx port selected (see LimeRFEController.TxPort enumeration)"
"description" : "Tx port selected (LimeRFEController::TxPort)\n * 0 - J3\n * 1 - J4\n * 2 - J5\n"
},
"swrEnable" : {
"type" : "integer",
@ -4005,7 +4007,7 @@ margin-bottom: 20px;
},
"swrSource" : {
"type" : "integer",
"description" : "SWR measurement source (see LimeRFEController.SWRSource)"
"description" : "SWR measurement source (LimeRFEController::SWRSource)\n * 0 - External\n * 1 - Cellular\n"
},
"rxOn" : {
"type" : "integer",
@ -32051,7 +32053,7 @@ except ApiException as e:
</div>
<div id="generator">
<div class="content">
Generated 2020-01-22T13:01:16.449+01:00
Generated 2020-03-10T05:29:42.607+01:00
</div>
</div>
</div>

View File

@ -5,20 +5,46 @@ LimeRFESettings:
description: Path to the device serial interface (ex /dev/ttyUSB2)
type: string
rxChannels:
description: Rx channels group (see LimeRFEController.ChannelGroups enumeration)
type: integer
description: >
Rx channels group (LimeRFEController::ChannelGroups):
* 0 - Wideband
* 1 - HAM
* 2 - cellular
rxWidebandChannel:
descrition: Rx wideband channel selection (see LimeRFEController.WidebandChannel enumeration)
type: integer
description: >
Rx wideband channel selection (LimeRFEController::WidebandChannel)
* 0 - Low: 1 - 1000 MHz
* 1 - High: 1 - 4 GHz
rxHAMChannel:
description: Rx HAM channel selection (see LimeRFEController.HAMChannel enumeration)
type: integer
description: >
Rx HAM channel selection (LimeRFEController::HAMChannel)
* 0 - 30 MHz and lower
* 1 - 50 - 70 MHz
* 2 - 144 - 146 MHz
* 3 - 220 - 225 MHz
* 4 - 430 - 440 MHz
* 5 - 902 - 928 MHz
* 6 - 1240 - 1325 MHz
* 7 - 2300 - 2450 MHz
* 8 - 3300 - 3500 MHz
rxCellularChannel:
description: Rx cellular channel selection (see LimeRFEController.HAMChannel enumeration)
type: integer
description: >
Rx cellular channel selection (LimeRFEController::CellularChannel)
* 0 - Band 1: 1.92 - 1.98 GHz
* 1 - Band 2: 1.84 - 1.92 GHz
* 2 - Band 3: 1.71 - 1.79 GHz
* 3 - Band 7: 2.48 - 2.58 GHz
* 4 - Band 38: 2.56 - 2.63 GHz
rxPort:
description: Rx port selected (see LimeRFEController.RxPort enumeration)
type: integer
description: >
Rx port selected (LimeRFEController::RxPort)
* 0 - J3
* 1 - J5
attenuationFactor:
description: Rx attenuation factor. Attenuation is 2 times this factor in dB (0..7 => 0..14dB)
type: integer
@ -26,26 +52,56 @@ LimeRFESettings:
desciption: Rx AM/FM notch filter (boolean)
type: integer
txChannels:
description: Tx channels group (see LimeRFEController.ChannelGroups enumeration)
type: integer
description: >
Tx channels group (LimeRFEController::ChannelGroups)
* 0 - Wideband
* 1 - HAM
* 2 - cellular
txWidebandChannel:
descrition: Tx wideband channel selection (see LimeRFEController.WidebandChannel enumeration)
type: integer
description: >
Tx wideband channel selection (LimeRFEController::WidebandChannel)
* 0 - Low: 1 - 1000 MHz
* 1 - High: 1 - 4 GHz
txHAMChannel:
description: Tx HAM channel selection (see LimeRFEController.HAMChannel enumeration)
type: integer
description: >
Tx HAM channel selection (LimeRFEController::HAMChannel)
* 0 - 30 MHz and lower
* 1 - 50 - 70 MHz
* 2 - 144 - 146 MHz
* 3 - 220 - 225 MHz
* 4 - 430 - 440 MHz
* 5 - 902 - 928 MHz
* 6 - 1240 - 1325 MHz
* 7 - 2300 - 2450 MHz
* 8 - 3300 - 3500 MHz
txCellularChannel:
description: Tx cellular channel selection (see LimeRFEController.HAMChannel enumeration)
type: integer
description: >
Tx cellular channel selection (LimeRFEController::CellularChannel)
* 0 - Band 1: 1.92 - 1.98 GHz
* 1 - Band 2: 1.84 - 1.92 GHz
* 2 - Band 3: 1.71 - 1.79 GHz
* 3 - Band 7: 2.48 - 2.58 GHz
* 4 - Band 38: 2.56 - 2.63 GHz
txPort:
description: Tx port selected (see LimeRFEController.TxPort enumeration)
type: integer
description: >
Tx port selected (LimeRFEController::TxPort)
* 0 - J3
* 1 - J4
* 2 - J5
swrEnable:
description: Boolean if SWR measurements are enabled else 0
type: integer
swrSource:
description: SWR measurement source (see LimeRFEController.SWRSource)
type: integer
description: >
SWR measurement source (LimeRFEController::SWRSource)
* 0 - External
* 1 - Cellular
rxOn:
description: Boolean 1 if Rx is active else 0
type: integer

View File

@ -3956,22 +3956,23 @@ margin-bottom: 20px;
},
"rxChannels" : {
"type" : "integer",
"description" : "Rx channels group (see LimeRFEController.ChannelGroups enumeration)"
"description" : "Rx channels group (LimeRFEController::ChannelGroups):\n * 0 - Wideband\n * 1 - HAM\n * 2 - cellular\n"
},
"rxWidebandChannel" : {
"type" : "integer"
"type" : "integer",
"description" : "Rx wideband channel selection (LimeRFEController::WidebandChannel)\n * 0 - Low: 1 - 1000 MHz\n * 1 - High: 1 - 4 GHz\n"
},
"rxHAMChannel" : {
"type" : "integer",
"description" : "Rx HAM channel selection (see LimeRFEController.HAMChannel enumeration)"
"description" : "Rx HAM channel selection (LimeRFEController::HAMChannel)\n * 0 - 30 MHz and lower\n * 1 - 50 - 70 MHz\n * 2 - 144 - 146 MHz\n * 3 - 220 - 225 MHz\n * 4 - 430 - 440 MHz\n * 5 - 902 - 928 MHz\n * 6 - 1240 - 1325 MHz\n * 7 - 2300 - 2450 MHz\n * 8 - 3300 - 3500 MHz\n"
},
"rxCellularChannel" : {
"type" : "integer",
"description" : "Rx cellular channel selection (see LimeRFEController.HAMChannel enumeration)"
"description" : "Rx cellular channel selection (LimeRFEController::CellularChannel)\n * 0 - Band 1: 1.92 - 1.98 GHz\n * 1 - Band 2: 1.84 - 1.92 GHz\n * 2 - Band 3: 1.71 - 1.79 GHz\n * 3 - Band 7: 2.48 - 2.58 GHz\n * 4 - Band 38: 2.56 - 2.63 GHz\n"
},
"rxPort" : {
"type" : "integer",
"description" : "Rx port selected (see LimeRFEController.RxPort enumeration)"
"description" : "Rx port selected (LimeRFEController::RxPort)\n * 0 - J3\n * 1 - J5\n"
},
"attenuationFactor" : {
"type" : "integer",
@ -3982,22 +3983,23 @@ margin-bottom: 20px;
},
"txChannels" : {
"type" : "integer",
"description" : "Tx channels group (see LimeRFEController.ChannelGroups enumeration)"
"description" : "Tx channels group (LimeRFEController::ChannelGroups)\n * 0 - Wideband\n * 1 - HAM\n * 2 - cellular\n"
},
"txWidebandChannel" : {
"type" : "integer"
"type" : "integer",
"description" : "Tx wideband channel selection (LimeRFEController::WidebandChannel)\n * 0 - Low: 1 - 1000 MHz\n * 1 - High: 1 - 4 GHz\n"
},
"txHAMChannel" : {
"type" : "integer",
"description" : "Tx HAM channel selection (see LimeRFEController.HAMChannel enumeration)"
"description" : "Tx HAM channel selection (LimeRFEController::HAMChannel)\n * 0 - 30 MHz and lower\n * 1 - 50 - 70 MHz\n * 2 - 144 - 146 MHz\n * 3 - 220 - 225 MHz\n * 4 - 430 - 440 MHz\n * 5 - 902 - 928 MHz\n * 6 - 1240 - 1325 MHz\n * 7 - 2300 - 2450 MHz\n * 8 - 3300 - 3500 MHz\n"
},
"txCellularChannel" : {
"type" : "integer",
"description" : "Tx cellular channel selection (see LimeRFEController.HAMChannel enumeration)"
"description" : "Tx cellular channel selection (LimeRFEController::CellularChannel)\n * 0 - Band 1: 1.92 - 1.98 GHz\n * 1 - Band 2: 1.84 - 1.92 GHz\n * 2 - Band 3: 1.71 - 1.79 GHz\n * 3 - Band 7: 2.48 - 2.58 GHz\n * 4 - Band 38: 2.56 - 2.63 GHz\n"
},
"txPort" : {
"type" : "integer",
"description" : "Tx port selected (see LimeRFEController.TxPort enumeration)"
"description" : "Tx port selected (LimeRFEController::TxPort)\n * 0 - J3\n * 1 - J4\n * 2 - J5\n"
},
"swrEnable" : {
"type" : "integer",
@ -4005,7 +4007,7 @@ margin-bottom: 20px;
},
"swrSource" : {
"type" : "integer",
"description" : "SWR measurement source (see LimeRFEController.SWRSource)"
"description" : "SWR measurement source (LimeRFEController::SWRSource)\n * 0 - External\n * 1 - Cellular\n"
},
"rxOn" : {
"type" : "integer",
@ -32051,7 +32053,7 @@ except ApiException as e:
</div>
<div id="generator">
<div class="content">
Generated 2020-01-22T13:01:16.449+01:00
Generated 2020-03-10T05:29:42.607+01:00
</div>
</div>
</div>