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
Denis Kenzior
50264a311d
Style: Proper indentation
2010-04-15 16:49:42 -05:00
Denis Kenzior
9a9a05095d
Refactor: Keep separate lists for pre/post atoms
2010-04-15 16:49:42 -05:00
Denis Kenzior
0ac64d66e8
Refactor: use a switch/case to make more readable
2010-04-15 16:49:42 -05:00
Andrzej Zaborowski
f27946b4b0
Remove post-sim atoms after SIM is extracted.
2010-04-15 16:49:42 -05:00
Denis Kenzior
1786c17c3f
Refactor: Store the sim object inside voicecalls
...
Makes the logic a bit easier to follow. Also use a switch/case inside
the sim state watcher.
2010-04-15 16:49:42 -05:00
Denis Kenzior
fa37f158d1
Style: Proper indentation
2010-04-15 16:49:42 -05:00
Denis Kenzior
ab4cae5479
Fix: The null check should be done elsewhere
2010-04-15 16:49:41 -05:00
Denis Kenzior
9271842748
Fix: Make the name a bit clearer
2010-04-15 16:49:41 -05:00
Denis Kenzior
632dc4c7e9
Fix: No glib types in oFono public API
2010-04-15 16:49:41 -05:00
Andrzej Zaborowski
1ca8671d11
Handle EFen list when SIM inserted / removed
2010-04-15 16:49:41 -05:00
Denis Kenzior
54552f1c33
Fix: Style issues in stk driver API
2010-04-15 16:49:41 -05:00
Denis Kenzior
ee74f53160
Fix: Look for the STK atom, not SIM atom
2010-04-15 16:49:41 -05:00
Denis Kenzior
8f00272563
Fix: Process CBS sim downloads if STK atom exists
2010-04-15 16:49:41 -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
228e1e735c
Fix: Minor style issues
2010-04-15 16:49:40 -05:00
Denis Kenzior
c63b2c9d44
Fix: Uncomplicate the logic for SIM initialization
...
If we get a sim inserted notify before we are registered, we need to
initialize the SIM once ofono_sim_register is called. The logic for
doing so is rather twisted, simplify it.
2010-04-15 16:49:40 -05:00
Andrzej Zaborowski
6dc4799d1b
Add SIM "Present" property.
2010-04-15 16:49:40 -05:00
Andrzej Zaborowski
ddfe8acf11
Drivers can notify core of SIM insertion / removal
...
Add ofono_sim_inserted_notify function to notify the core of SIM
insertion / removal.
Make every plugin generate a sim inserted event on start. For devices
with removable card, the event should be emitted after the
plugin detects such event. For devices that need to wait for SIM card
initialization, they can emit this event later.
2010-04-15 16:49:40 -05:00
Andrzej Zaborowski
22cbe98146
Extend sim-ready watch with card insert/eject
2010-04-15 16:49:40 -05:00
Marcel Holtmann
123b87de2c
No to check for NULL pointers with g_free
2010-04-15 04:42:03 -07:00
Kristen Carlson Accardi
60643ee287
ppp: nak unknown auth protocol
...
If we are sent a Config-Request for an auth proto other than
CHAP with MD5, send a NAK.
2010-04-14 17:16:03 -05:00
Denis Kenzior
962d2fff50
Fix: Use a union for other address objects
2010-04-14 13:10:45 -05:00
Yang Gu
f86c13ce8b
Add parser for other address objects
2010-04-14 12:57:28 -05:00
Yang Gu
db1e61cf3c
Add parser for card reader identifier objects
2010-04-14 12:52:09 -05:00
Yang Gu
c48a6f0c21
Add parser for channel status objects
2010-04-14 12:50:58 -05:00
Yang Gu
491832b907
Add parser for buffer size objects
2010-04-14 12:49:13 -05:00
Yang Gu
c25fba0f07
Add parser for channel data length objects
2010-04-14 12:41:33 -05:00
Yang Gu
4cf275ba8d
Add parser for channel data objects
2010-04-14 12:41:19 -05:00
Yang Gu
3bc3d985ab
Add parser for bearer description objects
2010-04-14 12:40:32 -05:00
Yang Gu
9b3d97d705
Add parser for browser termination cause objects
2010-04-14 12:38:58 -05:00
Yang Gu
03b6249f1e
Add parser for provisioning file reference objects
2010-04-14 12:36:52 -05:00
Yang Gu
b08d90c816
Refactor: Break out stk_file iterator
...
For use by other data object parsers besides file lists
2010-04-14 12:34:02 -05:00
Yang Gu
6780c0282a
Add parser for bearer objects
2010-04-14 12:25:08 -05:00
Denis Kenzior
d63e33d5e5
Fix: Handle NULL URLs
2010-04-14 12:23:42 -05:00
Yang Gu
97bd01ba1b
Add parser for url objects
2010-04-14 12:22:22 -05:00
Yang Gu
7fce623ea9
Fix the logic when parsing c-apdu objects
2010-04-14 12:16:08 -05:00
Denis Kenzior
15d93ad0b9
Fix: GAtMux channels should return EAGAIN
...
GAtChat uses non-blocking semantics, so the GAtMux channels should
return the EAGAIN status to make GAtChat work properly.
2010-04-14 10:39:47 -05:00
Daniel Wagner
7bbbb6949c
Add support for Option iCON 451
2010-04-14 03:36:24 -07:00
Denis Kenzior
c8aa645973
ppp: Refing the channel is actually not necessary
...
The read_watch and write_watches both take a ref
2010-04-13 15:57:07 -05:00
Denis Kenzior
8e15816ac1
Fix: Don't try to set channel flags if they're 0
2010-04-13 15:37:05 -05:00
Denis Kenzior
c74e2ab189
ppp: TUN channel should not be opened NONBLOCKING
...
We don't handle it as a nonblocking channel and getting it right would
be a nightmare.
2010-04-13 15:35:55 -05:00
Denis Kenzior
7085818f23
ppp: Cleanup function definitions in ppp.h
2010-04-13 15:32:35 -05:00
Kristen Carlson Accardi
b74a9342d2
ppp: remove pfc and acfc
...
We will not support pfc or acfc
2010-04-13 15:32:35 -05:00
Kristen Carlson Accardi
9c3631f24e
ppp: remove references to magic number
...
We will not support loopback detection.
2010-04-13 15:32:35 -05:00
Denis Kenzior
0aaf98a354
ppp: Get rid of net_open and net_close
...
There really isn't a need for these now
2010-04-13 15:14:40 -05:00
Denis Kenzior
1d939052fc
ppp: Introduce ppp_net_down_notify
2010-04-13 14:59:13 -05:00