-
Notifications
You must be signed in to change notification settings - Fork 48
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
onNewMessage and onNewMessageIndicator never fired #1
Comments
Hello @slachtar ! Thanks for trying out I tried your code and I got an error as a result in calling Can you please try this code and check if it works? modem.on('open', data => {
console.log("Port opened.");
modem.initializeModem(res => {
console.log("Modem initialized.\n");
})
modem.setModemMode(res => {
console.log(res)
modem.getSimInbox(function(res) {
console.log("inbox:", res);
});
}, 'PDU')
}) |
Hello,
|
@slachtar What version are you using? |
@zabsalahid updated to the latest version, results are shown below:
|
@slachtar is |
@zabsalahid it's never fired even with messages with unsupported sender type or null sender. BTW, same modem is working great with this module: Thank you |
@slachtar sure! I'd like to check it directly. you can reach me at |
@slachtar https://github.com/emilsedgh/modem last commit was Apr 13, 2017 😢 |
:)
I think it's alive because it's based on serialPort which is very active
and also AT commands didn't changed since decades.
…On Sat, Feb 9, 2019 at 3:35 PM Zab Salahid ***@***.***> wrote:
@slachtar <https://github.com/slachtar> https://github.com/emilsedgh/modem
last commit was Apr 13, 2017 😢
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ACaj6rfywU_pYi2PELhGwkba-qeLeJNiks5vLtywgaJpZM4ahdkL>
.
--
Slah Lachtar
Tel. (+216) 98 221 575
|
How to solve this ? I'm having this problem too. |
These event is not working. How to solve this? |
Hello,
first I'd like to thank your for this module.
I'm testing it under windows with a Huawei gsm modem, I can send messages with sendSMS function, but I was enable to receive messages and the onNewMessage and onNewMessageIndicator are never fired.
Notice: getSimInbox() function shows the list of messages including the one I sent.
Any suggestion please?
Thank you,
Here's my code:
The text was updated successfully, but these errors were encountered: