Line 8: Line 8:
 
'''TCP port:''' 2235
 
'''TCP port:''' 2235
  
===Data packet format===
+
===Action message format===
 
  action: value
 
  action: value
  
 
Where '''action''' one of supported actions and '''value''' is the input of the action.
 
Where '''action''' 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
Line 20: Line 20:
 
  iof: 4
 
  iof: 4
  
'''Start timing'''
+
'''Start/stop timing'''
 
  timing: 1
 
  timing: 1
 
'''End timing'''
 
 
  timing: 0
 
  timing: 0

Revision as of 19:23, 16 January 2017

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

Settings

Enabling WebSocket

TBD.

Definitions

TCP port: 2235

Action message format

action: value

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

Supported actions

Digital I/O port ON

ion: 4

Digital I/O port OFF

iof: 4

Start/stop timing

timing: 1
timing: 0