Your vendors way of indicating the message length might not match
NACChannels...
> However, I got another problem: How can I set the packager dynamically
> according to the content of TPDU? Can you give me some hints?
1. Look at the source.
2. Look at the source again 8).
3. extend NACChannel - if that matches your network protocol, the
override getDynamicPackager(header, b) to return the packager based upon
the header (5 byte TPDU) content and/or the binary message content.
--
Mark
The combination of the two should provide what is needed. Patch r2793
is available in SVN, as discussed in thread :-
http://groups.google.com/group/jpos-users/browse_thread/thread/bd4daac7a2e901b1?hl=en#
--
Mark