This PR aligns and standardises the implementations of ASCII and RTU serial transporters. Before this PR, there was a mix of accessing embedded field's fields directly or via the embedded field. This PR consistently accesses them directly.
It also contains a minor optimisation for variable initialisation in readIncrementally.
This PR aligns and standardises the implementations of ASCII and RTU serial transporters. Before this PR, there was a mix of accessing embedded field's fields directly or via the embedded field. This PR consistently accesses them directly.
It also contains a minor optimisation for variable initialisation in
readIncrementally
.