Skip to content
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

[pjlink] Null characters fix #7462

Merged
merged 2 commits into from
Apr 24, 2020
Merged

Conversation

nils
Copy link
Contributor

@nils nils commented Apr 24, 2020

This at least improves the situation reported in issue #6725.

Some PJLink devices seem to be not fully compliant, and send \0 bytes in front of messages.
The device does seem to have other issues, but this one is rather easy to fix by removing leading \0 bytes and also does not have negative impact on compliant devices.

Signed-off-by: Nils Schnabel <github@to.nilsschnabel.de>
see openhab#6725

Signed-off-by: Nils Schnabel <github@to.nilsschnabel.de>
@TravisBuddy
Copy link

Travis tests were successful

Hey @nils,
we found no major flaws with your code. Still you might want to look at this logfile, as we usually suggest some optional improvements.

@nils nils requested review from wborn, cpmeister and J-N-K April 24, 2020 12:49
@nils nils added the external bug A problem or unintended behavior of an external library label Apr 24, 2020
Copy link
Contributor

@cpmeister cpmeister left a comment

Choose a reason for hiding this comment

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

LGTM

@cpmeister cpmeister merged commit f02e236 into openhab:2.5.x Apr 24, 2020
@cpmeister cpmeister added this to the 2.5.5 milestone Apr 24, 2020
@nils nils removed request for J-N-K and wborn April 25, 2020 15:44
yfre pushed a commit to yfre/openhab-addons that referenced this pull request Apr 27, 2020
* use MessageFormat where applicable
* remove null characters from response

see openhab#6725

Signed-off-by: Nils Schnabel <github@to.nilsschnabel.de>
Signed-off-by: Eugen Freiter <freiter@gmx.de>
LoungeFlyZ pushed a commit to LoungeFlyZ/openhab2-addons that referenced this pull request Jun 8, 2020
* use MessageFormat where applicable
* remove null characters from response

see openhab#6725

Signed-off-by: Nils Schnabel <github@to.nilsschnabel.de>
J-N-K pushed a commit to J-N-K/openhab-addons that referenced this pull request Jul 14, 2020
* use MessageFormat where applicable
* remove null characters from response

see openhab#6725

Signed-off-by: Nils Schnabel <github@to.nilsschnabel.de>
CSchlipp pushed a commit to CSchlipp/openhab-addons that referenced this pull request Jul 26, 2020
* use MessageFormat where applicable
* remove null characters from response

see openhab#6725

Signed-off-by: Nils Schnabel <github@to.nilsschnabel.de>
Signed-off-by: CSchlipp <christian@schlipp.de>
andrewfg pushed a commit to andrewfg/openhab-addons that referenced this pull request Aug 31, 2020
* use MessageFormat where applicable
* remove null characters from response

see openhab#6725

Signed-off-by: Nils Schnabel <github@to.nilsschnabel.de>
andrewfg pushed a commit to andrewfg/openhab-addons that referenced this pull request Aug 31, 2020
* use MessageFormat where applicable
* remove null characters from response

see openhab#6725

Signed-off-by: Nils Schnabel <github@to.nilsschnabel.de>
andrewfg pushed a commit to andrewfg/openhab-addons that referenced this pull request Aug 31, 2020
* use MessageFormat where applicable
* remove null characters from response

see openhab#6725

Signed-off-by: Nils Schnabel <github@to.nilsschnabel.de>
andrewfg pushed a commit to andrewfg/openhab-addons that referenced this pull request Aug 31, 2020
* use MessageFormat where applicable
* remove null characters from response

see openhab#6725

Signed-off-by: Nils Schnabel <github@to.nilsschnabel.de>
DaanMeijer pushed a commit to DaanMeijer/openhab-addons that referenced this pull request Sep 1, 2020
* use MessageFormat where applicable
* remove null characters from response

see openhab#6725

Signed-off-by: Nils Schnabel <github@to.nilsschnabel.de>
Signed-off-by: Daan Meijer <daan@studioseptember.nl>
markus7017 pushed a commit to markus7017/openhab-addons that referenced this pull request Sep 19, 2020
* use MessageFormat where applicable
* remove null characters from response

see openhab#6725

Signed-off-by: Nils Schnabel <github@to.nilsschnabel.de>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
external bug A problem or unintended behavior of an external library
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants