From f789a5cee520474aab041d45995d68578a37b18c Mon Sep 17 00:00:00 2001 From: Mike Sutton Date: Tue, 24 Nov 2020 13:38:07 -0700 Subject: [PATCH 1/5] Specify 0 byte in tables --- README.rst | 2 ++ src/tables/bitrate.csv | 1 + src/tables/channel.csv | 1 + src/tables/configquery.csv | 1 + src/tables/configuration.csv | 1 + src/tables/disableenable.csv | 1 + src/tables/firmware.csv | 1 + src/tables/nodecontrolcode.csv | 8 ++++---- src/tables/nodedescription.csv | 1 + src/tables/nodeidresponse.csv | 1 + src/tables/nodeidset.csv | 1 + src/tables/nodestatus.csv | 1 + src/tables/parameterset.csv | 1 + 13 files changed, 17 insertions(+), 4 deletions(-) diff --git a/README.rst b/README.rst index ac7ab50..39177c4 100644 --- a/README.rst +++ b/README.rst @@ -24,8 +24,10 @@ of the FIX protocol. The specification documents are built with Sphinx. The following shows how to install the requirements on Ubuntu +``` sudo pip install pyexcel pyexcel-ods sudo pip install sphinx sudo apt install texlive-latex-base texlive-fonts-recommended sudo apt install texlive-fonts-extra texlive-latex-extra sudo apt install latexmk +``` diff --git a/src/tables/bitrate.csv b/src/tables/bitrate.csv index b37e4a9..4bbdd4a 100644 --- a/src/tables/bitrate.csv +++ b/src/tables/bitrate.csv @@ -1,3 +1,4 @@ Byte,Request,Response +0,1,1 1,Destination Node,Destination Node 2,New Bit Rate,None if successful or 0xFF if failed diff --git a/src/tables/channel.csv b/src/tables/channel.csv index bbe6502..e6c969a 100644 --- a/src/tables/channel.csv +++ b/src/tables/channel.csv @@ -1,4 +1,5 @@ Byte,Request,Response +0,8,8 1,Destination Node,Destination Node 2,Channel Number,"0x00 on Success, Error Code on Failure" 3,Connection Type LSB, diff --git a/src/tables/configquery.csv b/src/tables/configquery.csv index 83cbc61..1a03343 100644 --- a/src/tables/configquery.csv +++ b/src/tables/configquery.csv @@ -1,4 +1,5 @@ Byte,Request,Response,Response if not available +0,10,10,10 1,Destination Node,Destination Node,Destination Node 2,Key LSB,0x00,0x01 3,Key MSB,Data LSB, diff --git a/src/tables/configuration.csv b/src/tables/configuration.csv index 84242d0..cbb89e5 100644 --- a/src/tables/configuration.csv +++ b/src/tables/configuration.csv @@ -1,4 +1,5 @@ Byte,Request,Response +0,9,9 1,Destination Node,Destination Node 2,Key LSB,"0x00 on Success, Error Code on Failure" 3,Key MSB, diff --git a/src/tables/disableenable.csv b/src/tables/disableenable.csv index 2fa56d4..212c192 100644 --- a/src/tables/disableenable.csv +++ b/src/tables/disableenable.csv @@ -1,4 +1,5 @@ Byte,Request,Response +0,3 Disable; 4 Enable,3 Disable; 4 Enable 1,Destination Node,Destination Node 2,Identifier LSB,"0x00 if successful, 0x01 unknown parameter" 3,Identifier MSB, diff --git a/src/tables/firmware.csv b/src/tables/firmware.csv index 5bc2d11..1976ec8 100644 --- a/src/tables/firmware.csv +++ b/src/tables/firmware.csv @@ -1,4 +1,5 @@ Byte,Request,Response +0,7,7 1,Destination Node,Destination Node 2,Verification Code LSB,"0x00 if successful, 0x01 otherwise" 3,Verification Code MSB, diff --git a/src/tables/nodecontrolcode.csv b/src/tables/nodecontrolcode.csv index b0d2257..d1264af 100644 --- a/src/tables/nodecontrolcode.csv +++ b/src/tables/nodecontrolcode.csv @@ -6,10 +6,10 @@ Control Code,Description,Mandatory,Respond to Broadcast 4,Enable Parameter,Yes,No 5,Node Report,Yes,Yes 6,Node Status Information,No,N/A -7,Update Firmware,No,No -8,Two-Way Connection Request,No,No -9,Node Configuration Set,No,No -10,Node Configuration Query,No,No +7,Update Firmware,No,Yes +8,Two-Way Connection Request,No,Yes +9,Node Configuration Set,No,Yes +10,Node Configuration Query,No,Yes 11,Node Description,No,No 12-19,Parameter Set,No,N/A 20-127,Reserved for Future Use,, diff --git a/src/tables/nodedescription.csv b/src/tables/nodedescription.csv index 064212e..0fcb815 100644 --- a/src/tables/nodedescription.csv +++ b/src/tables/nodedescription.csv @@ -1,4 +1,5 @@ Byte,Payload +0,11 1,Destination Node 2,Packet Number LSB 3,Packet Number MSB diff --git a/src/tables/nodeidresponse.csv b/src/tables/nodeidresponse.csv index 7c5991c..9a6f365 100644 --- a/src/tables/nodeidresponse.csv +++ b/src/tables/nodeidresponse.csv @@ -1,4 +1,5 @@ Byte,Request,Response +0,0,0 1,Destination Node,Destination Node 2,,CAN-FIX Specification. For this specification = 0x01 3,,Device Type diff --git a/src/tables/nodeidset.csv b/src/tables/nodeidset.csv index 7e76781..904f3be 100644 --- a/src/tables/nodeidset.csv +++ b/src/tables/nodeidset.csv @@ -1,3 +1,4 @@ Byte,Request,Response +0,2,2 1,Destination Node,Destination Node 2,New Node ID,"0x00 if successful, None if failed" diff --git a/src/tables/nodestatus.csv b/src/tables/nodestatus.csv index 5a7c22c..009d8dc 100644 --- a/src/tables/nodestatus.csv +++ b/src/tables/nodestatus.csv @@ -1,4 +1,5 @@ Byte,Payload +0,6 1,Parameter Type LSB 2,Parameter Type MSB 3,Data LSB diff --git a/src/tables/parameterset.csv b/src/tables/parameterset.csv index 185a08c..0239dea 100644 --- a/src/tables/parameterset.csv +++ b/src/tables/parameterset.csv @@ -1,4 +1,5 @@ Byte,Payload +0,12-19 1,Parameter ID LSB 2,Parameter ID MSB 3,Data LSB From ed7fe0d4d868eaa7976126654b85bee4b311c30e Mon Sep 17 00:00:00 2001 From: Mike Sutton Date: Tue, 24 Nov 2020 13:40:24 -0700 Subject: [PATCH 2/5] rst formatting --- README.rst | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/README.rst b/README.rst index 39177c4..145d9a4 100644 --- a/README.rst +++ b/README.rst @@ -24,10 +24,10 @@ of the FIX protocol. The specification documents are built with Sphinx. The following shows how to install the requirements on Ubuntu -``` -sudo pip install pyexcel pyexcel-ods -sudo pip install sphinx -sudo apt install texlive-latex-base texlive-fonts-recommended -sudo apt install texlive-fonts-extra texlive-latex-extra -sudo apt install latexmk -``` +.. code-block:: + sudo pip install pyexcel pyexcel-ods + sudo pip install sphinx + sudo apt install texlive-latex-base texlive-fonts-recommended + sudo apt install texlive-fonts-extra texlive-latex-extra + sudo apt install latexmk + From cc02736421b6c86d986c19090ef6b5d659ca1ec9 Mon Sep 17 00:00:00 2001 From: Mike Sutton Date: Tue, 24 Nov 2020 13:42:24 -0700 Subject: [PATCH 3/5] rst formatting --- README.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.rst b/README.rst index 145d9a4..3e78726 100644 --- a/README.rst +++ b/README.rst @@ -24,7 +24,7 @@ of the FIX protocol. The specification documents are built with Sphinx. The following shows how to install the requirements on Ubuntu -.. code-block:: +:: sudo pip install pyexcel pyexcel-ods sudo pip install sphinx sudo apt install texlive-latex-base texlive-fonts-recommended From 11573484d70ac07e56d43f735f2fbfcae29df2e3 Mon Sep 17 00:00:00 2001 From: Mike Sutton Date: Tue, 24 Nov 2020 13:46:03 -0700 Subject: [PATCH 4/5] rst formatting --- README.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.rst b/README.rst index 3e78726..e70dc44 100644 --- a/README.rst +++ b/README.rst @@ -24,7 +24,7 @@ of the FIX protocol. The specification documents are built with Sphinx. The following shows how to install the requirements on Ubuntu -:: +.. code-block:: shell-session sudo pip install pyexcel pyexcel-ods sudo pip install sphinx sudo apt install texlive-latex-base texlive-fonts-recommended From dbb241ba7aa33bfeef2a335ec0ff554c6a06fcd1 Mon Sep 17 00:00:00 2001 From: Mike Sutton Date: Tue, 24 Nov 2020 13:46:45 -0700 Subject: [PATCH 5/5] rst formatting --- README.rst | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/README.rst b/README.rst index e70dc44..f529b88 100644 --- a/README.rst +++ b/README.rst @@ -24,10 +24,13 @@ of the FIX protocol. The specification documents are built with Sphinx. The following shows how to install the requirements on Ubuntu -.. code-block:: shell-session - sudo pip install pyexcel pyexcel-ods - sudo pip install sphinx - sudo apt install texlive-latex-base texlive-fonts-recommended - sudo apt install texlive-fonts-extra texlive-latex-extra - sudo apt install latexmk +sudo pip install pyexcel pyexcel-ods + +sudo pip install sphinx + +sudo apt install texlive-latex-base texlive-fonts-recommended + +sudo apt install texlive-fonts-extra texlive-latex-extra + +sudo apt install latexmk