Skip to content

Wrap serial #9

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

Merged
merged 2 commits into from
Jul 21, 2021
Merged

Wrap serial #9

merged 2 commits into from
Jul 21, 2021

Conversation

polldo
Copy link
Contributor

@polldo polldo commented Jul 21, 2021

Introduce a wrapper of serial for sending commands to arduino devices connected through the serial port.
Commands and responses follows the protocol defined by the provisioning firmware.

polldo added 2 commits July 21, 2021 18:53
- Move serial into internal package
- Add comments
- Do not export 'retrieve' function
- Transform magic numbers into readable constants
@polldo polldo merged commit e01803f into main Jul 21, 2021
@polldo polldo deleted the polldo/serial-wrap branch July 21, 2021 17:07
polldo pushed a commit that referenced this pull request Sep 2, 2022
Introduce a wrapper of serial (https://github.com/bugst/go-serial) for sending commands to arduino devices connected to the PC through the serial port.
Commands and responses follow the protocol defined by the provisioning firmware (https://github.com/ubidefeo/Arduino-CLI-provisioning/tree/main/ArduinoIoTCloud-CryptoConfig).

* Wrap serial

* Refactor serial wrapper as internal package

- Move serial into internal package
- Add comments
- Do not export 'retrieve' function
- Transform magic numbers into readable constants
polldo pushed a commit that referenced this pull request Sep 2, 2022
Introduce a wrapper of serial (https://github.com/bugst/go-serial) for sending commands to arduino devices connected to the PC through the serial port.
Commands and responses follow the protocol defined by the provisioning firmware (https://github.com/ubidefeo/Arduino-CLI-provisioning/tree/main/ArduinoIoTCloud-CryptoConfig).

* Wrap serial

* Refactor serial wrapper as internal package

- Move serial into internal package
- Add comments
- Do not export 'retrieve' function
- Transform magic numbers into readable constants
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.

1 participant