RAK7200 Data Send

I’m unable to get the expected data from the RAK7200 to helium. When I look at the payload on the helium console - there is unexpected result. If I send via serial connection:

sent via serial console:
at+send=lora:6:0000000000000001

Received via helium debug:
“payload”: “AAAAAAAAAAA=”

I’m having trouble understanding the correlation.

Hello @502jf09234jje , welcome to the forum.

The payload you see in the Helium console is Base64 encoded. You need a Base64 to Hex decoder to see the payload. You can use Base64 to hex: Encode and decode bytes online — Cryptii for example.

However, you say you send at+send=lora:6:0000000000000001 which would be
0x00, 0x00, 0x00, x00, 0x00, 0x00, 0x00, x01

But the Base64 payload you show would be decoded
0x00, 0x00, 0x00, x00, 0x00, 0x00, 0x00, x00

If you want to decode the payload automatically, you need a function in the Helium console to do it. You can find more help in the Helium Console Documentation

Thank you for your reply. I was able to get the expected data from my device using the github repo and a simple integration template like:

{
{{#decoded}}{{#payload}}
“id”: “location-brthroom”,
“value”: “brthr”,
“lat”:{{latitude}},
“lon”:{{longitude}},
“ele”:{{altitude}}
{{/payload}}{{/decoded}}
}

I’m excited to continue developing new implementations.