Skip to content

Conversation

@elasticroentgen
Copy link

  • add DPT13/DPT14
  • fix DPT1
  • don't let unkown formats pass as DPT1 they will now result in 'UNKN'

- add DPT13/DPT14
- fix DPT1
- don't let unkown formats pass as DPT1 they will now result in 'UNKN'
@andreek
Copy link
Owner

andreek commented Oct 6, 2016

Could you please fix the test?

https://travis-ci.org/andreek/node-eibd/builds/164165617

- reverted code to original
@elasticroentgen
Copy link
Author

Fixed. I don't have tests yet for the new DPT's. When i find some time i'll add some later.

@andreek andreek merged commit e613c26 into andreek:master Jan 17, 2017
@andreek
Copy link
Owner

andreek commented Jan 17, 2017

Hello @thereapman,

I've merged the UNKN datatype. I merged the changes from @stasee in #39. This means I decided to remove the assumptions about DPT13/14 in decoder, too. I don't feel save to add more assumptions about package length and datatypes. Are you sure that DPT13/14 are the only datatypes that could have this package length?

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.

2 participants