How to change the sub-band configuration?

I’m using a Raspberry Pi with Chirp stack and a Rak LoRaWAN hat. It works on sub-band 0 (first 8 channels), and I’m able to decrypt LoRa payloads in the sub-band 0. But I’d like to change it to use sub-band 1 (second of 8-channel group). My understanding is I need to do two things:

  1. run “sudo gateway-config” and change the channel plan configuration from channel 0-7 to channel 8-15.

  2. copy /etc/chirpstack-network-server/config/us915_1.toml to /etc/chirpstack-network-server/chirpstack-network-server.toml .

Having done that, I’m still not seeing join requests from a device that is suppose to try sub-band 1 for joins. I’m pretty sure the device works, but my gateway isn’t configured correctly for sub-band 1. Am I missing some other step?

Hello Joseph, Welcome to RAKwireless forum,
Your end-device application must also configure the sub-band. On RUI3 API we use api.lorawan.mask.set

Blockquote

uint16_t maskBuff = 0x0002;
if (!api.lorawan.mask.set(&maskBuff)) {
Serial.printf(“LoRaWan OTAA - set mask is incorrect! \r\n”);
return;
}

Blockquote

Check LoRaWAN section for RAK4630 :