Skip to content

Commit e283d81

Browse files
ubidefeopolldo
authored andcommitted
Update readme (#15)
-clarified two steps in the how-to
1 parent 680927f commit e283d81

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

README.md

+9
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ iot-cloud-cli is a command line interface that allows to exploit the features of
77
This is all you need to use iot-cloud-cli for device **provisioning**:
88
* A client ID and a secret ID, retrievable from the [cloud](https://create.arduino.cc/iot/integrations) by creating a new API key
99
* arduino-cli in daemon mode, to start it use the command 'arduino-cli daemon'
10+
* The folder containing the precompiled provisioning firmwares (`binaries`) needs to be in the same location you run the command from
1011

1112
This is all you need to use iot-cloud-cli as a **virtual device**:
1213
* A "Generic ESP8266 Module" or "Generic ESP32 Module" device in IoT Cloud (requires a Maker plan)
@@ -22,6 +23,14 @@ Once you have the IDs, call this command with your parameters:
2223

2324
`$ iot-cloud-cli config -c <clientID> -s <secretID>`
2425

26+
A file named `config.yaml` will be created in the Current Working Directory containing the login credentials.
27+
Example
28+
29+
```yaml
30+
client: 00112233445566778899aabbccddeeff
31+
secret: 00112233445566778899aabbccddeeffffeeddccbbaa99887766554433221100
32+
```
33+
2534
## Device provisioning
2635
2736
When provisioning a device, you can optionally specify the port to which the device is connected to and its fqbn. If they are not given, then the first device found will be provisioned.

0 commit comments

Comments
 (0)