jankolkmeier / xbee-api

Node.js and Chrome communicate with XBee/ZigBee devices in API mode
MIT License
105 stars 51 forks source link

Serialport 5 incompatibility #62

Closed docwelch closed 6 years ago

docwelch commented 7 years ago

Serialport 5 has changed to streams. As noted here, Serialport 5 upgrade, custom parsers will have to be upgraded. Is this something you will be supporting?

Thanks

jankolkmeier commented 7 years ago

Sure, I mean, that's the way to go.

I guess the solution would be to make the xbee-api class stream-compatible? Sortoflike in xbee-stream.js I guess? I don't have the time atm to look at this too closely...

jankolkmeier commented 6 years ago

Added in v0.6.0. The example in the README is updated to show the stream interface.