Value Type Description
Reconnects 16bit unsigned
decimal number
Amount of reconnects due to loss of the
stream source
SoftErrorCount 16bit unsigned
decimal number
Amount of stream drop-outs (missed more
than 5 frames in a row)
StreamNumber String (0,1,2,3 or
“prio” for
priority)
Number of played stream
UpTime 16bit unsigned
decimal number
Up time of the device in seconds (since last
reboot)
URL String URL of the currently played stream
Volume 8bit unsigned
decimal number
Current volume level in percent
Requesting Barimon report over UDP
Furthermore, the actual status of the device can be requested over UDP. The Port
number used must be the same as specified in the configuration field “UDP
Reporting Port”. Setting the Port to 0 disables this function.
Sending a UDP datagram with the payload “MTELL\r\n”, i.e. 7 bytes: 0x4D, 0x54,
0x45, 0x4C, 0x4C, 0x0D 0x0A, will result in a UDP reply sent on same port to the
IP address the request originated from. The reply is comma separated and contains
no spaces and no line feeds (the table below is word wrapped).
Example content of the UDP reply
BufferLevel=10528,Latency=598,FrameLoss=0,FrameDup=0,FrameDrop=
0,SoftErrorCount=0,StreamNumber=1,Bitrate=192,Reconnects=2,Error=1
1,Volume=25,UpTime=25,URL=rtp://0.0.0.0:4444/
To test this we recommend the free PC software called “UDP Test Tool” from
http://www.simplecomtools.com .
10.2 Own Monitoring Server using Barimon protocol
To run an own monitoring server you will need to write your own scripts depending
on the server architecture and OS (PHP, ASP...).
The script has to be named “submit” and should be available in the folder
“/sensors/data” as the “Streaming Client” firmware sends an HTTP GET request for
"sensors/data/submit?..." to that server. This path is fixed and can not be changed.
The information is included after the questions mark.
GET sensors/data/submit?mac=<mac address>&alarm=false&info=<info>
HTTP/1.0
<mac address> is 12 hex character string without any delimiters: XXXXXXXXXXXX
e.g.: 0008E1003D90
<info> is a string in the format: BufferLevel=<int>,FrameLoss=<long
int>,SoftErrorCount=<long int>,StreamNumber=<string>,URL=<string>,
Bitrate=<int>,Reconnects=<long
int>,Error=<int>,Volume=<int>,UpTime=<long int>
<int> is an 8bit integer decimal number, <long int> is an 16bit integer decimal
number, <string> is a string of characters
Configuration Parameters for Barimon periodic report
The Barimon server has to be specified in the configuration field “BARIMON URL”.
Only the HTTP protocol is supported, including all its options and possibility of using
the HTTP Proxy. The “BARIMON URL” syntax is:
BARIX AG | 55/63
Comentários a estes Manuais