Configure the firmware

To configure the firmware, complete the following mandatory steps:

  1. Run the following command to print the MQTT endpoint to which your devices will connect:

    node cli info -o mqttEndpoint
    
  2. Use this MQTT endpoint value as the value for the CONFIG_AWS_IOT_BROKER_HOST_NAME configuration variable.

  3. Use 42 as the value for CONFIG_AWS_IOT_SEC_TAG.

After completing the configuration, compile the firmware either using your own development environment or using Docker and then create the device credentials.

Note

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