RAK7289: "Unsupported hwspec=sx1301/0" when attempting BasicsStation operation

I’ve successfully operated a new RAK7289 as a Network Server (very slick!) but now I’m attempting to configure the RAK7289 for Basics Station to a local ChirpStack server, but I see no connections from the RAK7289 to ChirpStack, and find these errors in system log:

Sat Jun 25 01:19:02 2022 user.err basicstation[24773]: [RAL:ERRO] Unsupported hwspec=sx1301/0
Sat Jun 25 01:19:02 2022 user.err basicstation[24773]: [any:ERRO] Closing connection to muxs - error in s2e_onMsg

IIRC, the 7289 uses SX1303s, so this error message seems wrong.

Also fishing around the filesystem on the 7289, I find the following, which may not be correct:

[email protected]:/usr/share/lora# grep 1301 *
global_conf.json: “SX1301_conf”: {
global_conf.json.AS920: “SX1301_conf”: {
global_conf.json.AS923: “SX1301_conf”: {
global_conf.json.AU915: “SX1301_conf”: {
global_conf.json.CN470: “SX1301_conf”: {
global_conf.json.EU433: “SX1301_conf”: {
global_conf.json.EU868: “SX1301_conf”: {
global_conf.json.IN865: “SX1301_conf”: {
global_conf.json.KR920: “SX1301_conf”: {
global_conf.json.PCB_E286.EU868.basic: “SX1301_conf”: {
global_conf.json.PCB_E286.EU868.beacon: “SX1301_conf”: {
global_conf.json.PCB_E286.EU868.gps: “SX1301_conf”: {
global_conf.json.PCB_E336.EU868.basic: “SX1301_conf”: {
global_conf.json.PCB_E336.EU868.beacon: “SX1301_conf”: {
global_conf.json.PCB_E336.EU868.gps: “SX1301_conf”: {
global_conf.json.US902.basic: “SX1301_conf”: {
global_conf.json.US902.beacon: “SX1301_conf”: {
global_conf.json.US902.gps: “SX1301_conf”: {
global_conf.json.US915: “SX1301_conf”: {

Any pointers?

Thanks,
Dana

Here’s more error messages from the RAK7289:

Sat Jun 25 22:48:04 2022 user.info basicstation[18799]: [TCE:INFO] Connecting to INFOS: ws://192.168.0.47:3001
Sat Jun 25 22:48:04 2022 user.info basicstation[18799]: [TCE:INFO] Infos: ac1f:09ff:fe08:f053 ac1f:09ff:fe08:f053 ws://192.168.0.47:3001/gateway/ac1f09fffe08f053
Sat Jun 25 22:48:04 2022 user.debug basicstation[18799]: [TCE:VERB] Connecting to MUXS...
Sat Jun 25 22:48:04 2022 user.debug basicstation[18799]: [TCE:VERB] Connected to MUXS.
Sat Jun 25 22:48:04 2022 user.err basicstation[18799]: [RAL:ERRO] Unsupported hwspec=sx1301/0
Sat Jun 25 22:48:04 2022 user.err basicstation[18799]: [any:ERRO] Closing connection to muxs - error in s2e_onMsg
Sat Jun 25 22:48:04 2022 user.debug basicstation[18799]: [TCE:VERB] Connection to MUXS closed in state -1
Sat Jun 25 22:48:04 2022 user.debug basicstation[18799]: [SYS:VERB] Sys state 2
Sat Jun 25 22:48:04 2022 user.info basicstation[18799]: [TCE:INFO] INFOS reconnect backoff 10s (retry 1)
Sat Jun 25 22:48:14 2022 user.info basicstation[18799]: [TCE:INFO] Connecting to INFOS: ws://192.168.0.47:3001
Sat Jun 25 22:48:14 2022 user.info basicstation[18799]: [TCE:INFO] Infos: ac1f:09ff:fe08:f053 ac1f:09ff:fe08:f053 ws://192.168.0.47:3001/gateway/ac1f09fffe08f053
Sat Jun 25 22:48:14 2022 user.debug basicstation[18799]: [TCE:VERB] Connecting to MUXS...
Sat Jun 25 22:48:14 2022 user.debug basicstation[18799]: [TCE:VERB] Connected to MUXS.
Sat Jun 25 22:48:14 2022 user.err basicstation[18799]: [RAL:ERRO] Unsupported hwspec=sx1301/0
Sat Jun 25 22:48:14 2022 user.err basicstation[18799]: [any:ERRO] Closing connection to muxs - error in s2e_onMsg
Sat Jun 25 22:48:14 2022 user.debug basicstation[18799]: [TCE:VERB] Connection to MUXS closed in state -1
Sat Jun 25 22:48:14 2022 user.debug basicstation[18799]: [SYS:VERB] Sys state 2

I’m using ChirpStack on the server, which seems to be listening at port 3001 as expected, and connections occur. Is there some additional configuration I need to do on the server side?

Thanks -
Dana

Now I understand: I needed to configure the channels for the SX130x in the ChirpStack gateway configuration.

  [[backend.basic_station.concentrators]]
    [backend.basic_station.concentrators.multi_sf]
    # SB1
    frequencies=[
      902300000,
      902500000,
      902700000,
      902900000,
      903100000,
      903300000,
      903500000,
      903700000,
    ]

    [backend.basic_station.concentrators.lora_std]
    frequency=903000000
    bandwidth=500000
    spreading_factor=8

Once I configured for 8 + 1 channels, I have a working GW using Basics Station.
hwspec = sx1301/1, meaning 1 SX1301

So then I add a second concentrator definition and now ChirpStack has hwspec=sx1301/2:

  [[backend.basic_station.concentrators]]
    [backend.basic_station.concentrators.multi_sf]
    # SB1
    frequencies=[
      902300000,
      902500000,
      902700000,
      902900000,
      903100000,
      903300000,
      903500000,
      903700000,
    ]

    [backend.basic_station.concentrators.lora_std]
    frequency=903000000
    bandwidth=500000
    spreading_factor=8

  [[backend.basic_station.concentrators]]
    [backend.basic_station.concentrators.multi_sf]
    frequencies=[
      903900000,
      904100000,
      904300000,
      904500000,
      904700000,
      904900000,
      905100000,
      905300000,
    ]

    [backend.basic_station.concentrators.lora_std]
    frequency=904600000
    bandwidth=500000
    spreading_factor=8

Any suggestions how to configure this on ChirpStack so the RAK7289 will use Basics Station for 16 channels?