Google ProtoBuf is what I use in my projects, and what was used at a former employer who was serializing data onto RS422/485, I^2 C and Zigbee.  It is more frugal but still allows small binary objects to be transmitted -- like screen display widgets or icons -- at a reasonable speed.

- sgh

On 11/22/21 10:09, Jon Wolfe via TriEmbed wrote:

Pete, have you looked into Goggle Protocol Buffers? This seems to be more or less the same thing as than but at least protobuf is pretty mature at this point, it's been around over 10 years.

The "nanopb" project is an adaptation of protobuf that are geared towards use in embedded low end devices.

https://github.com/nanopb/nanopb


On 11/20/2021 5:51 PM, Pete Soper via TriEmbed wrote:

Yes. Or I2S, UART/USART, CAN, RS485, etc. Or in other cases the serialization mechanism allows you to "freeze dry" an object and stash it some place and then pull it out and reconstitute it.

I was mainly curious if anybody's been using this already.

-Pete

On 11/20/21 17:45, Carl Nobile wrote:
Do you mean like I2C or SPI?
~Carl

On Sat, Nov 20, 2021 at 5:43 PM Pete Soper <[email protected]> wrote:

    Putting objects onto a wire or getting them off a wire.

    -Pete

    On 11/20/21 17:20, Carl Nobile wrote:
    So I look over the Python version of this code. It seems to just be a
    way to store any type of data in a JSON object. It's kinda neat, but
    you need to write a lot of code around this library. It doesn't just
    work by itself. Since it supports a lot of different languages I'm
    betting they all are the same in this respect.

    Pete, what is your projected use for this library?

    ~Carl


--
Scott G. Hall
Raleigh, NC, USA
[email protected]

/Never say "How stupid can that person be?" Some people take that as a 
challenge!/
_______________________________________________
Triangle, NC Embedded Computing mailing list

To post message: [email protected]
List info: http://mail.triembed.org/mailman/listinfo/triembed_triembed.org
TriEmbed web site: http://TriEmbed.org
To unsubscribe, click link and send a blank message: 
mailto:[email protected]?subject=unsubscribe

Reply via email to