The documentation is incorrect, the indices 1 & 2 in the returned vector were swapped.
The implication that any part of the returned vector being zero indicates a standalone message is incorrect as index 0 (reference number) may be zero. This is set by the originating device which sets the reference number as it see fit.
I can either change the documentation or the source code.
My decision is to change the documentation and leave the source unchanged.
The documentation is incorrect, the indices 1 & 2 in the returned vector were swapped. The implication that any part of the returned vector being zero indicates a standalone message is incorrect as index 0 (reference number) may be zero. This is set by the originating device which sets the reference number as it see fit.
I can either change the documentation or the source code.
My decision is to change the documentation and leave the source unchanged.