Giter Site home page Giter Site logo

micropython-uprotobuf's People

Contributors

ahgupurfzuznhvi avatar jazzycamel avatar starswap avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

micropython-uprotobuf's Issues

Local Device Store

Hi,
Great Work!
Can you please provide an example to save binary data (Face Encodings) of different individuals to protobuf in micropython locally.
Thanks

can't encode field id values 16+

Parsing the meshtastic protocol results in:

...
dict(name='reboot_seconds', type=WireType.Varint, subType=VarintSubType.Int32, fieldType=FieldType.Optional, id=97),
...

however if I try to set this name to 10, it tries to run bytes([776, 137, 0]) which stops because 776 is out of range for a byte.

this encode is supposed to have another byte but I couldn't find an example of how that looks or if it's simply moving the bits that didn't fit left and filling each byte with 8 bits. Closest mention I found was https://developers.google.com/protocol-buffers/docs/proto3#assigning_field_numbers

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.