Start the emulator
From a terminal window, go to the Altair8800/AltairHL_emulator folder that you cloned to your computer.
Before you start the emulator, you need the following information.
- ID_SCOPE: Azure IoT Central ID Scope
- DEVICE_ID: Azure IoT Central Device ID
- DERIVED_KEY: Azure IoT Central Device Derived Key
- OPEN_WEATHER_MAP_API_KEY: Open Weather Map API Key
- NETWORK_INTERFACE: Network interface name. eg wlan0, eth0
To start the emulator, run the following command.
./build/Altair_emulator -s ID_SCOPE -d DEVICE_ID -k DERIVED_KEY -o OPEN_WEATHER_MAP_API_KEY -n NETWORK_INTERFACE
To run the emulator as a background task.
nohup ./build/Altair_emulator -s ID_SCOPE -d DEVICE_ID -k DERIVED_KEY -o OPEN_WEATHER_MAP_API_KEY -n NETWORK_INTERFACE &