protocol-buffers enabled us to create a pure nodejs client for Eclipse Kapua - a much lighter alternative to Kura.
With node-red moving to 0.20.5 we wanted to be able to leverage all the great new features but both versions 4.0.4 & 4.1.0 of protocol-buffers fail to run correctly on node-red 0.20.5-rpi.
On receiving proto buf encoded messages from Kapua, protocol-buffers throws exceptions
- Error: groups are not supported
- Error: invalid wire type 6/7
The same kura message proto file is able to correctly support decoding of messages from Kapua when running on 0.19.x of node-red.
Note that encoding to protobuf for outbound messages seems to work correctly.
protocol-buffers enabled us to create a pure nodejs client for Eclipse Kapua - a much lighter alternative to Kura.
With node-red moving to 0.20.5 we wanted to be able to leverage all the great new features but both versions 4.0.4 & 4.1.0 of protocol-buffers fail to run correctly on node-red 0.20.5-rpi.
On receiving proto buf encoded messages from Kapua, protocol-buffers throws exceptions
The same kura message proto file is able to correctly support decoding of messages from Kapua when running on 0.19.x of node-red.
Note that encoding to protobuf for outbound messages seems to work correctly.