Gordon submitted the first component of the c++ toolkit yesterday. I
wanted to thank him for his effort and announce his accomplishment. (I
do have his signed contribution form by fax but am awaiting the original
to scan and post to the site). 
 
His contribution contains a preliminary implementation of the
Encoder/Decoder which uses XSLT to generate code from llrpdef.xml. It
currently assumes Linux w/ xsltproc, g++, and make.  
 
It decodes a frame contained in an initialized array and the decode
results a tree of objects. It uses the encoder abstraction to
pretty-print as XML (re LLRP.xsd). 
 
TODO: revise CElement::encode() to be more tolerant thereby allowing
pretty-print of partial messages and parameters  
TODO: revisit how unions are handled: abstract class (e.g. "OpSpec")
probably a good idea but at odds with the letter of the spec  
TODO: Implement framer component of the toolkit. 
TODO: Implement light weight transaction layer (called the reference
dispatcher in the architecture slides) 
TODO: verify with Visual C++. The Microsoft XSLT processor, msxsl, was
tried and worked a while ago. Needs to be tried again.  
TODO: work out handling of Custom messages and parameters  
TODO: Implement import of LLRP.XSD based XML into c++ objects 

 

Please let us know your thoughts/comments on the code.

 

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
llrp-toolkit-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/llrp-toolkit-devel

Reply via email to