Age | Commit message (Collapse) | Author |
|
Both the implementation and the unit test had bugs which were blocking
the test execution forever. This is fixed with this commit. Furthermore
the new unslip() implementation is refactored and more readable.
|
|
This was not present because the Go tool detects this dependency only in
the case of the generated discovery package. This package was not
present during the last `go mod tidy` and `go mod vendor` cycle.
|
|
This allows to easily add test cases.
|
|
This implements to decode the Serial Line Internet Protocol (SLIP). It
splits the continuous byte stream into frames. Based on these frames the
rest of the data link layer and upper layers can be implemented.
|
|
|
|
|
|
Go channels help to decouple the communication layers defined by the OSI
model [1]. The physical layer can be abstracted by an RX and TX byte
channel and the data link layer by two frame channels.
[1]: https://en.wikipedia.org/wiki/OSI_model
|
|
Logging the bytes is not really readable because of time stamp prefixes.
|
|
This new type bundles the whole communication stack. This is easier to
use than handling types for each layer on the user side of the
communication package.
|
|
This validates that the code is able to get data from the serial port.
|
|
|
|
This folder will contain the Go software which runs on the iot-core
device.
|