Skip to content

Configuring the SensorScope listener

ebiiii edited this page Oct 6, 2014 · 1 revision

The SensorScope listener is a server application that comes with GSN. It is used to collect data from SensorScope stations. The server listens on a TCP port for incoming data and writes that data to CSV files on a local folder. The listener creates one CSV file for each station being monitored and, for which, data is received.

The acquired data can then be loaded into GSN using a CSV wrapper.

##Configuration

Configuration is done through the file "conf/sensorscope_server.properties". You need to provide the port number on which to listen, the name of the folder to store data and the string to use for empty data.

serverPort=33333
csvFolder=logs
nullString=null

##Running

The listener can be run independently from GSN using the following command:

ant sensorscope-server 
Clone this wiki locally