IoTWireless / Client / update_wireless_device
update_wireless_device#
- IoTWireless.Client.update_wireless_device(**kwargs)#
Updates properties of a wireless device.
See also: AWS API Documentation
Request Syntax
response = client.update_wireless_device( Id='string', DestinationName='string', Name='string', Description='string', LoRaWAN={ 'DeviceProfileId': 'string', 'ServiceProfileId': 'string', 'AbpV1_1': { 'FCntStart': 123 }, 'AbpV1_0_x': { 'FCntStart': 123 }, 'FPorts': { 'Positioning': { 'ClockSync': 123, 'Stream': 123, 'Gnss': 123 }, 'Applications': [ { 'FPort': 123, 'Type': 'SemtechGeolocation', 'DestinationName': 'string' }, ] } }, Positioning='Enabled'|'Disabled' )
- Parameters:
Id (string) –
[REQUIRED]
The ID of the resource to update.
DestinationName (string) – The name of the new destination for the device.
Name (string) – The new name of the resource.
Description (string) – A new description of the resource.
LoRaWAN (dict) –
The updated wireless device’s configuration.
DeviceProfileId (string) –
The ID of the device profile for the wireless device.
ServiceProfileId (string) –
The ID of the service profile.
AbpV1_1 (dict) –
ABP device object for update APIs for v1.1
FCntStart (integer) –
The FCnt init value.
AbpV1_0_x (dict) –
ABP device object for update APIs for v1.0.x
FCntStart (integer) –
The FCnt init value.
FPorts (dict) –
FPorts object for the positioning information of the device.
Positioning (dict) –
Positioning FPorts for the ClockSync, Stream, and GNSS functions.
ClockSync (integer) –
The Fport value.
Stream (integer) –
The Fport value.
Gnss (integer) –
The Fport value.
Applications (list) –
LoRaWAN application, which can be used for geolocation by activating positioning.
(dict) –
LoRaWAN application configuration, which can be used to perform geolocation.
FPort (integer) –
The Fport value.
Type (string) –
Application type, which can be specified to obtain real-time position information of your LoRaWAN device.
DestinationName (string) –
The name of the position data destination that describes the AWS IoT rule that processes the device’s position data for use by AWS IoT Core for LoRaWAN.
Positioning (string) – FPort values for the GNSS, stream, and ClockSync functions of the positioning information.
- Return type:
dict
- Returns:
Response Syntax
{}
Response Structure
(dict) –
Exceptions
IoTWireless.Client.exceptions.ValidationException
IoTWireless.Client.exceptions.ResourceNotFoundException
IoTWireless.Client.exceptions.AccessDeniedException
IoTWireless.Client.exceptions.InternalServerException
IoTWireless.Client.exceptions.ThrottlingException