RDM Appendix A #define header file attached
Appendix A #define file attached
I'm posting a complete .h file for all the #defines in Appendix A. The easiest place to make a mistake in implementing RDM is entering the wrong #define. Every entry in Appendix A is listed in here. In order to avoid #define duplicates in existing code, all the defines are prefixed with E120_ to keep it clear. This file can now be downloaded from here: http://www.rdmprotocol.org/developer...ces/downloads/ If you have any questions or catch a discrepancy, let me know. Revision History 9/18/06 Added Copyright and usage permissions. 9/21/06 Removed some non-ASCII characters in the comments. 10/01/06 Added Protocol Version define. Removed some stray spaces breaking GCC compliles 2/14/12 Added E1.37-1 defines. 10/24/2014 Added E1.37-2 defines |
Thanks, Scott! I'd like to update the Wireshark (previously known as Ethereal) protocol decoder. Could you please add a copyright and license statement to the header file? For the license statement, I would suggest...
Permission to use, copy, modify, and distribute this software is freely granted, provided that this notice is preserved. Alternatively, you could simply put the file in the public domain. Thanks! Shaun Jackman |
Shaun,
I've added the information you need and updated the attached file above. Let me know how it works out. |
Thanks, Scott. Looks great.
Cheers, Shaun |
Scott,
One more note. The header file is either corrupted or non-ASCII/non-ISO/non-UTF. It contains the character 150 (0x96), which I suspect should be a hyphen or a dash, and the character 146 (0x92), which I suspect should be an apostrophe. Cheers, Shaun Code:
$ diff /tmp/RDM.h rdm-e120.h |cat -v |
Shaun,
I think I got them all out now. Scott |
The header file is missing a */ to end a comment on line 545, which annoys GCC.
../rdm-e120.h:546:1: error: "/*" within comment Cheers, Shaun --- rdm-e120.h 19 Sep 2006 19:51:24 -0000 1.1 +++ rdm-e120.h 27 Sep 2006 19:59:26 -0000 @@ -542,7 +542,7 @@ #define E120_DS_UNSIGNED_WORD 0x05 /* Data is an array of unsigned 16-bit words */ #define E120_DS_SIGNED_WORD 0x06 /* Data is an array of signed 16-bit words */ #define E120_DS_UNSIGNED_DWORD 0x07 /* Data is an array of unsigned 32-bit words */ -#define E120_DS_SIGNED_DWORD 0x08 /* Data is an array of signed 32-bit words +#define E120_DS_SIGNED_DWORD 0x08 /* Data is an array of signed 32-bit words */ /* Manufacturer-Specific Data Types 0x80- 0xDF */ |
This patch adds the protocol version used by the device info parameter.
Cheers, Shaun Code:
--- rdm-e120.h 27 Sep 2006 20:01:00 -0000 1.2 |
There is a stray space in `E120_STATUS_GET_LAST_ MESSAGE' (sic).
Code:
150c150 Shaun |
Shaun,
I added the Protocol Version and fixed the stray space and GCC line wrap issue. Scott |
There is a stray space in `E120_PRODUCT_DETAIL_NOT DECLARED'.
Code:
258c258 Shaun |
Control field of mute/un-mute
This patch adds constants for the control field of the mute/un-mute messages.
Cheers, Shaun Code:
diff -u -p -r1.4 rdm-e120.h |
Appendix B & C
Hello !
I'm currently implementing RDM and today, I've needed some definitions from appendix C. If it can be of any help to somebody, here is a copy of the rdm.h I'm using, with appendix B & C implemented. Cheers ! Laurent |
All times are GMT -6. The time now is 09:02 PM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.