Skip to main content

Start the emulator

  1. From a terminal window, go to the Altair8800/AltairHL_emulator folder that you cloned to your computer.

  2. Before you start the emulator, you need the following information.

    1. ID_SCOPE: Azure IoT Central ID Scope
    2. DEVICE_ID: Azure IoT Central Device ID
    3. DERIVED_KEY: Azure IoT Central Device Derived Key
    4. OPEN_WEATHER_MAP_API_KEY: Open Weather Map API Key
    5. NETWORK_INTERFACE: Network interface name. eg wlan0, eth0
  3. 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 &