Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [mihini-dev] SMS module

Hi,
Perhaps your modem doesn't support mode 3 ?
Please, can you provide us the result of the command : "AT+CNMI=?" because I think we never tested the SMS module with this modem.
Thanks,
Julien



On Tue, Apr 9, 2013 at 12:50 PM, Marco Descher <mde@xxxxxx> wrote:
Hy,

I could finally track down the problem, the original error message was:

Aug  9 20:43:46 raspberrypi Mihini: 2012-08-09 20:43:46 GENERAL-ERROR: #011 [SMS] failed with Failed to setup New SMS URC

With some debuging I found out that I have to change the init() method in messaginghal.lua from

r = at.run("at+cnmi=3,1")

to

r = at.run("at+cnmi=1,1,0,0,0")

Now it works with my Bus 001 Device 005: ID 12d1:1506 Huawei Technologies Co., Ltd. E398 LTE/UMTS/GSM Modem/Networkcard !

Is this something that could be considered for an extraction into the configuration file?

thanks,
marco






Am 09.04.2013 um 10:36 schrieb Marco Descher <mde@xxxxxx>:

Hy,

I am trying to get the sms module working, I do however not have big success with it :(

If I code the respective code by hand (that is, using /dev/ttyUSB2 accessed with file.io as can be seen here https://raw.github.com/col-panic/smartBoiler/master/at.fhv.smartboiler.test/src/main.lua ) everything
works. I can, however, not figure out, how to correctly configure mihini to use the provided sms library!

Anyone got a hint on this?

thanks 

---

DI (FH) Descher Marco, MSc
Research Assistant


FH Vorarlberg
University of Applied Sciences
Hochschulstraße 1
6850 Dornbirn, Austria

GmbH, FH 165415h, LG Feldkirch




_______________________________________________
mihini-dev mailing list
mihini-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/mihini-dev


_______________________________________________
mihini-dev mailing list
mihini-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/mihini-dev



Back to the top