Host driver/HAL to build a LoRa Picocell Gateway which communicates through USB with a concentrator board based on Semtech SX1308 multi-channel modem and SX1257/SX1255 RF transceivers.

Committer:
dgabino
Date:
Wed Apr 11 14:38:42 2018 +0000
Revision:
0:102b50f941d0
Initial commit

Who changed what in which revision?

UserRevisionLine numberNew contents of line
dgabino 0:102b50f941d0 1 {
dgabino 0:102b50f941d0 2 "SX1301_conf": {
dgabino 0:102b50f941d0 3 "lorawan_public": true,
dgabino 0:102b50f941d0 4 "clksrc": 1, /* radio_1 provides clock to concentrator */
dgabino 0:102b50f941d0 5 "radio_0": {
dgabino 0:102b50f941d0 6 "enable": true,
dgabino 0:102b50f941d0 7 "type": "SX1257",
dgabino 0:102b50f941d0 8 "freq": 867500000,
dgabino 0:102b50f941d0 9 "rssi_offset": -166.0,
dgabino 0:102b50f941d0 10 "tx_enable": false
dgabino 0:102b50f941d0 11 },
dgabino 0:102b50f941d0 12 "radio_1": {
dgabino 0:102b50f941d0 13 "enable": true,
dgabino 0:102b50f941d0 14 "type": "SX1257",
dgabino 0:102b50f941d0 15 "freq": 868500000,
dgabino 0:102b50f941d0 16 "rssi_offset": -166.0,
dgabino 0:102b50f941d0 17 "tx_enable": false
dgabino 0:102b50f941d0 18 },
dgabino 0:102b50f941d0 19 "chan_multiSF_0": {
dgabino 0:102b50f941d0 20 /* Lora MAC channel, 125kHz, all SF, 868.1 MHz */
dgabino 0:102b50f941d0 21 "enable": true,
dgabino 0:102b50f941d0 22 "radio": 1,
dgabino 0:102b50f941d0 23 "if": -400000
dgabino 0:102b50f941d0 24 },
dgabino 0:102b50f941d0 25 "chan_multiSF_1": {
dgabino 0:102b50f941d0 26 /* Lora MAC channel, 125kHz, all SF, 868.3 MHz */
dgabino 0:102b50f941d0 27 "enable": true,
dgabino 0:102b50f941d0 28 "radio": 1,
dgabino 0:102b50f941d0 29 "if": -200000
dgabino 0:102b50f941d0 30 },
dgabino 0:102b50f941d0 31 "chan_multiSF_2": {
dgabino 0:102b50f941d0 32 /* Lora MAC channel, 125kHz, all SF, 868.5 MHz */
dgabino 0:102b50f941d0 33 "enable": true,
dgabino 0:102b50f941d0 34 "radio": 1,
dgabino 0:102b50f941d0 35 "if": 0
dgabino 0:102b50f941d0 36 },
dgabino 0:102b50f941d0 37 "chan_multiSF_3": {
dgabino 0:102b50f941d0 38 /* Lora MAC channel, 125kHz, all SF, 867.1 MHz */
dgabino 0:102b50f941d0 39 "enable": true,
dgabino 0:102b50f941d0 40 "radio": 0,
dgabino 0:102b50f941d0 41 "if": -400000
dgabino 0:102b50f941d0 42 },
dgabino 0:102b50f941d0 43 "chan_multiSF_4": {
dgabino 0:102b50f941d0 44 /* Lora MAC channel, 125kHz, all SF, 867.3 MHz */
dgabino 0:102b50f941d0 45 "enable": true,
dgabino 0:102b50f941d0 46 "radio": 0,
dgabino 0:102b50f941d0 47 "if": -200000
dgabino 0:102b50f941d0 48 },
dgabino 0:102b50f941d0 49 "chan_multiSF_5": {
dgabino 0:102b50f941d0 50 /* Lora MAC channel, 125kHz, all SF, 867.5 MHz */
dgabino 0:102b50f941d0 51 "enable": true,
dgabino 0:102b50f941d0 52 "radio": 0,
dgabino 0:102b50f941d0 53 "if": 0
dgabino 0:102b50f941d0 54 },
dgabino 0:102b50f941d0 55 "chan_multiSF_6": {
dgabino 0:102b50f941d0 56 /* Lora MAC channel, 125kHz, all SF, 867.7 MHz */
dgabino 0:102b50f941d0 57 "enable": true,
dgabino 0:102b50f941d0 58 "radio": 0,
dgabino 0:102b50f941d0 59 "if": 200000
dgabino 0:102b50f941d0 60 },
dgabino 0:102b50f941d0 61 "chan_multiSF_7": {
dgabino 0:102b50f941d0 62 /* Lora MAC channel, 125kHz, all SF, 867.9 MHz */
dgabino 0:102b50f941d0 63 "enable": true,
dgabino 0:102b50f941d0 64 "radio": 0,
dgabino 0:102b50f941d0 65 "if": 400000
dgabino 0:102b50f941d0 66 },
dgabino 0:102b50f941d0 67 "chan_Lora_std": {
dgabino 0:102b50f941d0 68 /* Lora MAC channel, 250kHz, SF7, 868.3 MHz */
dgabino 0:102b50f941d0 69 "enable": true,
dgabino 0:102b50f941d0 70 "radio": 1,
dgabino 0:102b50f941d0 71 "if": -200000,
dgabino 0:102b50f941d0 72 "bandwidth": 250000,
dgabino 0:102b50f941d0 73 "spread_factor": 7
dgabino 0:102b50f941d0 74 },
dgabino 0:102b50f941d0 75 "chan_FSK": {
dgabino 0:102b50f941d0 76 /* FSK 50kbps channel, 868.8 MHz */
dgabino 0:102b50f941d0 77 "enable": true,
dgabino 0:102b50f941d0 78 "radio": 1,
dgabino 0:102b50f941d0 79 "if": 300000,
dgabino 0:102b50f941d0 80 "bandwidth": 125000,
dgabino 0:102b50f941d0 81 "datarate": 50000
dgabino 0:102b50f941d0 82 }
dgabino 0:102b50f941d0 83 },
dgabino 0:102b50f941d0 84 "gateway_conf": {
dgabino 0:102b50f941d0 85 "gateway_ID": "AA555A0000000000"
dgabino 0:102b50f941d0 86 }
dgabino 0:102b50f941d0 87 }