- 最新
- 投票最多
- 评论最多
Hi. Thanks for the info. With reference to this part of the Basic Station logs:
Mon Jan 29 19:47:44 2024 user.debug basicstation[6441]: [AIO:XDEB] [6|WS] < {"msgtype":"router_config","NetID":null,"JoinEUI":null,"region":"AU915","hwspec":"sx1301/2","freq_range":[915000000,928000000],"DRs":[[12,125,0],[11,125,0],[10,125,0],[9,125,0],[8,125,0],[7,125,0],[8,500,0],[-1,0,0],[12,500,1],[11,500,1],[10,500,1],[9,500,1],[8,500,0],[7,500,1],[-1,0,0],[-1,0,0]],"sx1301_conf":[{"radio_0":{"enable":true,"freq":915600000},"radio_1":{"enable":true,"freq":916600000},"chan_FSK":{"enable":false},"chan_Lora_std":{"enable":true,"ra
Mon Jan 29 19:47:44 2024 user.debug basicstation[6441]: [AIO:XDEB] [6|WS] . dio":0,"if":300000,"bandwidth":500000,"spread_factor":8},"chan_multiSF_0":{"enable":true,"radio":0,"if":-400000},"chan_multiSF_1":{"enable":true,"radio":0,"if":-200000},"chan_multiSF_2":{"enable":true,"radio":0,"if":0},"chan_multiSF_3":{"enable":true,"radio":0,"if":200000},"chan_multiSF_4":{"enable":true,"radio":0,"if":400000},"chan_multiSF_5":{"enable":true,"radio":1,"if":-400000},"chan_multiSF_6":{"enable":true,"radio":1,"if":-200000},"chan_multiSF_7":{"en
Mon Jan 29 19:47:44 2024 user.debug basicstation[6441]: [AIO:XDEB] [6|WS] . able":true,"radio":1,"if":0}},{"radio_0":{"enable":true,"freq":917200000},"radio_1":{"enable":true,"freq":918200000},"chan_FSK":{"enable":false},"chan_Lora_std":{"enable":true,"radio":0,"if":300000,"bandwidth":500000,"spread_factor":8},"chan_multiSF_0":{"enable":true,"radio":0,"if":-400000},"chan_multiSF_1":{"enable":true,"radio":0,"if":-200000},"chan_multiSF_2":{"enable":true,"radio":0,"if":0},"chan_multiSF_3":{"enable":true,"radio":0,"if":200000},"chan_mul
Mon Jan 29 19:47:44 2024 user.debug basicstation[6441]: [AIO:XDEB] [6|WS] . tiSF_4":{"enable":true,"radio":0,"if":400000},"chan_multiSF_5":{"enable":true,"radio":1,"if":-400000},"chan_multiSF_6":{"enable":true,"radio":1,"if":-200000},"chan_multiSF_7":{"enable":true,"radio":1,"if":0}}],"protocol":0,"regionid":0}
Mon Jan 29 19:47:44 2024 user.err basicstation[6441]: [RAL:ERRO] Unsupported hwspec=sx1301/2
Mon Jan 29 19:47:44 2024 user.err basicstation[6441]: [any:ERRO] Closing connection to muxs - error in s2e_onMsg
From that, I can see that you've created the gateway in AU915, with two subbands enabled. To the best of my understanding the router_config
message is fine. I think the hwspec
value of sx1301/2
is correct.
And yet Basic Station rejects it as follows:
[RAL:ERRO] Unsupported hwspec=sx1301/2
This rejection occurs here:
https://github.com/lorabasics/basicstation/blob/ba4f85d80a438a5c2b659e568cd2d0f0de08e5a7/src/s2e.c#L1178 https://github.com/lorabasics/basicstation/blob/ba4f85d80a438a5c2b659e568cd2d0f0de08e5a7/src/ral_lgw.c#L360
Which I think means your Basic Station binary has been linked without support for two concentrators. I think it should instead link this:
https://github.com/lorabasics/basicstation/blob/ba4f85d80a438a5c2b659e568cd2d0f0de08e5a7/src/ral_lgw2.c#L316 https://github.com/lorabasics/basicstation/blob/master/src/sx1301v2conf.c#L547
Assuming I'm on the right track here, I think you should check with RAK wireless.
I'll get in touch with RAK team. Thank you, Greg.
相关内容
- AWS 官方已更新 2 年前
Hi. Can you please set
log_level
in yourstation.conf
toXDEBUG
. That way your logs will capture therouter_config
message from the LNS. Then you can see all the details of the channel plan. Please also share yourstation.conf
.Hi, Greg_B. I think i can't access the station.conf file of this product, I can set logs level to DEBUG in settings interface, but i don't know if this is translated to the file as XDEBUG level.
I manged to access the gateway via SSH, here it is the station.conf file that I've found, but not sure if it's the only one: https://drive.google.com/file/d/1jjZIJ3CAIUJ7Hga5YGPkbNOmf2jle1Yp/view?usp=sharing
And below is some logs with XDEBUG: https://drive.google.com/file/d/15I3rlf2vLZLg5l8QdbLthUQPC3toIN2A/view?usp=sharing