is there a Protobuf module

Discussion about programs, libraries and tools that work with MicroPython. Mostly these are provided by a third party.
Target audience: All users and developers of MicroPython.
Post Reply
User avatar
RWLTOK
Posts: 50
Joined: Thu Dec 14, 2017 7:24 pm

is there a Protobuf module

Post by RWLTOK » Mon Feb 08, 2021 11:14 pm

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

User avatar
jimmo
Posts: 2244
Joined: Tue Aug 08, 2017 1:57 am
Location: Sydney, Australia
Contact:

Re: is there a Protobuf module

Post by jimmo » Tue Feb 09, 2021 12:14 am


User avatar
RWLTOK
Posts: 50
Joined: Thu Dec 14, 2017 7:24 pm

Re: is there a Protobuf module

Post by RWLTOK » Tue Feb 09, 2021 3:47 pm

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

User avatar
pythoncoder
Posts: 4940
Joined: Fri Jul 18, 2014 8:01 am
Location: UK
Contact:

Re: is there a Protobuf module

Post by pythoncoder » Tue Feb 09, 2021 7:12 pm

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.
Peter Hinch

Post Reply