mgaman / PDUlib

Encode/Decode PDU strings for use with most GSM modems. Both 7 bit and 16 bit alphabets are supported.
GNU Lesser General Public License v2.1
22 stars 10 forks source link

GetConcatInfo #29

Closed mgaman closed 1 year ago

mgaman commented 2 years ago

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.

mgaman commented 1 year ago

Fixed in release 0.5.7