Failed to send one byte message to AWS IOT Wireless device through queue downlink message

0

When I try to send a one byte message to my LoRa device that is connected to AWS IOT Wireless server I get a warning when I enter "1" in the Payload field and try to Submit that says:

Payload must follow pattern: ^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$

This is under: AWS IoT > Wireless connectivity > Wireless devices > [Device ID] > Queue downlink message

feita há 2 anos281 visualizações
1 Resposta
1
Resposta aceita

Hi. The payload must be entered in Base64 format. So a 1 byte value of 0x01 is AQ==.

https://base64.guru/converter/encode/hex

profile pictureAWS
ESPECIALISTA
Greg_B
respondido há 2 anos

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas