beautypg.com
K2 Edge Protocol Manual – document version 1.0 – Page 2
Table of Contents
1.
Grass Valley Product Support ................................................................................................................ 5
2.
Introduction ............................................................................................................................................. 5
3.
Nexos Socket Server Communication Setup ......................................................................................... 6
3.1.
Introduction .................................................................................................................................... 6
3.2.
The nexos socket server ............................................................................................................... 6
3.3.
Code examples .............................................................................................................................. 7
3.4.
Connecting with the nexos socket server ...................................................................................... 7
3.5.
Writing messages to the nexos socket server ............................................................................... 7
3.6.
Waiting for feedback ...................................................................................................................... 7
3.7.
Closing the link when no longer needed ....................................................................................... 8
3.8.
Socket server command layout ..................................................................................................... 8
3.9.
The API protocol ............................................................................................................................ 9
4.
API NRE Command ............................................................................................................................. 10
4.1.
Introduction .................................................................................................................................. 10
4.2.
Supported sub commands ........................................................................................................... 10
4.3.
The exid field ............................................................................................................................... 11
4.4.
The inst field ................................................................................................................................ 11
4.5.
The role field ................................................................................................................................ 12
4.5.1.
The schedule role ................................................................................................................ 12
4.5.2.
The realtime role .................................................................................................................. 12
4.6.
Scene parameters ....................................................................................................................... 13
4.7.
Selected and active scene graph ................................................................................................ 13
4.8.
Sub command preload-play ......................................................................................................... 14
4.9.
Sub command preload ................................................................................................................ 15
4.10.
Sub command play ...................................................................................................................... 16
4.11.
Sub command sg-preload ........................................................................................................... 17
4.12.
Sub command sg-select .............................................................................................................. 18
4.13.
Sub command object-info ............................................................................................................ 19
4.14.
Sub command sp-print ................................................................................................................ 20
4.15.
Sub command control .................................................................................................................. 20
5.
K2 Edge API NRE Feedback ............................................................................................................... 21
5.1.
Introduction .................................................................................................................................. 21
5.2.
Supported commands ................................................................................................................. 21
5.3.
Asynchronous nature ................................................................................................................... 21
5.4.
The exid field ............................................................................................................................... 21