https://t.me/RX1948
Server : Apache
System : Linux iad1-shared-b8-43 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64
User : dh_edsupp ( 6597262)
PHP Version : 8.2.26
Disable Function : NONE
Directory :  /lib/python3/dist-packages/awscli/examples/iotwireless/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //lib/python3/dist-packages/awscli/examples/iotwireless/create-wireless-device.rst
**To create an IoT wireless device**

The following ``create-wireless-device`` example creates a wireless device resource of the type LoRaWAN. ::

    aws iotwireless create-wireless-device \
        --cli-input-json file://input.json

Contents of ``input.json``::

    {
        "Description": "My LoRaWAN wireless device"
        "DestinationName": "IoTWirelessDestination"
        "LoRaWAN": {
            "DeviceProfileId": "ab0c23d3-b001-45ef-6a01-2bc3de4f5333",
            "ServiceProfileId": "fe98dc76-cd12-001e-2d34-5550432da100",
            "OtaaV1_1": {
                "AppKey": "3f4ca100e2fc675ea123f4eb12c4a012",
                "JoinEui": "b4c231a359bc2e3d",
                "NwkKey": "01c3f004a2d6efffe32c4eda14bcd2b4"
            },
            "DevEui": "ac12efc654d23fc2"
        },
        "Name": "SampleIoTWirelessThing"
        "Type": LoRaWAN
    }

Output::

    {
        "Arn": "arn:aws:iotwireless:us-east-1:123456789012:WirelessDevice/1ffd32c8-8130-4194-96df-622f072a315f",
        "Id": "1ffd32c8-8130-4194-96df-622f072a315f"
    }

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*.

https://t.me/RX1948 - 2025