natevw / node-nrf

Pure-JavaScript nRF24L01 driver library
117 stars 31 forks source link

Make PxX able to run in object mode (so packets never get merged) #27

Open natevw opened 9 years ago

natevw commented 9 years ago

Right now there's no way to override the stream.Duplex superclass of pipes to keep them in object mode. Many applications probably rely on packets remaining as such, and it'd be nice to have an option that guarantees this. (In practice you already do seem to "always" get the packets as individual 'data' events.)