diff --git a/README.rst b/README.rst index ac7ab50..f529b88 100644 --- a/README.rst +++ b/README.rst @@ -25,7 +25,12 @@ 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