For LoRaWAN pre-certification tool (LCTT) we use the below global_conf.json file.
Other frequencies could be used if following rules are applied:
- The used frequency falls inside the IN865 region national regulations available spectrum
- The channels are spaced by at least 200 kHz for 125 kHz bandwidth channels.
- 250 kHz bandwidth channels are not allowed by the IN865 region national regulations.
- FSK channel frequency can overlap a 125 kHz bandwidth channel frequency.
{
"SX130x_conf": {
"desc":"IN865 configuration",
"spidev_path": "/dev/spidev0.0",
"lorawan_public": true,
"clksrc": 0,
"antenna_gain": 0,
"full_duplex": false,
"precision_timestamp": {
"enable": false,
"max_ts_metrics": 255,
"nb_symbols": 1
},
"radio_0": {
"enable": true,
"type": "SX1250",
"freq": 865400000,
"rssi_offset": -215.4,
"rssi_tcomp": {"coeff_a": 0, "coeff_b": 0, "coeff_c": 20.41, "coeff_d": 2162.56, "coeff_e": 0},
"tx_enable": true,
"tx_freq_min": 865000000,
"tx_freq_max": 867000000,
"tx_gain_lut":[
{"rf_power": 12, "pa_gain": 0, "pwr_idx": 15},
{"rf_power": 13, "pa_gain": 0, "pwr_idx": 16},
{"rf_power": 14, "pa_gain": 0, "pwr_idx": 17},
{"rf_power": 15, "pa_gain": 0, "pwr_idx": 19},
{"rf_power": 16, "pa_gain": 0, "pwr_idx": 20},
{"rf_power": 17, "pa_gain": 0, "pwr_idx": 22},
{"rf_power": 18, "pa_gain": 1, "pwr_idx": 1},
{"rf_power": 19, "pa_gain": 1, "pwr_idx": 2},
{"rf_power": 20, "pa_gain": 1, "pwr_idx": 3},
{"rf_power": 21, "pa_gain": 1, "pwr_idx": 4},
{"rf_power": 22, "pa_gain": 1, "pwr_idx": 5},
{"rf_power": 23, "pa_gain": 1, "pwr_idx": 6},
{"rf_power": 24, "pa_gain": 1, "pwr_idx": 7},
{"rf_power": 25, "pa_gain": 1, "pwr_idx": 9},
{"rf_power": 26, "pa_gain": 1, "pwr_idx": 11},
{"rf_power": 27, "pa_gain": 1, "pwr_idx": 14}
]
},
"radio_1": {
"enable": true,
"type": "SX1250",
"freq": 866000000,
"rssi_offset": -215.4,
"rssi_tcomp": {"coeff_a": 0, "coeff_b": 0, "coeff_c": 20.41, "coeff_d": 2162.56, "coeff_e": 0},
"tx_enable": false
},
"chan_multiSF_0": {"enable": true, "radio": 0, "if": -337500, "desc": "LoRa channel, 125kHz, all SF, 865.0625 MHz"},
"chan_multiSF_1": {"enable": true, "radio": 0, "if": 2500, "desc": "LoRa channel, 125kHz, all SF, 865.4025 MHz"},
"chan_multiSF_2": {"enable": true, "radio": 1, "if": -15000, "desc": "LoRa channel, 125kHz, all SF, 865.9850 MHz"},
"chan_multiSF_3": {"enable": true, "radio": 0, "if": -167500, "desc": "LoRa channel, 125kHz, all SF, 865.2325 MHz"},
"chan_multiSF_4": {"enable": true, "radio": 0, "if": 172500, "desc": "LoRa channel, 125kHz, all SF, 865.5725 MHz"},
"chan_multiSF_5": {"enable": true, "radio": 1, "if": -160000, "desc": "LoRa channel, 125kHz, all SF, 865.8400 MHz"},
"chan_multiSF_6": {"enable": true, "radio": 1, "if": 130000, "desc": "LoRa channel, 125kHz, all SF, 866.1300 MHz"},
"chan_multiSF_7": {"enable": true, "radio": 1, "if": 275000, "desc": "LoRa channel, 125kHz, all SF, 866.2750 MHz"},
"chan_Lora_std": {"enable": false,"radio": 1, "if": 300000, "bandwidth": 250000, "spread_factor": 7, "implicit_hdr": false, "implicit_payload_length": 17, "implicit_crc_en": false, "implicit_coderate": 1, "desc": "LoRa channel, 250kHz, SF7, 866.3000 MHz"},
"chan_FSK": {"enable": true, "radio": 1, "if": 300000, "bandwidth": 125000, "datarate": 50000, "desc": "FSK channel, 125kHz, 50kbps, 866.3000 MHz"}
},
"gateway_conf": {
"gateway_ID": "AA555A0000000000",
"server_address": "localhost",
"serv_port_up": 1780,
"serv_port_down": 1780,
"keepalive_interval": 10,
"stat_interval": 30,
"push_timeout_ms": 100,
"forward_crc_valid": true,
"forward_crc_error": false,
"forward_crc_disabled": false,
"gps_tty_path": "/dev/ttyS0",
"ref_latitude": 0.0,
"ref_longitude": 0.0,
"ref_altitude": 0,
"beacon_period": 0,
"beacon_freq_hz": 866550000,
"beacon_datarate": 8,
"beacon_bw_hz": 125000,
"beacon_power": 14,
"beacon_infodesc": 0
},
"debug_conf": {
"ref_payload":[
{"id": "0xCAFE1234"},
{"id": "0xCAFE2345"}
],
"log_file": "loragw_hal.log"
}
}