Connect using the simulator
The CLI provides a software implementation of a nRF9160-based asset tracker for testing purposes. It allows the verification of the cloud configuration. This feature is also used for testing the nRF Asset Tracker using continuous integration.
To connect to a device and control the device using the simulator, complete the following steps:
Create certificates for the device.
Run the device simulator.
Use the device simulator UI to control the simulated device.
Creating certificates for the device
To create certificates for a simulated device, run the following command:
./cli.sh create-simulator-cert
Running the device simulator
To run a simulated device using the generated certificate, run the following command:
npm exec -- @nordicsemiconductor/asset-tracker-cloud-device-simulator-azure \ "/path/to/certificate.json"