Denis Kenzior
94eeab3688
Fix: We need to preserve the original line
2010-03-30 17:12:43 -05:00
Denis Kenzior
437c2d8ccf
Fix: Use VERSION define to generate CGMR response
2010-03-30 16:40:44 -05:00
Denis Kenzior
40ca3cb3f5
Fix: Record last received command
2010-03-30 15:25:50 -05:00
Denis Kenzior
a2c4c8e7b6
Fix: Send an ERROR on A/
2010-03-30 15:18:34 -05:00
Denis Kenzior
a77037c099
Add test implementation for CFUN
2010-03-30 15:14:42 -05:00
Denis Kenzior
6b33c5c4e6
Fix: Make sure g_print is followed by a newline
2010-03-30 14:38:06 -05:00
Denis Kenzior
45e6f5cb39
Add initial implementation of cgmr/cgmi/cgmm/cgsn
2010-03-30 14:37:42 -05:00
Denis Kenzior
11a8ccad0a
Fix: SO_REUSEADDR should be set before bind
2010-03-30 14:37:20 -05:00
Denis Kenzior
0448392a91
Refactor: Simplify extended command parsing logic
2010-03-30 14:36:02 -05:00
Denis Kenzior
882b62b640
Refactor: Add a single-line response function
2010-03-30 14:35:29 -05:00
Zhenhua Zhang
cdc13c40b6
Add API stubs for unsolicited / final responses
2010-03-30 12:37:29 -05:00
Denis Kenzior
58e3d14651
Add stubs for test server commands
2010-03-30 12:23:11 -05:00
Denis Kenzior
d171a91ab3
Refactor: tty creation
2010-03-30 12:15:11 -05:00
Denis Kenzior
f60e6ce134
Refactor: Text / Default text parsing
2010-03-30 10:21:57 -05:00
Denis Kenzior
402c27f914
Refactor: Break out the STK text decoding utility
...
This can be used for other data objects than text and default text
2010-03-30 10:21:56 -05:00
Denis Kenzior
f8140bf66b
Refactor: generic boolean parsers
2010-03-30 10:21:54 -05:00
Denis Kenzior
8646e13bf3
Refactor: Don't repeat tag checking ad naseum
...
The tag checking can be done safely once inside the main parsing
function, no need to repeat it in the individual object parsers.
2010-03-30 10:21:54 -05:00
Denis Kenzior
5b9888ce3b
Style: More consistent indentation
2010-03-30 10:21:53 -05:00
Marcel Holtmann
cb26fc4a03
Fix use of g_checksum_get_digest() inout argument
2010-03-29 18:13:01 -07:00
Denis Kenzior
1889070314
Fix: measurement results are binary data
2010-03-29 16:40:14 -05:00
Yang Gu
8045516d58
Add parser for network measurement results objects
2010-03-29 16:39:43 -05:00
Denis Kenzior
40a2d9034d
Add call-forwarding to mbm driver
2010-03-29 15:38:22 -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
Marcel Holtmann
9ee614b64b
Check for capabilities support via libcap-ng
2010-03-29 11:06:04 -07: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
Marcel Holtmann
6af6567004
Enable PPP session suport for AT+CGDATA command
2010-03-28 09:15:02 -07:00
Kristen Carlson Accardi
ee294d35b8
ppp: send PPP_FAIL when authentication fails
2010-03-26 23:00:28 -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
7972f844c7
Refactor: Simplify the internal GPRS API
...
We no longer expose lac/ci/tech attributes obtained from CGREG
(some modems, like ISI, do not even report them for GPRS separately).
Simplify the internal gprs driver api to only report the registration
status (e.g. home, roaming, searching, not registered, etc)
2010-03-26 23:00:28 -05:00
Denis Kenzior
88994bbe81
Refactor: Get rid of DCM properties
...
Be conformant with the API changes from the previous commit
2010-03-26 23:00:28 -05:00
Denis Kenzior
616b00aab5
Change the DataConnectionManager API
...
The various attributes obtained from CGREG are actually completely
useless and are not used internally for anything except computing the
Attached status. It makes sense to get rid of these properties since
they will be the same as reported by CREG in Dual-Transfer-Mode devices.
The only difference might be how hardware reports the technology used,
but frequently a vendor specific command is required anyway
2010-03-26 23:00:28 -05:00
Marcel Holtmann
834f3af1dc
Fix some comments in dialer example
2010-03-26 19:41:06 -07:00
Marcel Holtmann
fb043af678
Allow empty secrets for CHAP authentication
2010-03-26 19:35:54 -07:00
Marcel Holtmann
95bceddba4
Add support for NBNS server options
2010-03-26 19:25:56 -07:00
Kristen Carlson Accardi
c31bee9fff
ppp: handle Config-Reject
...
if our peer sends us a Config-Reject packet, we must delete that
config item and not request that it be negotiated when we send our
next Config-Request.
2010-03-26 19:19:46 -07:00
Kristen Carlson Accardi
8777e778f3
ppp: use common code to get options from pppcp packet data
2010-03-26 19:19:46 -07:00
Kristen Carlson Accardi
5260379d98
ppp: send Protocol-Reject
...
change ppp_decode to store the length of the decoded frame, so that
if we have a packet with a protocol we don't understand, we can send
Protocol-Reject packets. Modify ppp_cp code to add support for sending
Protocol-Reject packet.
2010-03-26 19:19:46 -07:00
Kristen Carlson Accardi
3772a6401c
ppp: comment fix
...
Put some additional clarification in comment for receiving Code-Reject
and Protocol-Reject packets.
2010-03-26 19:19:46 -07:00
Kristen Carlson Accardi
909ab154a4
ppp: fix segfault in pppcp_send_code_reject()
...
fix memory corruption caused by misplaced paren when memcpying
rejected packet data into Code-Reject packet.
2010-03-26 19:19:46 -07:00
Denis Kenzior
9bb65275eb
Fix: The MCC / MNC Properties are actually strings
2010-03-25 16:01:47 -05:00
Kristen Carlson Accardi
af63a2b8ee
ppp: change debug output to include control protocol prefix
2010-03-25 12:38:57 -07:00
Denis Kenzior
59a2bcd380
Fix: No need to malloc memory for this
2010-03-25 11:39:45 -05:00
Yang Gu
b42248b480
Add parser for help request objects
2010-03-25 11:37:09 -05:00
Yang Gu
765861b82b
Refactor: Use common bool to implement imm resp
2010-03-25 11:36:49 -05:00