1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-06-04 23:14:47 -04:00

LoRa demod: REST API

This commit is contained in:
f4exb
2020-02-23 16:33:21 +01:00
parent 9aaa4756a2
commit 33f066c1c1
34 changed files with 3141 additions and 146 deletions
@@ -6,6 +6,32 @@ LoRaModSettings:
format: int64
bandwidthIndex:
type: integer
description: >
standard bandwidths index:
* 0 - 2604 Hz (333333 / 128)
* 1 - 3125 Hz (400000 / 128)
* 2 - 3906 Hz (500000 / 128)
* 3 - 5208 Hz (333333 / 64)
* 4 - 6250 Hz (400000 / 64)
* 5 - 7813 Hz (500000 / 64)
* 6 - 10417 Hz (333333 / 32)
* 7 - 12500 Hz (400000 / 32)
* 8 - 15625 Hz (500000 / 32)
* 9 - 20833 Hz (333333 / 16)
* 10 - 25000 Hz (400000 / 16)
* 11 - 31250 Hz (500000 / 16)
* 12 - 41667 Hz (333333 / 8)
* 13 - 50000 Hz (400000 / 8)
* 14 - 62500 Hz (500000 / 8)
* 15 - 83333 Hz (333333 / 4)
* 16 - 100000 Hz (400000 / 4)
* 17 - 125000 Hz (500000 / 4)
* 18 - 166667 Hz (333333 / 2)
* 19 - 200000 Hz (400000 / 2)
* 20 - 250000 Hz (500000 / 2)
* 21 - 333333 Hz (333333 / 1)
* 22 - 400000 Hz (400000 / 1)
* 23 - 500000 Hz (500000 / 1)
spreadFactor:
type: integer
deBits:
@@ -55,16 +81,16 @@ LoRaModSettings:
type: integer
description: >
type of message to send (LoRaModSettings::MessageType):
* 0 - No message i.e no output. Use this as a transition to resend the same message.
* 1 - Beacon. Sends message specified in beaconMessage
* 2 - CQ call. Sends message specified in cqMessage
* 3 - Reply to CQ call. Sends message specified in replyMessage
* 4 - Report to callee. Sends message specified in reportMessage
* 5 - Report to caller. Sends message specified in replyReportMessage
* 6 - RRR to callee. Sends message specified in rrrMessage
* 7 - 73 to caller. Sends message specified in message73
* 8 - Random message with callsigns. Sends message specified in qsoTextMessage
* 9 - Plain text. Sends message specified in textMessage
* 0 - No message i.e no output. Use this as a transition to resend the same message.
* 1 - Beacon. Sends message specified in beaconMessage
* 2 - CQ call. Sends message specified in cqMessage
* 3 - Reply to CQ call. Sends message specified in replyMessage
* 4 - Report to callee. Sends message specified in reportMessage
* 5 - Report to caller. Sends message specified in replyReportMessage
* 6 - RRR to callee. Sends message specified in rrrMessage
* 7 - 73 to caller. Sends message specified in message73
* 8 - Random message with callsigns. Sends message specified in qsoTextMessage
* 9 - Plain text. Sends message specified in textMessage
* 10 - Binary payload. Sends bytes specified in bytesMessage
beaconMessage:
description: text message to be sent (repeatedly) as a beaconMessage
@@ -94,10 +120,10 @@ LoRaModSettings:
description: freeform text message
type: string
bytesMessage:
description: message to send as an array of hex string represented bytes (00..FF)
type: array
items:
type: string
description: message to send as an array of hex string represented bytes (00..FF)
messageRepeat:
description: number of repetitions of the same message (0 for infinite)
type: integer