On Wed, Mar 27, 2013 at 5:35 AM, Scott Talbert <s...@techie.net> wrote: > On Tue, 26 Mar 2013, Scott Talbert wrote: > >> There are still a couple of challenges, though: >> a) There isn't a way (that I know of) to get the length of the config in >> advance. This means we'll probably have to do what I did with >> usbnet/zwave and read the config twice (first time to get the length). >> b) More importantly, when you get a Harmony 300 config from the website, >> there are some pieces of data in the XML that you need in order to write a >> config. I'm not sure how we can get these pieces of data if we are just >> reading the config binary off the remote. > > OK, I posted another rev of the patch. Problem a) is resolved - I > actually found a way to read the config length without reading the whole > config which was a pleasant surprise. The unfortunate thing that I found > is that it doesn't work on the Harmony 200. > > In any event, this rev will actually write a file out which matches the > EzHex file produced by the website (inside the zip file). Problem b) > still remains where I don't know how to get the XML attributes, so I don't > believe you could actually write the config back to the remote. > > Scott >
Just tried it out and indeed get a nice 64 KB binary file. To bad this can't be used for flashing without the XML. For my use case I currently just want to get the data from an already configured remote and use it to flash others. Does the XML have to match the binary config, or is it just metadata/image/etc ? If it would work I could just get a zip from the website, replace the binary part and flash it that way. ------------------------------------------------------------------------------ Own the Future-Intel® Level Up Game Demo Contest 2013 Rise to greatness in Intel's independent game demo contest. Compete for recognition, cash, and the chance to get your game on Steam. $5K grand prize plus 10 genre and skill prizes. Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d _______________________________________________ concordance-devel mailing list concordance-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/concordance-devel