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

已提問 2 年前檢視次數 281 次
1 個回答
1
已接受的答案

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
專家
Greg_B
已回答 2 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南