Skip to content

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