-
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
Random behaviour fr receiving messages #5
Comments
Use something like the following code to see if the modem port is opened and still operational: function checkModem() {
var c = modem.execute('AT', function() {
console.log('AT Test response', arguments);
});
c.on('timeout', function() {
console.log('AT Test timed out');
});
}
setInverval(checkModem, 120000); |
Thanks! |
I found out why this happened. It's because the modem seems to 'forget' that we have registered for sms notifications |
This is weird. Never had such issue. |
Hey,
First thanks for your cool package. I use it to send and receive SMS but sometimes, the app stop receiving SMS (no event is emited when a new sms arrives). I have to stop and restart the app in order to receive them?
Have you ever experiences this behaviour ?
The text was updated successfully, but these errors were encountered: