Basic Station Protocol LBT Property for MTCDT-LEU1
Home › Forums › Conduit: mLinux Model › Basic Station Protocol LBT Property for MTCDT-LEU1
Tagged: Conduit: mLinux Model
- This topic has 3 replies, 2 voices, and was last updated 4 years, 7 months ago by
Jason Reiss.
-
AuthorPosts
-
August 20, 2020 at 11:44 am #31099
yuchenghkedu@gmail.com
ParticipantHi, everyone. Recently, I am testing basic station protocol on MTCDT-LEU1 with TTN open stack. Other functions have already worked well except Listen-Before-Talk functions.
I have updated the FPGA as follows:
mtcdt:/opt/lora# mts-fpga-loader -c
Checking hardware compatibility
Found Valid Hardware: MTAC-LORA-1.5
Valid FPGA version: 33And in the station.conf, I create the lbt function:
{
“SX1301_conf”: {
“lorawan_public”: true,
“clksrc”: 0,
“pps”: true,
“device”: “/dev/spidev0.0”,
“chan_FSK”: {“bandwidth”: 125000, “datarate”: 50000, “enable”: true, “if”: 300000, “radio”: 0},
“chan_Lora_std”: {“bandwidth”: 250000, “enable”: true, “if”: -200000, “radio”: 0, “spread_factor”: 7},
“chan_multiSF_0”: {“enable”: true, “if”: -400000, “radio”: 0},
“chan_multiSF_1”: {“enable”: true, “if”: -200000, “radio”: 0},
“chan_multiSF_2”: {“enable”: true, “if”: 0, “radio”: 0},
“chan_multiSF_3”: {“enable”: true, “if”: -400000, “radio”: 1},
“chan_multiSF_4”: {“enable”: true, “if”: -200000, “radio”: 1},
“chan_multiSF_5”: {“enable”: true, “if”: 0, “radio”: 1},
“chan_multiSF_6”: {“enable”: true, “if”: 200000, “radio”: 1},
“chan_multiSF_7”: {“enable”: true, “if”: 400000, “radio”: 1},
“radio_0”: {“enable”: true, “freq”: 923600000, “rssi_offset”: -162, “tx_enable”: true, “type”: “SX1257”},
“radio_1”: {“enable”: true, “freq”: 922600000, “rssi_offset”: -162, “tx_enable”: false, “type”: “SX1257”},
“tx_gain_lut”: [
{“dig_gain”: 0, “mix_gain”: 11, “pa_gain”: 0, “dac_gain”: 3, “rf_power”: -6},
{“dig_gain”: 0, “mix_gain”: 13, “pa_gain”: 0, “dac_gain”: 3, “rf_power”: -3},
{“dig_gain”: 0, “mix_gain”: 9, “pa_gain”: 1, “dac_gain”: 3, “rf_power”: 0},
{“dig_gain”: 0, “mix_gain”: 10, “pa_gain”: 1, “dac_gain”: 3, “rf_power”: 3},
{“dig_gain”: 0, “mix_gain”: 12, “pa_gain”: 1, “dac_gain”: 3, “rf_power”: 6},
{“dig_gain”: 0, “mix_gain”: 10, “pa_gain”: 2, “dac_gain”: 3, “rf_power”: 10},
{“dig_gain”: 0, “mix_gain”: 11, “pa_gain”: 2, “dac_gain”: 3, “rf_power”: 11},
{“dig_gain”: 0, “mix_gain”: 11, “pa_gain”: 2, “dac_gain”: 3, “rf_power”: 12},
{“dig_gain”: 2, “mix_gain”: 12, “pa_gain”: 2, “dac_gain”: 3, “rf_power”: 13},
{“dig_gain”: 0, “mix_gain”: 13, “pa_gain”: 2, “dac_gain”: 3, “rf_power”: 14},
{“dig_gain”: 0, “mix_gain”: 15, “dac_gain”: 3, “pa_gain”: 2, “rf_power”: 16},
{“dig_gain”: 0, “mix_gain”: 10, “pa_gain”: 3, “dac_gain”: 3, “rf_power”: 20},
{“dig_gain”: 0, “mix_gain”: 12, “dac_gain”: 3, “pa_gain”: 3, “rf_power”: 23},
{“dig_gain”: 0, “dac_gain”: 3, “mix_gain”: 13, “pa_gain”: 3, “rf_power”: 25},
{“dig_gain”: 0, “dac_gain”: 3, “mix_gain”: 15, “pa_gain”: 3, “rf_power”: 26},
{“dig_gain”: 0, “mix_gain”: 15, “dac_gain”: 3, “pa_gain”: 3, “rf_power”: 27}
]
},
“lbt_conf”: { “enable”: true, “rssi_target”: -80, “rssi_offset”: -165 },
“station_conf”: {
“log_file”: “stderr”,
“log_level”: “DEBUG”,
“log_size”: 10000000,
“log_rotate”: 3,
“TC_TIMEOUT”: “2s”
}
}But when I running the ./station, the log shows back:
2020-08-20 16:31:23.994 [RAL:WARN] Ignoring unsupported/unknown field: lbt_conf
2020-08-20 16:31:23.994 [RAL:WARN] Ignoring unsupported/unknown field: antenna_gain
2020-08-20 16:31:23.994 [RAL:WARN] Ignoring unsupported/unknown field: lbt_cfgThis means the lbt function is not working. I have also checked the ttn stack and the frequency plan has already been configured as AS923_9235_lbt.
So, anyone knows to solve this issue?
Thx so much.
August 20, 2020 at 8:38 pm #31106yuchenghkedu@gmail.com
ParticipantAnother problem is that the basic station protocol may loss some uplink messages and always works on time synchronization. The end device works on class A mode. From official basic station document, there is no need for class A to synchronize time.
August 28, 2020 at 10:03 am #31110Jason Reiss
KeymasterA “region” setting may be needed.
https://doc.sm.tc/station/tcproto.html?highlight=region
“region”: “AS923JP”
https://github.com/lorabasics/basicstation/blob/817e6e1e7f0c3affce078bac7b060ba675043664/src/s2e.c
There should be a region log message
LOG(MOD_S2E|INFO, “Configuring for region: %s%s — %F..%F”,
August 28, 2020 at 10:03 am #31111Jason Reiss
KeymasterWhat is the reason for lost uplinks?
-
AuthorPosts
- You must be logged in to reply to this topic.