These are chat archives for machinekit/machinekit

May 2016
May 25 2016 19:32

Is there some real nanopb machinetalk example ?
I see that ordinary protobuf classes have something like:

    pin = container.add_pin();

but how should one achieve same with nanopb machinetalk classes?
message.npb.h doesn't offer any methods similar to add_pin
I am trying to send machinetalk messages from microcontroller (esp8266)

Michael Haberler
May 25 2016 20:38
interpolator.c uses nanopb decode in an RT comp
this is stock nanopb, see the docs:
also some older examples are under src/machinetalk/msgcomponents
@luminize has worked on the interpolator, you might ask him for the latest branch