I did a long time ago. But, basically, I just added some new menus to
chdk. My code is _fairly_ standalone and isn't too difficult to
integrate into chdk.
What I've got left is in here:
http://sr71.net/~dave/projects/eyefi/chdk/
You're welcome to dig around and see if there's anything useful to you
in there.
-- Dave