Skip to content
Craig Hesling edited this page Sep 9, 2017 · 7 revisions

Byte Translator

This is an OpenChirp service that translates raw byte streams from devices into meaningful transducer values. It is capable of deconstructing transmitted arrays of primitive C types.

There are two directions for data between the device and OpenChirp. Incoming data is from device to OpenChirp, outgoing data is data originating from OpenChirp destined for the device. For each direction, you need to specify names and types for each data field you expect to be transmitted over the channel. The position of the names and types in the comma separated list both correspond to the position of the data fields in the raw data chunk that is sent or received.

Supported Types

  • uint8, uint16, uint32, uint64
  • int8, int16, int32, int64
  • float32, float64

Byte Translator Service Source

Clone this wiki locally