Opis: Efficient encoding of data is an important part of projects in
the Internet of Things space. Communication packets must be kept
as small as possible in order to minimize the power consumption of
In this thesis, an automatic code generation tool, irpack, is proposed
that will unify the way packets are defined across all future
projects at Institute IRNAS.
Using a schema, this tool generates source code of encoders and
decoders in target programming languages. A schema evolution system
is also defined, by which changes to packets can be compatible
across multiple versions.
The tool is then applied to a selection of past projects to gauge
its usefulness. It is determined that irpack is able to encode the same
data into a similar or smaller size packet, while also providing
additional versioning information.Ključne besede: encoding/decoding, schema, schema evolution, bit packing, code generationObjavljeno v DKUM: 31.01.2022; Ogledov: 613; Prenosov: 61 Celotno besedilo (2,58 MB)