RAK7391 Gateway Mesh Full Image

Hi All, can anyone tell me whether the RAK7391 download images on the Chirpstack Gateway Mesh page https://www.chirpstack.io/docs/chirpstack-gateway-os/install/rak.html are for the full image, or only the base image? I’d like to run the LNS and Node Red on a Relay gateway.

Thanks…

Hi @j9archer , the images for the RAK7391 WisGate Connect are full images including ChirpStack LNS and NodeRED.
But, may I know why do you want to run them on a relay gateway? Do you maybe mean on the border gateway?

Great - thanks Xose. This is for a particular use case where I have mobile gateways and I need to be able to do some local processing to handle alerts in Node Red if they move out of mesh range or the border relay goes down for whatever reason.

I was thinking about monitoring heartbeat acks to confirm the link, and then as failover switching the relay gateway to border mode and activating the backup LNS on the gateway. I guess I’d need to use ABP to avoid forcing rejoins and enable a fast switchover.

Would this work do you think?

Interesting.
I guess it’s possible but you will have to sniff the data in the IPC socket or the logs in order to know what’s going on in the relay gateway since it is not exposed anywhere. How do you plan to do it?

Hmm … for some reason I thought that there was a border_heartbeat, or at least an ack of the relay_heartbeat, but I guess not. I could program periodic downlinks from the main LNS and then monitor the relay logs for “Unwrapping relayed downlink” messages matching the relay_id, and switch if none are received within a certain interval. The problem could be in switching back. What happens when a border gateway sends a downlink to a relay gateway which has been switched to border mode? Will it still log the downlink message, or will it ignore it?