File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11## ProBel SW-P-02 General Switcher Communication Protocol
22
3- Implementation referenced to Document: SW-P-02 Issue 37. 07/09/2017.
3+ Implementation referenced to SW-P-02 Issue 37. 07/09/2017.
44
55This module implements the basic router controls of SW P 02.
66
@@ -28,6 +28,9 @@ The Action Recorder will translate any recieved tally or connected messages into
2828
2929## Version History
3030
31+ ### Version 1.2.2
32+ - Better logging of recieved tally/connected messages
33+
3134### Version 1.2.1
3235- Improvements to message TX and RX
3336
Original file line number Diff line number Diff line change 11{
22 "name" : " generic-swp02" ,
3- "version" : " 1.2.1 " ,
3+ "version" : " 1.2.2 " ,
44 "main" : " src/main.js" ,
55 "type" : " module" ,
66 "scripts" : {
Original file line number Diff line number Diff line change @@ -42,13 +42,13 @@ export function processCmd(chunk) {
4242 this . log ( 'warn' , `Tally. Unexpected Length. Expected: ${ msgLength . connected } Recieved: ${ reply . length } ` )
4343 return undefined
4444 }
45- this . log ( 'info' , `tally/connected msg recieved: ${ reply } ` )
4645 dstSrc = this . returnDstSrc ( reply [ 1 ] , reply [ 2 ] , reply [ 3 ] )
4746 if ( dstSrc === undefined ) {
4847 this . log ( 'warn' , 'returnDstSrc returned undefined, cannot process tally/connected response' )
4948 return undefined
5049 }
5150 this . connections [ dstSrc [ 0 ] ] = dstSrc [ 1 ]
51+ this . log ( 'info' , `tally/connected msg recieved. Destination: ${ dstSrc [ 0 ] } Source: ${ dstSrc [ 1 ] } ` )
5252 varList [ `dst${ dstSrc [ 0 ] } ` ] = this . connections [ dstSrc [ 0 ] ]
5353 this . checkFeedbacks ( 'checkCrosspoint' )
5454 this . setVariableValues ( varList )
You can’t perform that action at this time.
0 commit comments