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

posta 2 anni fa281 visualizzazioni
1 Risposta
1
Risposta accettata

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
ESPERTO
Greg_B
con risposta 2 anni fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande