Denis Kenzior
f98c6dc917
mbm: Simplify STKE logic
...
We shouldn't use CALLBACK_WITH_FAILURE unless we can't parse the
response from the modem. This most likely indicates an integration
error.
2010-05-12 13:44:31 -05:00
Denis Kenzior
49c5def68b
mbm: NULL check on a g_free is not necessary
...
This is a change from previously accepted practice
2010-05-12 13:43:48 -05:00
Denis Kenzior
d6f540eb8f
mbm: Few style issues with indentation
2010-05-12 13:43:38 -05:00
Andrzej Zaborowski
f0aeb0b037
mbm: Add STK driver.
2010-05-12 13:43:23 -05:00
Andrzej Zaborowski
5e11442ef7
atmodem: Pass allowed response prefixes to gatchat
...
Not doing this creates a race condition where any notification
comming in in the middle of a sequence of commands may be counted
as a response to one of the commands and get lost.
2010-05-12 12:18:33 -05:00
Denis Kenzior
dea4c88906
atmodem: Fix crashes related to unremoved timeouts
...
Any timeouts set must be removed using g_source_remove. Failure to do
so results in sigsegvs when the modem is randomly removed during the
initialization cycle.
2010-05-11 09:10:58 -05:00
Denis Kenzior
5343272bc1
atmodem: Port gprs-context to new PPP api
2010-04-30 15:32:54 -05:00
Denis Kenzior
b5f81f4012
Fix: For now calling g_at_chat_unref is fine
...
Same as g_at_chat_shutdown in this case
2010-04-28 17:27:33 -05:00
Aki Niemi
41a21ac96b
Fix typo in gprs driver
2010-04-27 23:21:48 +03:00
Aki Niemi
b0222a79c3
Fix faulty logic in netreg driver
...
Also add missing tech param.
2010-04-27 23:21:48 +03:00
Aki Niemi
c123a9b5ba
Fix remove ops in isimodem drivers
2010-04-27 23:21:48 +03:00
Aki Niemi
a03d11fec7
Fix style issues in isimodem
2010-04-27 23:21:48 +03:00
Aki Niemi
8b61fde2fb
Add user authentication to gprs context driver
2010-04-20 17:47:17 +03:00
Pekka Pessi
fa3501b8d2
Refactor isimodem and gisi/netlink
...
Now usbpnmodem plugin is used to register ISI modems.
2010-04-20 17:47:17 +03:00
Pekka Pessi
2dd6923dfa
Add infoserver to isimodem
...
The info server provides information from the mobile station to the
ISI modem. Currently it returns the Software Version Number (SVN)
that is used in mobile identification.
2010-04-20 17:47:16 +03:00
Pekka Pessi
2cc99fdaa6
Add SIM server state detection
...
Register isimodem SIM driver only when SIM server is ready. The best
way to find out that the server is truly ready is to read some data.
2010-04-20 17:47:16 +03:00
Pekka Pessi
540656ebfe
Fix: s/bootsrap/bootstrap/
2010-04-20 17:47:16 +03:00
Aki Niemi
144b30ac6d
Add isimodem gprs context driver
2010-04-20 14:16:26 +03:00
Aki Niemi
a7989b7cbb
Add isimodem gprs driver
2010-04-20 14:16:18 +03:00
Aki Niemi
f62f6076c1
Add PN_GPDS code points and debugging
2010-04-20 14:11:07 +03:00
Aki Niemi
eefcdc9f44
Add SIM inserted notification
...
TODO: This is a temporary solution. Trigger the inserted notification
on actual SIM state changes instead.
2010-04-20 14:10:52 +03:00
Aki Niemi
0f1db581da
Remove declaration of unused dump_msg()
2010-04-20 14:10:17 +03:00
Denis Kenzior
cc0ffd1720
Rename ofono_atmodem_poll_enable
...
This is not official oFono API
2010-04-15 16:49:43 -05:00
Andrzej Zaborowski
14bcca32c0
Implement STATUS polling in atmodem driver.
2010-04-15 16:49:43 -05:00
Denis Kenzior
f1b61640f7
Fix: should be unsigned char not guint8
2010-04-15 16:49:43 -05:00
Denis Kenzior
110de93f4c
Style: Proper indentation
2010-04-15 16:49:43 -05:00
Andrzej Zaborowski
b34c35d822
Add AT driver for STK atom.
2010-04-15 16:49:42 -05:00
Andrzej Zaborowski
aad4d0de78
Add Sim Toolkit atom
...
- Add ofono_stk atom in stk.c
- Move envelope command from sim driver to stk driver
2010-04-15 16:49:40 -05:00
Denis Kenzior
389eb70dc8
Initial implementation of the PPP gprs context
2010-03-31 18:49:39 -05:00
Pekka Pessi
ade674158c
Fix: simplify isimodem call-barring driver.
...
Add support for lock codes AG and AC (MMI codes 333 and 353,
respectively). Use decimal MMI codes in <ss.h>.
2010-03-29 15:38:22 -05:00
Denis Kenzior
022359ba72
Style: braces are not needed
2010-03-29 00:18:04 -05:00
Denis Kenzior
1fb6801672
Fix: Use tech reported by MBM erinfo
2010-03-29 00:09:10 -05:00
Denis Kenzior
5780fdb51f
Fix: Handle 2 and 3 argument versions of ERINFO
2010-03-28 23:58:37 -05:00
Denis Kenzior
21dd4f040a
Move erinfo notify to atmodem netreg driver
2010-03-28 23:49:57 -05:00
Denis Kenzior
8b33129bac
Add phonesim vendor quirk
2010-03-26 23:00:28 -05:00
Denis Kenzior
d994ed1111
Add mbm vendor
2010-03-26 23:00:28 -05:00
Denis Kenzior
14f296075e
Refactor: Use CIND as default strength reporting
...
Many vendors seem to use CIND instead of CSQ / proprietary extensions.
2010-03-26 23:00:28 -05:00
Denis Kenzior
36a8801115
Update atmodem gprs driver to the new API
2010-03-26 23:00:28 -05:00
Denis Kenzior
92beff2839
Update ISI radio settings driver to the new API
2010-03-25 10:43:17 -05:00
Zhenhua Zhang
00262e36db
Fix Don't check CLIR CUG option in hfp_dial
...
For HFP call, no need to check CLIR & CUG option. It doesn't affect dial
out string.
2010-03-09 10:33:13 -06:00
Denis Kenzior
766a0bcfa5
Fix: Unregistering the agent in disable is wrong
...
What we really want to do here is set a flag that the agent has not been
released yet. If this is the case we should send the Disconnect call on
disable.
2010-02-12 20:10:29 -06:00
Denis Kenzior
813470a025
Fix: memory leak
2010-02-10 16:41:31 -06:00
Aki Niemi
d12e1a8b9e
Add isimodem USSD implementation
2010-02-09 23:15:52 +02:00
Aki Niemi
7001e7b163
Add USSD codepoints and debugging
2010-02-09 22:50:38 +02:00
Denis Kenzior
6d28f82dc1
Add Wavecom's quirky CPIN handling
2010-02-08 16:13:43 -06:00
Denis Kenzior
c98b951fe6
Refactor: Remove atutil dump_response
...
No longer needed now that we have nice AT command tracing using
OFONO_AT_DEBUG=1
2010-02-08 12:28:23 -06:00
Denis Kenzior
7f9a9b0cdc
Fix: Don't use ofono_debug directly in plugins
2010-02-08 12:09:01 -06:00
Denis Kenzior
bfeef21a9d
Fix: Send *EIAAUW after CGDCONT for STE and MBM
...
Otherwise the EIAAUW might fail.
2010-02-05 12:20:45 -06:00
Denis Kenzior
8268c4fe62
Fix: Use snprintf instead of sprintf in hsomodem
2010-02-05 12:01:59 -06:00
Denis Kenzior
37088e19f0
Fix: Use snprintf instead of sprintf in mbmmodem
2010-02-05 12:01:45 -06:00