faucamp / python-gsmmodem

Python module to control a GSM modem attached to the system: send/receive SMS messages, handle calls, etc
GNU Lesser General Public License v3.0
385 stars 303 forks source link

Error : Unhandled unsolicited modem notification: #35

Open wimalprasanna opened 10 years ago

wimalprasanna commented 10 years ago

i receive Unhandled unsolicited modem notification error after waiting for sms. How can i correct this.

faucamp commented 10 years ago

I am not sure what you mean by "unsolicited modem notification error"? Could you please elaborate a little bit more? Please post the output that you are getting.

By default, python-gsmmodem logs any modem notifications that it receives (and does not expect/understand) - is this what you are referring to? If this is the case, it is not an error; you can just adjust your logging settings to hide these messages if you do not want to see them.

nishaalnaseer commented 5 months ago

im getting this, it was working fine before, device: huawei 1550 None of the messages are being passed to the sms callback function Call, and sending messages are working fine DEBUG: notification: ['^RSSI:13'] DEBUG: Unhandled unsolicited modem notification: ['^RSSI:13'] DEBUG: notification: ['^BOOT:48175390,0,0,0,89'] DEBUG: Unhandled unsolicited modem notification: ['^BOOT:48175390,0,0,0,89'] DEBUG: notification: ['^RSSI:13'] DEBUG: Unhandled unsolicited modem notification: ['^RSSI:13'] DEBUG: notification: ['^RSSI:13'] DEBUG: Unhandled unsolicited modem notification: ['^RSSI:13'] DEBUG: notification: ['^BOOT:48175390,0,0,0,89'] DEBUG: Unhandled unsolicited modem notification: ['^BOOT:48175390,0,0,0,89'] DEBUG: notification: ['^RSSI:13'] DEBUG: Unhandled unsolicited modem notification: ['^RSSI:13'] DEBUG: notification: ['^BOOT:48175390,0,0,0,89'] DEBUG: Unhandled unsolicited modem notification: ['^BOOT:48175390,0,0,0,89'] DEBUG: notification: ['^RSSI:13'] DEBUG: Unhandled unsolicited modem notification: ['^RSSI:13'] DEBUG: notification: ['^RSSI:13'] DEBUG: Unhandled unsolicited modem notification: ['^RSSI:13'] DEBUG: notification: ['^RSSI:13'] DEBUG: Unhandled unsolicited modem notification: ['^RSSI:13'] DEBUG: notification: ['^SMMEMFULL:"ME"'] DEBUG: Unhandled unsolicited modem notification: ['^SMMEMFULL:"ME"'] DEBUG: notification: ['^BOOT:48175390,0,0,0,89'] DEBUG: Unhandled unsolicited modem notification: ['^BOOT:48175390,0,0,0,89'] DEBUG: notification: ['^RSSI:13'] DEBUG: Unhandled unsolicited modem notification: ['^RSSI:13']

nishaalnaseer commented 5 months ago

adding modem.processStoredSms() after modem.connect() has solved it