Anyone knows if there is a C implementation of this tool?
Great tool to decode RD file... and wondering if there is any C implementation of this tool? Thanks.
Not that we know of. The decoder exists in Ruby, encoder implementations exist in Java and Python (https://github.com/jnweiger/ruida-laser/tree/master/src)
Thanks for the quick response. I'm actually wondering where this software of Rdworks comes from... since we have observed that some of those laser-cutting softwares surprisingly follow the same protocol when communicating with the device. Any hint?
Also, if you're writing something to decode RD files in general keep in mind the magic number for the 634XG is 0x11 and not 0x88. So if you're reading parsing an .rd file and the first byte of the file which is a command isn't above 0x80 you should xor the magic number by 0x99, and redo that byte. That way you can decode them in either form.
And I mapped out all the commands and properties.
https://edutechwiki.unige.ch/en/Ruida