All of lore.kernel.org
 help / color / mirror / Atom feed
* SAGEM HiloNC v2 Driver
@ 2013-03-26  9:07 Freedreamer
  2013-03-26 14:25 ` Denis Kenzior
  0 siblings, 1 reply; 17+ messages in thread
From: Freedreamer @ 2013-03-26  9:07 UTC (permalink / raw)
  To: ofono

[-- Attachment #1: Type: text/plain, Size: 1829 bytes --]

Hi Everybody,

I'm developing a driver for an embedded system which uses a sagem HiloNC v2
and I really should need your help. It's my will to commit everything when
shall be ready and working.
First of all I will tell you what i did..I created a plugin sagem.c ,added
a new Vendor ,  modified makefile & other stuff and seems to work properly.
I started from calypso driver 'cause the modem is based on a Uart and I
needed the MUX over that.
With a very raw/dirty code I was able to use PPP/SMS/net service over
virtual com.. Very good work dude! :)

Now I would like to clean up my code and get a better understanding of the
stack. Unfortunately I saw that functions/modules are not always commented
so I have to ask u a lot of questions (maybe also trivial):

1) AT cmds sent with "g_at_chat_send" are always async , is that right ? Is
there any chance to get them sync ?
2) in enable fnc the modem is powered but The sim is not ready so sometimes
It hangs up...Do I have to to poll the sim status until is ready  , or the
driver will do  that by itself ?
3) could u explain me what should I really do in virtual fnc  set_online /
post_online ? i tried to stub them but they have not never been called...
4) unfortunately this modem has a SIM detection URC but it reset itself
every time the status changes... so i should call the disable function and
the enable again in order to have the MUX working... how can i do that?
5) I created and started the MUX as the first thing in enable fnc but is
that right ? sometimes seems that the modem hangs up if just powered up.
Put a delay but don't like it very much as a solution...moreover when I
power up the modem all the URC have been lost 'cause the MUX has not been
created yet..

Any help will be appreciated :)

thanks in advance

Marco

[-- Attachment #2: attachment.html --]
[-- Type: text/html, Size: 1899 bytes --]

^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2013-04-04 17:18 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <CAAs3wMjcs_Y6-zFVUX2k8uO6_3tV0CLga2Pty0Cb2M9YOf7_xQ@mail.gmail.com>
2013-03-27  6:29 ` SAGEM HiloNC v2 Driver Freedreamer
2013-03-27 14:36   ` Denis Kenzior
2013-03-27 18:06     ` Freedreamer
2013-03-27 19:54       ` Denis Kenzior
2013-03-28 13:40         ` Freedreamer
2013-03-28 13:43           ` Freedreamer
2013-03-28 14:28             ` Denis Kenzior
2013-03-28 15:42               ` Freedreamer
2013-03-28 16:04                 ` Denis Kenzior
2013-03-28 16:32                 ` Freedreamer
2013-03-28 19:41                   ` Denis Kenzior
2013-03-29 11:24                     ` Freedreamer
2013-04-04 12:08                       ` Freedreamer
2013-04-04 13:36                         ` Denis Kenzior
2013-04-04 17:18                           ` Freedreamer
2013-03-26  9:07 Freedreamer
2013-03-26 14:25 ` Denis Kenzior

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.