File tree Expand file tree Collapse file tree
samples/service_clients/commands/commands-sandbox Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -440,6 +440,9 @@ You can also provide a result with the update:
440440update-command-execution <execution-id> IN_PROGRESS result=battery_ok:true;message:"doing something"
441441```
442442
443+ > [ !NOTE]
444+ > You can also pass binary data in the result field using the CommandExecutionResult::Bin member, which is not supported in this sample.
445+
443446Then this AWS CLI command
444447``` shell
445448aws iot get-command-execution --target-arn " <thing ARN>" --execution-id < IoT command execution ID> --include-result
Original file line number Diff line number Diff line change @@ -144,6 +144,8 @@ static Aws::Crt::String s_extractValue(std::istringstream &stream)
144144static Aws::Iotcommands::CommandExecutionResult s_makeResultEntry (const Aws::Crt::String &value)
145145{
146146 Aws::Iotcommands::CommandExecutionResult entry;
147+ // NOTE: CommandExecutionResult also supports binary data via the `Bin` member, which is not demonstrated in this
148+ // sample.
147149 if (value == " true" || value == " false" )
148150 {
149151 entry.B = (value == " true" );
You can’t perform that action at this time.
0 commit comments