Line 1: Line 1:
 
WebSocket support is enabling other applications to listen passing data in real time.
 
WebSocket support is enabling other applications to listen passing data in real time.
  
==Settings==
+
==Protocol==
===Enabling WebSocket===
+
Uses '''TCP''' port: 2235
TBD.
+
 
+
==Definitions==
+
'''TCP port:''' 2235
+
  
 
===Action message format===
 
===Action message format===
 
  action: value
 
  action: value
  
Where '''action''' one of supported actions and '''value''' is the input of the action.
+
Where '''action''' is one of supported actions and '''value''' is the input of the action.
  
 
====Supported actions====
 
====Supported actions====
 
'''Digital I/O port ON'''
 
'''Digital I/O port ON'''
 
  ion: 4
 
  ion: 4
 +
Where 4 is DIO port.
  
 
'''Digital I/O port OFF'''
 
'''Digital I/O port OFF'''
 
  iof: 4
 
  iof: 4
 +
Where 4 is DIO port.
  
 
'''Start/stop timing'''
 
'''Start/stop timing'''
  timing: 1
+
  tim: 1
  timing: 0
+
  tim: 0
 +
Where 1 (on) or 0 (off) is timing state.
 +
 
 +
===Event message format===
 +
event: value
 +
 
 +
Where '''event''' is one of supported actions and '''value''' is the output of the event.
 +
 
 +
====Supported actions====
 +
'''Passings'''
 +
pas: 14
 +
Where 14 is the transponder number.

Revision as of 19:26, 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 I/O port ON

ion: 4

Where 4 is DIO port.

Digital I/O port OFF

iof: 4

Where 4 is DIO port.

Start/stop timing

tim: 1
tim: 0

Where 1 (on) or 0 (off) is timing state.

Event message format

event: value

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

Supported actions

Passings

pas: 14

Where 14 is the transponder number.