All of lore.kernel.org
 help / color / mirror / Atom feed
* Find a way to grab online status when use "hardware flight mode" on my board
@ 2013-03-18 15:23 Viallard Anthony
  0 siblings, 0 replies; only message in thread
From: Viallard Anthony @ 2013-03-18 15:23 UTC (permalink / raw)
  To: ofono

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

Hello there,

I try to find a way to leave the hardware flight mode. What I mean with 
hardware flight mode that on my board, I can control the flight mode by 
software and also with hardware.

But, when we go to flight mode with hardware, ofono doesn't get it and 
so, doesn't update the "Online" status.

The mainly problem my modem doesn't send messages when goes offline. 
Sometimes, I see "+CSQ: 99,99", "+CREG: 0", "+CGREG: 0". But, It's not 
the case all the times.

So, I think a AT+CFUN? pooling is the best solution in my case. If I 
detect the modem goes offline, I could put ofono up do date.

Have you got a better alternative to my issue ? Where can I do this 
pooling ? IMHO, I think to do this in the plugin driver but maybe there 
are a better place.

This behavior is just for me, I guess you don't want a pooling thing in 
your code :)

Regards,
Anthony.

-- 
.-------------------.-----------------------.-------------------.
| Viallard Anthony  | Syscom Instruments SA | Embedded System   |
| +41 024 455 24 82 | Rue de l'industrie 21 | Software Designer |
| ~~~~~~~~~~~~~~~~~ | 1450 Sainte-Croix     | ~~~~~~~~~~~~~~~~~ |
'-------------------^-----------------------^-------------------^

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-03-18 15:23 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-18 15:23 Find a way to grab online status when use "hardware flight mode" on my board Viallard Anthony

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.