I want to listen to unsolicited data from an USB 3G modem (Option GlobeTrotter 7.2, hso driver) to receive SMS without polling.
I'm on Arch Linux with latest (3.12.20-3-ARCH) kernel from official repo.
It's easy, all you have to do is :
- Connect to the Application (wappX) port
- Enter PIN code if needed :
Code: Select all
AT+CPIN=XXXX
- Switch to TEXT mode (if you don't do this, SMS will be displayed is encoded form) :
Code: Select all
AT+CMGF=1
- Activate unsolicited result codes :
Code: Select all
AT+CNMI=1,2
- Sends SMS to your modem
- You should see notifications beginning with :
Code: Select all
+CMT :
On the Pi... Nothing.
All ports except Modem (wmodem0) won't connect.
Do anyone knows how to enable this?
Is this a kernel or driver problem?
Could somebody test this on Raspbian?
All the commands above should work for any SMS compatible modem.