Line 10: Line 10:
  
 
====Supported actions====
 
====Supported actions====
'''Digital I/O port ON'''
+
'''Digital output ON'''
  ion: 4
+
  oon: 4
Where 4 is DIO port.
+
Where 4 is port number.
  
'''Digital I/O port OFF'''
+
'''Digital output OFF'''
  iof: 4
+
  oof: 4
Where 4 is DIO port.
+
Where 4 is port number.
  
'''Start/stop timing'''
+
'''Timing START'''
 
  tim: 1
 
  tim: 1
 +
 +
'''Timing STOP'''
 
  tim: 0
 
  tim: 0
Where 1 (on) or 0 (off) is timing state.
 
  
 
===Event message format===
 
===Event message format===
Line 28: Line 29:
 
Where '''event''' is one of supported actions and '''value''' is the output of the event.
 
Where '''event''' is one of supported actions and '''value''' is the output of the event.
  
====Supported actions====
+
====Supported events====
 
'''Passings'''
 
'''Passings'''
 
  pas: 14
 
  pas: 14
 
Where 14 is the transponder number.
 
Where 14 is the transponder number.
 +
 +
'''Digital input ON'''
 +
ion: 4
 +
Where 4 is port number.
 +
 +
'''Digital input OFF'''
 +
iof: 4
 +
Where 4 is port number.

Revision as of 20:29, 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: 14

Where 14 is the transponder number.

Digital input ON

ion: 4

Where 4 is port number.

Digital input OFF

iof: 4

Where 4 is port number.