On 06/03/2012 09:03 PM, Scott Talbert wrote: >> Why do you have this abstraction? Isn't ReadRegion() just ReadFlash? > > I believe that I added the layer of abstraction because, in the > GetIdentity case (below), I need to get the length of the region back from > the call. The ReadFlash API doesn't support passing the length back > because for the non-zwave remotes, the length is already known. In the > ReadFlash case (where we're actually dumping a config), we don't need the > length because we already know it so we can throw it away - the 'tmp' > variable above.
Ah, makes sense. Thanks. Committed. -- Phil Dibowitz p...@ipom.com Open Source software and tech docs Insanity Palace of Metallica http://www.phildev.net/ http://www.ipom.com/ "Be who you are and say what you feel, because those who mind don't matter and those who matter don't mind." - Dr. Seuss
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________ concordance-devel mailing list concordance-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/concordance-devel