Yang Gu
8bc04ba93a
Refactor: Break out semi-octet decoder
...
Refactor decode_scts to use this function
2010-04-02 10:58:53 -05:00
Yang Gu
8bad7e540a
Add parser for timer identifier objects
2010-04-02 10:56:15 -05:00
Yang Gu
5f9f4fedee
Add parser for r-apdu objects
2010-04-02 10:55:55 -05:00
Yang Gu
afc2cb84e3
Add parser for c-apdu objects
2010-04-02 10:54:47 -05:00
Yang Gu
8e91f477f9
Add parser for card atr objects
2010-04-02 10:47:37 -05:00
Yang Gu
eef57d221c
Add parser for card reader status objects
2010-04-02 10:46:23 -05:00
Denis Kenzior
0aebcb342c
Fix: Regression in PIN validity checking
2010-04-02 09:17:34 -05:00
Marcel Holtmann
edba0296c5
Remove PPP CP event_queue handling and process events directly
2010-04-01 21:44:07 -07:00
Denis Kenzior
a182034336
Fix: Stop infinite attempts to register
...
Sometimes if the modem firmware is particularly nutty we will see
frequent cell-reselections at startup, resulting in us attempting to
register multiple times. Try to stop this behavior by keeping track of
what state we're in and hoping the hardware is at least somewhat sane.
2010-04-01 22:32:58 -05:00
Denis Kenzior
aadc1d884d
Add support for Option iCon 452
2010-04-01 22:32:58 -05:00
Marcel Holtmann
a845dc8da7
Remove obfuscation for some of the event handling
2010-04-01 20:40:39 -07:00
Marcel Holtmann
6607b5985e
Move functions from ppp.c into gatppp.c
2010-04-01 20:33:03 -07:00
Marcel Holtmann
7d6649680f
Remove PPP event_queue handling and process events directly
2010-04-01 20:26:24 -07:00
Marcel Holtmann
cdc1e3c31b
Check FCS while unstuffing the byte stream
2010-04-01 20:18:49 -07:00
Marcel Holtmann
dabac98cb4
Remove PPP recv_queue handling and process frames directly
2010-04-01 20:11:43 -07:00
Marcel Holtmann
cb791ceb78
Remove usage of AT+CGACT for now
2010-04-01 20:06:31 -07:00
Marcel Holtmann
847e7c7f14
Fix order of PPP frame recording and processing
2010-04-01 14:31:19 -07:00
Marcel Holtmann
544c02da49
Add support for recording PPP sessions in pppdump format
2010-04-01 13:47:25 -07:00
Marcel Holtmann
ef82241deb
Implement g_at_ppp_set_debug support
2010-04-01 13:11:11 -07:00
Marcel Holtmann
dc55d14e9c
Add some debugging information to PPP authentication handling
2010-04-01 09:56:18 -07:00
Marcel Holtmann
4f99859d37
Remove useless pppcp_protocol_data structure
2010-04-01 09:13:44 -07:00
Marcel Holtmann
5f0d8493e7
Remove forward declarations in PPP network handling
2010-04-01 00:17:10 -07:00
Marcel Holtmann
eb9e7872a9
Add debugging for PPP LCP and IPCP options
2010-04-01 00:07:40 -07:00
Marcel Holtmann
f081de4ea6
Use ppp%d as PPP interface name instead of tun%d
2010-03-31 22:29:43 -07:00
Denis Kenzior
389eb70dc8
Initial implementation of the PPP gprs context
2010-03-31 18:49:39 -05:00
Denis Kenzior
988b24adb0
Fix: Introduce PPP data state
...
Some modems send PPP data introspersed along with the CONNECT final
response. Fixup the parser so we can still detect the final response.
2010-03-31 18:48:52 -05:00
Denis Kenzior
ee8084c0d0
Fix: Update gsm dial to the new GAtPPP API
2010-03-31 18:48:30 -05:00
Denis Kenzior
cc1bb46ffa
Refactor: Use GAtDisconnectFunc for ppp disconnect
...
The ppp argument to the current disconnect callback is useless as the
ppp structure is most likely stored in user data anyway.
2010-03-31 18:47:30 -05:00
Denis Kenzior
d6093b819f
Refactor: GAtPPP connect callback
...
The connect callback was not giving enough information and the
information it was providing was not in a convenient form.
- Provide the ppp interface name (e.g. tun0)
- Provide ip, dns1 & dns2 as strings
- Do not send the ppp structure in the callback, it is most likely
present in the user data anyway
2010-03-31 18:45:17 -05:00
Denis Kenzior
4d44103cce
Update mbm to use two ports
...
The second port might be used for a second active context via ppp
2010-03-31 18:36:21 -05:00
Denis Kenzior
149650db8d
Fix: MD300 uses two ACM ports, so set one to data
2010-03-31 18:34:32 -05:00
Denis Kenzior
0a98e1aef3
Style: Whitespace damage due to spaces, not tabs
...
Also use proper indentation style
2010-03-31 14:11:41 -05:00
Andrzej Zaborowski
b6d4dd78c4
Refactor: Return a string from USSD Respond method
...
Return network's USSD reponses from the Respond method instead of
signaling over D-Bus. This should make the UI writer's job a little
easier.
2010-03-31 13:49:31 -05:00
Andrzej Zaborowski
27d0bc6ccf
Fix ampersand commands check
...
Also remove a trailing tab.
2010-03-31 13:16:13 -05:00
Andrzej Zaborowski
374181097e
doc: Explain VoicemailMessageCount value zero.
2010-03-31 13:06:20 -05:00
Andrzej Zaborowski
42ef218668
Use stkutil named constants in sim.c
2010-03-31 13:06:14 -05:00
Andrzej Zaborowski
bf1ffc5b80
Update property name in test-ussd
2010-03-31 13:06:09 -05:00
Denis Kenzior
a3eeb88511
Style: remove unneeded blank line
2010-03-31 13:04:57 -05:00
Marcel Holtmann
f87537644b
Fix whitespace damage in PPP implementation
2010-03-31 10:30:54 -07:00
Denis Kenzior
33e11e910c
Fix: Be more consistent with other boundary checks
2010-03-31 12:22:57 -05:00
Denis Kenzior
8768afb6df
Style: indentation fixes
2010-03-31 12:20:02 -05:00
Yang Gu
744c86a78b
Fix: Increate iterator when parsing fails
...
If the comprehension TLV tag matches the expected handler, and the
handler fails to parse the tag, then increase the iterator.
2010-03-31 12:16:39 -05:00
Yang Gu
3436bcac05
Rename stk_icon_identifier to stk_icon_id
2010-03-31 12:15:31 -05:00
Yang Gu
be20435b58
Add parser for item icon identifier list objects
2010-03-31 12:15:08 -05:00
Yang Gu
0300462b42
Add enum for icon qualifier
2010-03-31 12:14:33 -05:00
Yang Gu
ee4a3d2b12
Add parser for call control requested action objects
2010-03-31 12:14:24 -05:00
Yang Gu
f15a5c73b4
Add parser for transaction identifier objects
2010-03-31 12:13:46 -05:00
Yang Gu
8b57078825
Add parser for location status objects
2010-03-31 12:13:17 -05:00
Yang Gu
51889d7f03
Add parser for cause objects
2010-03-31 12:12:57 -05:00
Yang Gu
fc85e158e9
Add parser for event list objects
2010-03-31 12:12:10 -05:00