
Page 19 of 42
$ aws_config --download_dataset arribada_gps_location
2019-03-29 11:14:48,107 aws_config INFO Retrieving data set meta data for
arribada_gps_location
2019-03-29 11:14:48,129 credentials INFO Found credentials in shared
credentials file: ~/.aws/credentials
2019-03-29 11:14:49,050 aws_config INFO Downloading data set to file
ffa31d0f-15db-4c59-9a85-c8e1a1d368b2.csv...
Each data set is configured to automatically update every
in the AWS infrastructure ie there is an effective 15 minute lag on any data
15 minutes
set updates from tag devices. This is shortest time interval permitted for automatic updates. However, it is possible to manually force an
immediate update of a data set using the
option, although this may still take 1-2 minutes before a new data
--update_dataset datasetName
set is available to be downloaded.
Each data set is retrieved as a
file containing the full history of all updates to that data set. The first line inside the
file denotes the
.csv
.csv
field names for that data set.
Note that all data set fields are represented as strings with their values in double-quotes; this is a quirk of the AWS IoT data set functionality but
stripping of double-quotes can be easily done as part of data post-processing.
The data set file name is automatically generated by AWS infrastructure and changes whenever the data set contents change. When a data set
has not changed the
file name remains the same ie the
option will overwrite the previous local data set file.
.csv
--download_dataset
6.5. AWS firmware update
This command may only be run by a user in the
group:
Admin
$ aws_config --firmware_update yourThingName --firmware_version
versionNumber --file DFUZipFileName
2019-03-29 11:28:03,703 aws_config INFO Using firmware file
nrf52840_xxaa.bin from DFU zip archive
2019-03-29 11:28:03,706 aws_config INFO Uploading firmware file
nrf52840_xxaa.bin to AWS...
2019-03-29 11:28:03,731 credentials INFO Found credentials in shared
credentials file: ~/.aws/credentials
2019-03-29 11:28:05,344 aws_config INFO Notifying device shadow update for
yourThingName...
{
"metadata": {
"desired": {
"device_update": {
"firmware_update": {
"url": {
"domain": {
"timestamp": 1553858886
},
"path": {
"timestamp": 1553858886
},
"port": {
"timestamp": 1553858886
}
},
Arribada Horizon ARTIC R2 Developer’s Kit | User Manual