You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 25, 2020. It is now read-only.
pfisterer edited this page Apr 14, 2011
·
4 revisions
ISense Framing Decoder Encoder
This decoder/encoder (Located here) wraps a set of bytes in such a way that the first byte is interpreted as the packet's type while the remaining bytes are considered as the packet's payload. The structure of a packet is as follows:
This packet format is used by the iSense sensor nodes from coalesenses in conjunction with the DLESTXETX framing. Basically, packets are framed by the DLESTXETX framing and the contained payload is an iSense packet where the first byte is the packet's type while the remaining bytes are considered as the packet's payload.
The encoder accepts instances of [[ISensePacket|https://github.com/itm/netty-handlerstack/blob/master/protocols/isense/src/main/java/de/uniluebeck/itm/netty/handlerstack/isense/ISensePacket.java] and sends ChannelBuffer instances downstream. The decoder accepts instances of ChannelBuffer and passes instances of ISensePacket upstream.