Menu

Getting raw XML txt or WBXML bytes

Help
Anonymous
2002-11-12
2002-11-12
  • Anonymous

    Anonymous - 2002-11-12

    I'm interested in using a completely different communication mechanism in which I need to get a hold of the raw WBXML byte array once I've constructed it (and providing the string for sent messages). I don't see a published method for doing that. I could presumably write my own transport layer that simply writes to a callback (using undocumented calls), but I'm hoping there's a simple call I've overlooked.

    Thanks,
    Carlos 

     
    • Lukas Zeller

      Lukas Zeller - 2002-11-12

      Just use smlLockWriteBuffer() and smlLockReadBuffer().

      The SML (coder/decoder) part of the RTK is completely separate from the XPT (transport) part. Even if you use both, you need to call smlLockWriteBuffer smlLockReadBuffer to have data sent and received.

      Regards,

       
    • Anonymous

      Anonymous - 2002-11-12

      I guess I just didn't look at the example closely enough.  Thanks!

      Carlos

       

Log in to post a comment.