26.06.2016, 16:22
With this low cost USB 3G Modem I need to add one init string in the resident script:
and using the ttyUSB2 (the third USB) everything seems to work fine.
The Huawei E173 are a little expensive and hard to find...
HTH
Marcello
Code:
-- set to pdu mode
modem:send('AT+CMGF=0')
-- enable sms notifications
modem:send('AT+CNMI=1,1,0,0,0')
-- fixup encoding
modem:send('AT+CSCS="GSM"')
-- set preferred sms message storage to SIM
modem:send('AT+CPMS="SM", "SM", "SM"')
and using the ttyUSB2 (the third USB) everything seems to work fine.
The Huawei E173 are a little expensive and hard to find...
HTH
Marcello