Skip to content
This repository has been archived by the owner on May 17, 2021. It is now read-only.

[tcp] Unescape UDP preAmble and postAmple like for TCP #5849

Merged
merged 1 commit into from
Jun 16, 2019

Conversation

lewie
Copy link
Contributor

@lewie lewie commented Apr 17, 2019

Transfer the functionality of TCPBinding.java also to UDPBinding.java

Using UDP, postamble=\r was sent as UTF-8 instead as ASCII:

Receved: str\u000d -> HEX: 73 74 72 5C 75 30 30 30 64

Now, it will be sent as ASCII:

Receved: str\r -> HEX: 73 74 72 0D

Signed-off-by: lewie [email protected]

Copy link
Member

@kaikreuzer kaikreuzer left a comment

Choose a reason for hiding this comment

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

lgtm, thanks!

@kaikreuzer kaikreuzer merged commit 823d427 into openhab:master Jun 16, 2019
@wborn wborn added this to the 1.14.0 milestone Dec 7, 2019
@kaikreuzer kaikreuzer changed the title [TCP1] Unescape UDP preAmble and postAmple like for TCP [tcp] Unescape UDP preAmble and postAmple like for TCP Dec 13, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants