Did you email them and ask for the code? There’s also a free arduino lib that does all this and more, of course you’d have to port it to PIC. I’m about to do this for a project, but making it a greatly simplified version.
http://www.arcfn.com/2009/08/multi-prot … brary.html
Me.