-
Notifications
You must be signed in to change notification settings - Fork 68
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
Cutting off last characters sending SMS #4
Comments
I will fix it in a couple of weeks. Thank you for the bug report. |
Hi, Attached pdu.js for the pdu package on npm. I fixed decode7Bit to ignore \u0000 char (line 186 - 191). Regards On 27 Jul 2014, at 11:27 AM, Emil Sedgh [email protected] wrote:
|
Hi. |
I am experiencing this too. |
Hi, In the scenario I wanted to use SMSs I discovered I needed a bit more. I want to be able to send SMSs in a queued manner (if things get busy), process delivery reports, receive SMS etc. I downloaded the Gammu SMSD deamon from wammu.eu. Unfortunately you need to compile it with cmake, but I found that relatively easy. It works for me, but maybe your scenario is different. Regards |
My scenario is this: It's like a load balancing application for GSM. Any ready GSM can send a message. |
Most important I think is that only one application should communicate with one modem as while you are busy sending other messages might come in, for instance delivery reports if you request them. I have one deamon running per modem, which handles the sending and receiving. In my case I also need to process incoming SMSs. |
When using the modem.sms function I am experiencing that the last few characters are cut of when viewing the sms message on the receiving phone.
function sendSMS() {
console.log('Attempting to send SMS');
modem.sms({
receiver: '0761234567',
text: 'Test text from app.js on Mac.',
encoding: '7bit'
}, function (err, sent_ids) {
console.log('>>', arguments);
if (err)
console.log('Error sending sms:', err);
else
console.log('Message sent successfully, here are reference ids:', sent_ids.join(','));
});
}
For instance: Test text from app.js on Mac. gets cut off toTest text from app.js on M
Have you experienced this?
Thanks
Leon
The text was updated successfully, but these errors were encountered: