Skip to content

Latest commit

 

History

History
29 lines (16 loc) · 1.21 KB

FirmwareConfiguration.rst

File metadata and controls

29 lines (16 loc) · 1.21 KB

Configure the firmware

To configure the firmware <firmware-aws-index>, complete the following mandatory steps:

  1. Create the file firmware.conf in the ~/nrf-asset-tracker folder for your configuration overrides.
  2. Run the following command to print the MQTT endpoint to which your devices will connect:

    # ~/nrf-asset-tracker/aws
    
    ./cli.sh info -o mqttEndpoint
  3. Add the CONFIG_AWS_IOT_BROKER_HOST_NAME setting to the firmware.conf file, using the endpoint value from the previous step as the value:

    CONFIG_AWS_IOT_BROKER_HOST_NAME="your MQTT endpoint"

After completing the configuration, compile the firmware either using your own development environment <firmware-aws-building> or using Docker <firmware-aws-building-docker> and then create the device credentials <aws-device-credentials>.

Note

See the documentation on nRF9160: Asset Tracker v2 application for all available configuration options.