RAK2461 decode data and sending commands

Hello, I have recently been setting up the RAK2461 bridge IO on a ChirpStack server, and I have two questions about it.

From the RAK2461, I receive data like ‘d10101d20101’, which translates to 9 bytes, but I have not been able to find what each Byte represents.

Also, I would like to send a command to the RAK2461 to activate the relays. I assume this was possible with MQTT, but I don’t know what the actual command is to do this.

Hi @jorge ,

The payload you receive represent the state of the DO pins.

D1 (Relay) - 01 (Output type) - 01 (On. This is 00 if off)
D2 (Relay) - 01 (Output type) - 01 (On. This is 00 if off)

You can use the same format in reverse.

For example, you want to turn off D1, you can send D1 01 00 as downlink. With MQTT, you can do MQTT integration depending on the LNS you uses.

I see that the receiving part works fine, but I am still unable to send commands. I suppose that it is a ChirpStack problem

Thanks for your response

Any help is welcome