DmxSerial2 icon indicating copy to clipboard operation
DmxSerial2 copied to clipboard

Unable to change Manufacturer ID

Open stumouse opened this issue 5 years ago • 1 comments

Im trying to change the manufacturer ID to that of one i've gained. Under which location do I change this? Thanks

stumouse avatar Jan 17 '20 18:01 stumouse

Hi @stumouse ,

That bit isn't really "productised" I'd say, you can currently either write it into the EEPROM yourself, and it will be read out: https://github.com/mathertel/DmxSerial2/blob/66ed0cffcb398b8912e510eff7ae6efeff62503a/src/DMXSerial2.cpp#L225

Or edit the code here and then it will be set as the default: https://github.com/mathertel/DmxSerial2/blob/66ed0cffcb398b8912e510eff7ae6efeff62503a/src/DMXSerial2.cpp#L232-L250

Make sure you change the first two bytes of _devID AND _devIDGroup so it responds properly to RDM.

Alternatively this commit in the TeensyDMX library does an equivalent change there to productise it, and that could was itself initially based on @mathertel 's library (amongst other things), so it should be possible to apply the changes without too much work if you fancy giving that a go: https://github.com/chrisstaite/TeensyDmx/commit/a0263ccb828285eda1fd5e6650d5b3d6144f224b

peternewman avatar Jan 18 '20 16:01 peternewman