HEX
Server: Apache
System: Linux pdx1-shared-a1-38 6.6.104-grsec-jammy+ #3 SMP Tue Sep 16 00:28:11 UTC 2025 x86_64
User: mmickelson (3396398)
PHP: 8.1.31
Disabled: NONE
Upload Files
File: //usr/share/doc/awscli/examples/iotwireless/send-data-to-wireless-device.rst
**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 "11aa5eae-2f56-4b8e-a023-b28d98494e49" \
        --transmit-mode "1" \
        --payload-data "SGVsbG8gVG8gRGV2c2lt" \
        --wireless-metadata LoRaWAN={FPort=1}

Output::

    {
        MessageId: "6011dd36-0043d6eb-0072-0008"
    }

For more information, see `Connecting devices and gateways to AWS IoT Core for LoRaWAN <https://docs.aws.amazon.com/iot/latest/developerguide/connect-iot-lorawan.html>`__ in the *AWS IoT Developers Guide*.