Skip to content

Conversation

xiazhvera
Copy link
Contributor

@xiazhvera xiazhvera commented Oct 16, 2025

Issue #, if available:

Description of changes:

  1. Fix link to "Enable Logging" in sample main README.
  2. Corrected sample execution commands to include cd build
  3. Update structure of service clients samples, add usage disclaimer for service clients samples.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@xiazhvera xiazhvera changed the title Improve Sample Readme Fix Sample Readme Oct 16, 2025
```sh
.mqtt5_aws_websocket \
cd build
./mqtt5_aws_websocket \
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Trivial: the description says "To run this sample from the folder". Instead of cd build should we just provide the command build/mqtt5_aws_websocket which is to run the sample from the sample folder?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would like to remove the build from the final command as the user might build in a different folder. I updated the instruction to the following. Hope this make more sense.

To run this sample, navigate to the build directory where the executable was created:

# From samples/mqtt/mqtt5_aws_websocket/, go to the build directory
cd build
./mqtt5_aws_websocket \ 
  --endpoint <AWS IoT endpoint> \
  --signing_region <Signing region for websocket connection>

Copy link
Contributor

@sbSteveK sbSteveK left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Trivial change suggestions. I don't feel strongly about them but worth voicing.

@xiazhvera xiazhvera merged commit e05db58 into main Oct 20, 2025
43 checks passed
@xiazhvera xiazhvera deleted the sample_readme branch October 20, 2025 18:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants