Skip to content

Commit 736f503

Browse files
committed
fixup
1 parent 0b98b2a commit 736f503

1 file changed

Lines changed: 12 additions & 8 deletions

File tree

samples/commands/execute_command/README.md

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,11 @@ cmake --build build/
135135
To run the sample:
136136

137137
``` sh
138-
./build/execute-command --endpoint <endpoint> --cert <path to the certificate> --key <path to the private key> --thing_name <thing name> --client_id <client id>
138+
./build/execute-command \
139+
--endpoint <endpoint> \
140+
--cert <path to the certificate> \
141+
--key <path to the private key> \
142+
--thing_name <thing name> --client_id <client id>
139143
```
140144

141145
The sample will automatically connect to IoT Core and then will subscribe to streams of Command Executions related to
@@ -221,21 +225,21 @@ On success, the CLI command should give output like:
221225

222226
```
223227
{
224-
"executionId": "12345678-1234-1234-1234-123456789012"
228+
"executionId": "12345678-1234-5678-9abc-123456789abc"
225229
}
226230
```
227231

228232
Meanwhile, your running jobs sample should receive notifications and output something similar to:
229233

230234
```
231235
Received new command for 'json' payload format:
232-
execution ID: '12345678-1234-1234-1234-123456789012'
236+
execution ID: '12345678-1234-5678-9abc-123456789abc'
233237
payload format: 'application/json'
234238
execution timeout: 9
235239
payload size: 26
236-
[12345678-1234-1234-1234-123456789012] Validating command
237-
[12345678-1234-1234-1234-123456789012] Executing command
238-
[12345678-1234-1234-1234-123456789012] Processing command... it'll take 7 seconds
239-
[12345678-1234-1234-1234-123456789012] Updating command execution
240-
[12345678-1234-1234-1234-123456789012] Successfully updated execution status
240+
[12345678-1234-5678-9abc-123456789abc] Validating command
241+
[12345678-1234-5678-9abc-123456789abc] Executing command
242+
[12345678-1234-5678-9abc-123456789abc] Processing command... it'll take 7 seconds
243+
[12345678-1234-5678-9abc-123456789abc] Updating command execution
244+
[12345678-1234-5678-9abc-123456789abc] Successfully updated execution status
241245
```

0 commit comments

Comments
 (0)