Page 1 of 1

is there a Protobuf module

Posted: Mon Feb 08, 2021 11:14 pm
by RWLTOK
I am curious to know if there are any micropython protobuf (https://en.wikipedia.org/wiki/Protocol_Buffers) modules developed or are in development.

Thanks

Rich

Re: is there a Protobuf module

Posted: Tue Feb 09, 2021 12:14 am
by jimmo

Re: is there a Protobuf module

Posted: Tue Feb 09, 2021 3:47 pm
by RWLTOK
Thanks Jmmmo,

This seems to be perfect. The implementation does not need to support proto files and all that is required is backwards compatibility with encoded data records encoded to the .proto file schema. Thanks to you Peter for the repository
https://github.com/peterhinch/micropyth ... ISATION.md you mentioned.

Many thanks.

Rich

Re: is there a Protobuf module

Posted: Tue Feb 09, 2021 7:12 pm
by pythoncoder
I tested the protobuf implementation and had some discussions with its author to help him make it sure it played nicely with MicroPython. It struck me as very useful.