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年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ