AWS iot-wireless documentation change
Summary
Updated example accuracy values, improved image alt text, updated example device ID, clarified position update behavior, removed redundant text about empty response file, added /dev/stdout to example command, and updated response accuracy values.
Security assessment
These changes are documentation improvements and example updates. No security vulnerabilities or security features are addressed. The changes improve clarity and accuracy of examples but don't relate to security issues.
Diff
diff --git a/iot-wireless/latest/developerguide/sidewalk-location-devices.md b/iot-wireless/latest/developerguide/sidewalk-location-devices.md index 4568d7b34..880638d5b 100644 --- a//iot-wireless/latest/developerguide/sidewalk-location-devices.md +++ b//iot-wireless/latest/developerguide/sidewalk-location-devices.md @@ -43,2 +43,2 @@ When your device sends location data, you'll see messages published to the topic - "verticalAccuracy": 35.2, - "horizontalAccuracy": 40.5, + "horizontalAccuracy": 16, + "verticalAccuracy": 17.2, @@ -70 +70 @@ To create a new Sidewalk device with location capabilities: - + @@ -74 +74 @@ To create a new Sidewalk device with location capabilities: - + @@ -89 +89 @@ To enable location capabilities for an existing Sidewalk device: - + @@ -180 +180 @@ To enable location for an existing Sidewalk device, use the [`UpdateWirelessDevi - --id "23456789-abcd-0123-bcde-fabc012345678" \ + --id "a1b2c3d4-5e6f-7a8b-9c0d-ef1234abcd56" \ @@ -210 +210 @@ To update the position information for a given wireless device, specify the coor -The following shows the contents of the ``deviceposition.json`` file, which is the uplink message from AWS IoT Core for Amazon Sidewalk to rules engine +After updating the position, the following message will be published to your location destination topic. Note that `measurementType` is set to `"UserInput"` to indicate the position was set manually. The following shows the contents of the ``deviceposition.json`` file, which is the uplink message from AWS IoT Core for Amazon Sidewalk to rules engine. @@ -225 +224,0 @@ The following shows the contents of the ``deviceposition.json`` file, which is t - "verticalAccuracy": 0, @@ -226,0 +226 @@ The following shows the contents of the ``deviceposition.json`` file, which is t + "verticalAccuracy": 0, @@ -233 +233 @@ The following shows the contents of the ``deviceposition.json`` file, which is t -This command returns no response body (`204 No Content`), so the ``update-resource-position-api-response.json`` file will be empty. To verify the updated position, use the `GetResourcePosition` API operation. +This command returns no response body (`204 No Content`). To verify the updated position, use the `GetResourcePosition` API operation. @@ -249 +249,2 @@ To get the position information for a given wireless device, use the [ GetResour - --resource-id "a1b2c3d4-5e6f-7a8b-9c0d-ef1234abcd56" + --resource-id "a1b2c3d4-5e6f-7a8b-9c0d-ef1234abcd56" \ + /dev/stdout @@ -267,2 +268,2 @@ This command returns the position information of your wireless device as a GeoJS - "horizontalAccuracy": 389, - "verticalAccuracy": 707, + "horizontalAccuracy": 16, + "verticalAccuracy": 17.2,