Skip to content
This repository has been archived by the owner on Aug 25, 2020. It is now read-only.

ISense iShell Interpreter

pfisterer edited this page May 6, 2011 · 4 revisions

Overview

The purpose of this module is to enable controlling the behavior of iSense sensor nodes from coalesenses that are attached, e.g. via a serial connection to a PC. The current set of control options is as follows:

  • Set the channel used by the wireless interface

Set the channel

Send instances of IShellInterpreterSetChannelMessage downstream. The node will then set its channel accordingly.

Please note that this requires that ISI (IShellInterpreter) functionality is enabled in the iSense firmware.

Mode of operation

Insert the handler on top of an [[ISensePacketEncoder|https://github.com/itm/netty-handlerstack/blob/master/protocols/isense/src/main/java/de/uniluebeck/itm/netty/handlerstack/isense/ISensePacketEncoder.java]. Commands are sent to this handler by sending instances of classes downstream that are then transformed to encoded as [[ISensePacket|https://github.com/itm/netty-handlerstack/blob/master/protocols/isense/src/main/java/de/uniluebeck/itm/netty/handlerstack/isense/ISensePacket.java] instances. These then have a specific type and payload. The type is the same for all control packets, only the payload differs per command. For the list of commands, see the individual sections below.