Mulle Public Server
From Mulle development
The Mulle Public Server (MPS) is hosted by LuleƄ Univeristy of Technology. It is a server that can be used by Mulles to store and visualize sensor data. Mulles working in online mode usually uses Java applets to direkt show sensor data. Mulles working in offline mode on send bursts of data sporadically, and can therefore not use a java applet. Instead all sensor data is stored in text files that can be downloaded and parsed at any time.
The Mulle Public Server is found here: http://sm-pc323.sm.ltu.se:8080
Online mode
...
Offline mode
To view raw data from a Mulle, all that need to be done is to enter the following URL:
http://sm-pc323.sm.ltu.se:8080/log/$MULLENAME/$ISODATE
for example, to view all sensor data that was transmitted by the Mulle with name Mulle-238 on 2008-11-18, simply enter this address
http://sm-pc323.sm.ltu.se:8080/log/Mulle-238/2008-11-18
Now something like this should be displayed:
##################################################### Tue Nov 18 00:33:07 CET 2008: PulseHandler1529: 70 73 76 69 58 108 11 17 22 35 13 174 0 88 2 6 0 ... ##################################################### Tue Nov 18 01:33:08 CET 2008: PulseHandler1533: 70 73 76 69 58 108 11 17 23 35 12 174 0 88 2 6 0 ... #####################################################
So what does all this Matrix-like code mean?
#####################################################
Each line consisting of only hash signs represents a new connection from a Mulle. In the example above, only one data line exists per connection.
Tue Nov 18 00:33:07 CET 2008: PulseHandler1529:
This is added by the MPS, and represents when the connection was made. This has nothing to do when the data was sampled (see below).
70 73 76 69 58
A reader fluent in ASCII can easily see that the five first bytes corresponds to the string "FILE:". This can be used to verify that a valid data file is available. One data file consists of a start date and time of the first sample, a sample interval, the number of samples in the file, and the samples.
108 11 17 22 35 13
The next seven bytes in the file represents the date and time of the first sample, relative to UTC. Add 1900 to the first byte, ignore the seventh and last byte, and we get the following datetime: 2008-11-17 22:35:13
0
The next byte is a status byte. Normally this is set to 0.
88 2
The next two bytes represents the sample interval in seconds, in 16 bit Little Endian. Thus, the value above corresponds to 600 seconds, i.e. a 10 minute sample interval.
6 0
The next two bytes represent the number of samples that follow after. The representation is also in 16 bit Little endian.
...
Here is normally a number of bytes, as many as indicated in the previous field multiplied with the size of each sample, which represents sensor data. The data can be interpreted in different ways, depending on which sensor that is attached to the Mulle.
