-
Notifications
You must be signed in to change notification settings - Fork 49
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
Missing Characters in a message (PDU) when sending over 160 characters #136
Comments
That sounds like a problem with the dependency |
Hi Julian,
I’ve solved by adding a % sign every 132 characters. I know it’s not the best but it works.
Let me know if you figure this out eventually.
Thank you
Ronen
Get Outlook for iOS<https://aka.ms/o0ukef>
…________________________________
From: Julian W. ***@***.***>
Sent: Thursday, February 1, 2024 8:17:59 AM
To: zabsalahid/serialport-gsm ***@***.***>
Cc: Ronen Tadmor ***@***.***>; Author ***@***.***>
Subject: Re: [zabsalahid/serialport-gsm] Missing Characters in a message (PDU) when sending over 160 characters (Issue #136)
That sounds like a problem with the dependency node-pdu<https://github.com/jackkum/node-pdu/issues/new>
—
Reply to this email directly, view it on GitHub<#136 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AIBT24XV4FOJEFSNLKJ5VJDYROIYPAVCNFSM6AAAAABCTSPELGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMRRGMYDKNZQGU>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Please provide a code to reproduce the issue and I will have a look. Thank you |
How did you implement the %? Can you provide the workaround code? |
Can you help here as well? I am having the issue of the missing characters. I noticed that the node-pdu dependecy isnt updated on this project to the latest as well |
Output:
I know its the depency of node-pdu that seems to be the issue here but i see that its also outdated in this project. |
Hi, is there any update or possible work around on this? |
Here is the issue in the node-pdu dependency. Unfortunately, I have not yet found a solution to the problem. Please feel free to help |
Since this is a node-pdu issue on parsing the message. I was able to work with it with messages longer than 160 characters. Let me know if this works for you.
to use the method
Explaination I just replaced the node-pdu to generate the parts. from:
to
and update the executeCommands in the loop. from:
to:
Documentation of the node-sms-pdu can be found here: https://www.npmjs.com/package/node-sms-pdu |
Hello Everyone,
I started using this library about 2 weeks ago and it's amazing how it works well, except for the long messages. It seems that for any message over 160 characters long I lose the first character of the next block. If I add a space in my text to send, the space will be removed when sent. Is there a way to find out why and where this is done so we can fix it?
Thank you in advance
Ronen
The text was updated successfully, but these errors were encountered: