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년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠