The prb with AT commands is that they are ‘almost’ standard, meaning that the general feeling is the same but each manufacturer will introduce its own variations. Coming back to Mihini, our idea was that the SMS specifics should be in the porting layer. That would mean that in your case the messaging.lua should be handled as a porting layer. The current messaging.lua should be seen as an implementation example of that porting. In your case it seems that you only had to change the CNMI command. That being said, we clearly need to improve the visibility on what is porting and what is not. And give examples. In the short term you modification is alright, I suggest you keep it that way until some other way is defined. I hope it’ll works for you! Thanks, Cuero De : mihini-dev-bounces@xxxxxxxxxxx [mailto:mihini-dev-bounces@xxxxxxxxxxx] De la part de Julien Vermillard Envoyé : mardi 9 avril 2013 13:57 À : Mihini project developer discussions Objet : Re: [mihini-dev] SMS module Hi, Well I didn't know much this module, I'm just trying to understand the issue :) Perhaps someone involved in the SMS module code will provide more details and if it's possible to support different modes and this modem. On Tue, Apr 9, 2013 at 1:47 PM, Marco Descher <mde@xxxxxx> wrote: so what does that mean? That this device is not being supported officially by MIHINI? Or that I have to modify something else, or?! Could support for this device (which is quite popular in Austria) be included? If yes, currently the sms callback header is always nil, I receive the message though!
Looks like the supported modes are 0-2 so I think the problem is the lack of mode 3 support. On Tue, Apr 9, 2013 at 1:41 PM, Marco Descher <mde@xxxxxx> wrote: thanks for your answer; the respective output is: +CNMI: (0-2),(0-3),(0,2),(0-2),(0,1) the device (once again) is: ID 12d1:1506 Huawei Technologies Co., Ltd. E398 LTE/UMTS/GSM Modem/Networkcard _______________________________________________ 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 _______________________________________________ mihini-dev mailing list mihini-dev@xxxxxxxxxxx http://dev.eclipse.org/mailman/listinfo/mihini-dev
|