Online documentation for SmartItsFactory
Generated 2006-03-17
Factory to detect and manage deployed Smart-It devices.
Description
Factory for SmartItsInstances, which manages serial port and communication on
their behalf. Based on smartit.SmartItsDefault and
subcomponenttest.ComponentFactory.
Sensor boards attached to the Smart-its, include accelerometer, light,
movement (PIR), temperature, and touch sensors.
Smart-Its are discovered upon the first identifiable message received at the
base station.
Installation
Attach a Smart-It station to a serial port in order to receive messages from
other Smart-Its. Make sure the protocol and message format in the Smart-It
PICs are compatible.
Configuration
Specify the configuration under config/smartits.properties Such as comm port,
baud rate, etc for your specific property. Upon launching the component,
settings should be read from the properties file, and run a serial device
listener on the specified comm port.
Usage
Install the Smart-It base station, run the component and wait for Smart-It
messages.
Technical Details
The Smart-Its device handler uses java.commx comm package to listen in to
serial comm port events.
There is no current standard for smart-it PIC code, and message parsing is
based on ACCORDs (www.sics.se/accord) original implementation. The PIC code
is resides within the ECT repository (ect\java\resources\smartits).