These are chat archives for machinekit/machinekit

25th
May 2016
zhivko
@zhivko
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
@mhaberler
May 25 2016 20:38
interpolator.c uses nanopb decode in an RT comp
this is stock nanopb, see the docs: https://koti.kapsi.fi/jpa/nanopb/
also some older examples are under src/machinetalk/msgcomponents
@luminize has worked on the interpolator, you might ask him for the latest branch