Hi!
I have a RAK7371 with RAK5146 inside, connected to a Raspberry Pi 3B.
I followed the instructions here:
https://github.com/RAKWireless/rak_common_for_gateway
and here:
https://github.com/RAKWireless/rak_common_for_gateway
There were some warning messages during the build, but other than that the install went smoothly.
When I run the packet forwarder I get this error:
ERROR: sx1261_check_status: SX1261 status is not as expected: got:0x00 expected:0x22
ERROR: sx1261_load_pram: SX1261 status error
ERROR: failed to patch sx1261 radio for LBT/Spectral Scan
ERROR: [main] failed to start the concentrator
I also tried installing on a Linux virtual machine and it is giving me the same error.
Can someone please enlighten me what is going on?
Thanks!
-Joey
I’ve just bought the RAK7271 AUS915,USB and I’m encountering the same error as the original poster when I run either:
- sudo ./spectral_scan -u -d /dev/ttyACM0
- sudo ./lora_pkt_fwd with global_conf.json copied from global_conf.json.sx1250.AS923.USB
Note that if I execute 2 above with global_conf.json copied from global_conf.json.sx1250.US915.USB it runs fine. However my AU915/AS923 lorawan devices won’t connect.
I’ve followed the instructions in the sx1302_hal-2.0.1 root read.me file and made a directory containing all the executables and the reset_lgw.sh script, i.e.
bob@bob-Standard-PC-i440FX-PIIX-1996:~/rak7271$ ls -l
total 0
lrwxrwxrwx 1 bob bob 34 Mar 1 13:58 boot → …/sx1302_hal-2.0.1/util_boot/boot
lrwxrwxrwx 1 bob bob 40 Mar 1 13:57 chip_id → …/sx1302_hal-2.0.1/util_chip_id/chip_id
lrwxrwxrwx 1 bob bob 53 Mar 1 13:59 global_conf.json → …/sx1302_hal-2.0.1/packet_forwarder/global_conf.json
lrwxrwxrwx 1 bob bob 49 Mar 1 13:58 lora_pkt_fwd → …/sx1302_hal-2.0.1/packet_forwarder/lora_pkt_fwd
lrwxrwxrwx 1 bob bob 50 Mar 1 13:58 net_downlink → …/sx1302_hal-2.0.1/util_net_downlink/net_downlink
lrwxrwxrwx 1 bob bob 38 Mar 1 13:54 reset_lgw.sh → …/sx1302_hal-2.0.1/tools/reset_lgw.sh
lrwxrwxrwx 1 bob bob 52 Mar 1 13:58 spectral_scan → …/sx1302_hal-2.0.1/util_spectral_scan/spectral_scan
My host is an Ubuntu 24.04.2 LTS VM running on Proxmox with USB pass-through configured for the STMicroelectronics Virtual COM Port.
Any insight into how to get the AS923 packet forwarder config working would be appreciated.
There’s a simple answer to this question. Both the Rak7271 and Rak7371 don’t have a Semtech SX1261 radio. They do have 2 Semtech SX1250 radios that can listen on 4 channels (or frequencies) each. So between the 2 they can be configured to listen on the 8 frequencies that make up a sub-band. See the following link for a good explanation of LoRAwan frequencies/channels/sub-bands used in the US:
LoRaWAN USA frequencies, channels and sub-bands for IoT devices
So in the global_conf.json file I found setting “enable”: false in the SX1261 section removed the issue described myself and the OP above.