Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added a little help in README.md #6

Merged
merged 5 commits into from
May 28, 2024
Merged

Conversation

jackctj117
Copy link
Contributor

Added contents to README.md, only added a little mostly just mentioning what the example is and making sure the users Makefile has the correct directory name for wolfHSM.

@jackctj117 jackctj117 self-assigned this May 24, 2024

<intro on what the posix example is>
### Posix TCP server and client
Copy link
Contributor

Choose a reason for hiding this comment

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

@jackctj117 could you provide a little blurb summarizing what the POSIX TCP server and client is/does? (e.g. spins up a wolfHSM server in the server thread, client in the client thread, then runs the unit tests on the client side against the server)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Added a short description and fixed all other minor request.

README.md Outdated
<steps to build wh_server_tcp>
### Executables
Once both the server and the client `.elf` files have been made the example can now be ran. In the root directory for wolfHSM-examples run `./posix/tcp/wh_server_tcp/Build/wh_server_tcp.elf`.
In a sperate instnace run `./posix/tcp/wh_client_tcp/Build/wh_client_tcp.elf` out of the root directory for wolfHSM-examples for the client.
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
In a sperate instnace run `./posix/tcp/wh_client_tcp/Build/wh_client_tcp.elf` out of the root directory for wolfHSM-examples for the client.
In a sperate instance run `./posix/tcp/wh_client_tcp/Build/wh_client_tcp.elf` out of the root directory for wolfHSM-examples for the client.

might be a few other Typos too

README.md Outdated
### Building wh_server_tcp
cd into `wolfHSM-examples/posix/tcp/wh_server_tcp`, next `make`. Once completed an `.elf` executable will be made in `Build` named `wh_server_tcp.elf`.
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
cd into `wolfHSM-examples/posix/tcp/wh_server_tcp`, next `make`. Once completed an `.elf` executable will be made in `Build` named `wh_server_tcp.elf`.
`cd` into `wolfHSM-examples/posix/tcp/wh_server_tcp`, next `make`. Once completed an `.elf` executable will be made in `Build` named `wh_server_tcp.elf`.

README.md Outdated
cd into `wolfHSM-examples/posix/tcp/wh_server_tcp`, next `make`. Once completed an `.elf` executable will be made in `Build` named `wh_server_tcp.elf`.

### Building wh_client_tcp
Building the client will follow the same steps as the building the server. cd into `wolfHSM-examples/posix/tcp/wh_client_tcp`, next `make`. Once completed an `.elf` executable will be made in `Build` named `wh_client_tcp.elf`.
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
Building the client will follow the same steps as the building the server. cd into `wolfHSM-examples/posix/tcp/wh_client_tcp`, next `make`. Once completed an `.elf` executable will be made in `Build` named `wh_client_tcp.elf`.
Building the client will follow the same steps as the building the server. `cd` into `wolfHSM-examples/posix/tcp/wh_client_tcp`, next `make`. Once completed an `.elf` executable will be made in `Build` named `wh_client_tcp.elf`.

@dgarske dgarske requested a review from bigbrett May 28, 2024 17:50
Copy link
Contributor

@bigbrett bigbrett left a comment

Choose a reason for hiding this comment

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

Thanks @jackctj117

@bigbrett bigbrett merged commit 470fd85 into wolfSSL:main May 28, 2024
1 check passed
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