CmdID

CmdID / aws / aws iotwireless

aws iotwireless send-data-to-wireless-device

Sends a decrypted application data frame to a device. AWS CLI reference

1 example 4 options Its page in the AWS CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from aws-cli, each command read by CmdID

To send data to the wireless device

The following send-data-to-wireless-device example sends a decrypted application data frame to the wireless device.

aws iotwireless send-data-to-wireless-device --id "a1b2c3d4-5678-90ab-cdef-EXAMPLE11111" --transmit-mode "1" --payload-data "SGVsbG8gVG8gRGV2c2lt" --wireless-metadata LoRaWAN={FPort=1}Identify
--idThe ID of the wireless device to receive the data.
--transmit-modeThe transmit mode to use to send data to the wireless device.
--payload-dataThe binary to be sent to the end device, encoded in base64.
--wireless-metadataMetadata about the message request.
Its output
{
    "MessageId": "6011dd36-0043d6eb-0072-0008"
}

For more information, see Connecting devices and gateways to AWS IoT Core for LoRaWAN in the AWS IoT Developers Guide.

Options

4 in the AWS CLI reference
--idThe ID of the wireless device to receive the data.
--payload-dataThe binary to be sent to the end device, encoded in base64.
--transmit-modeThe transmit mode to use to send data to the wireless device.
--wireless-metadataMetadata about the message request.