Skip to content

Commit

Permalink
doc: add note to help out those that are using QEMU
Browse files Browse the repository at this point in the history
Signed-off-by: Camila Macedo <[email protected]>
  • Loading branch information
Camila Macedo committed Oct 23, 2023
1 parent 90ccc2e commit 1c92e73
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,9 @@ To register a device, run as root from LmP device:
$ DEVICE_API=http://<IP of docker-compose host>/sign lmp-device-register [-T <TOKEN>] [-f <factory>]
~~~

**NOTE** If you're emulating the device with QEMU, by default the gateway (host) IP is `10.0.2.2`.
(i.e. `sudo DEVICE_API=http://10.0.2.2:80/sign lmp-device-register [-T <TOKEN>] [-f <factory>]`)

# Testing/Troubleshooting
This project includes a simple `fake-lmp-device-register` that can be used
to quickly test this project's API.

0 comments on commit 1c92e73

Please sign in to comment.