Line 31: Line 31:
 
====Supported events====
 
====Supported events====
 
'''Passings'''
 
'''Passings'''
  pas: 14
+
  pas: 16
Where 14 is the transponder number.
+
Where 16 is passing's transponder number.
  
 
'''Digital input ON'''
 
'''Digital input ON'''
Line 41: Line 41:
 
  iof: 4
 
  iof: 4
 
Where 4 is port number.
 
Where 4 is port number.
 +
 +
'''Start light ON'''
 +
son: 1
 +
Where 1 is light number.
 +
 +
'''Start light OFF'''
 +
sof: 1
 +
Where 1 is light number.

Revision as of 20:31, 16 January 2017

WebSocket support is enabling other applications to listen passing data in real time.

Protocol

Uses TCP port: 2235

Action message format

action: value

Where action is one of supported actions and value is the input of the action.

Supported actions

Digital output ON

oon: 4

Where 4 is port number.

Digital output OFF

oof: 4

Where 4 is port number.

Timing START

tim: 1

Timing STOP

tim: 0

Event message format

event: value

Where event is one of supported actions and value is the output of the event.

Supported events

Passings

pas: 16

Where 16 is passing's transponder number.

Digital input ON

ion: 4

Where 4 is port number.

Digital input OFF

iof: 4

Where 4 is port number.

Start light ON

son: 1

Where 1 is light number.

Start light OFF

sof: 1

Where 1 is light number.