Like many (higher level) internet protocol, "smpp" is connection based.
A connection can be in one of several states: e.g. "open", "closed",
"outbound", "inbound", ...
The output above likely shows numeric representations of the state
of the client connection.
The discrepancy, you observed, likely means the an indended state change
did not work. Looking at the code should allow you to determine
which state change was affected.
If the analysis above is correct (no garantee), then the code
is not very good. It should provide better diagnostics if something
goes wrong. It would also have been better to provide "speaking"
representations for the states rather than numeric ones.