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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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,
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2002-11-12
I guess I just didn't look at the example closely enough. Thanks!
Carlos
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
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,
I guess I just didn't look at the example closely enough. Thanks!
Carlos