dufourgilles / knx-ip

KNX IP Gateway protocol implementation
30 stars 9 forks source link

Fix encoder for time and date #10

Closed psorowka closed 3 years ago

psorowka commented 3 years ago

Encoder for date (DPT11) is expecting data different from the decoder output. Enhanced encoder to accept both { year, month, day } object and Javascript Date Object

Encoder for time (DPT10) is missing minutes and seconds in buffer.