Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sequence Number is not incremented when sending large SMS #50

Open
oeil2lynx opened this issue Jun 9, 2023 · 1 comment
Open

Sequence Number is not incremented when sending large SMS #50

oeil2lynx opened this issue Jun 9, 2023 · 1 comment

Comments

@oeil2lynx
Copy link

For all the segments of an SMS longer than 140 chars, the sequence number is the same.
It should not be.
For some SMSC, the connection is rejected and re-binded and the SMS is not fully sent.
It could give an Null Exception ins some case.

image

I forked the project to make fix the bug, do you want me to create a pull request ?

@oeil2lynx
Copy link
Author

The sequence_number may range from: 0x00000001 to 0x7FFFFFFF.

sequence_number

size octects: 4

type: Integer

There is no specific requirement on how the sequence_number should be set. However, it is recommended that the sequence number be a monotonically increasing number.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant