Commit Graph

37 Commits

Author SHA1 Message Date
Dan Williams
96166e4b75 wmc: namespace stuff properly 2012-05-30 11:48:42 -05:00
Dan Williams
e5f787d364 wmc: add command for setting global mode 2012-05-29 13:49:26 -05:00
M. I. Spozta
ac92ac7498 wmc: increase estimate decapsulation buffer size
(dcbw)
Some packets are much larger and require a lot more escaping than
we thought so we need larger buffers here to be able to handle
all packets.  In this case, SMS receipt.
2012-03-22 11:34:39 -05:00
Dan Williams
4fd6264848 build: more libwmc and libqcdm standalone fixes
Make it pass distcheck.
2012-01-27 15:14:30 -06:00
Dan Williams
79cb265379 wmc: allow building libwmc standalone 2012-01-24 11:28:46 -06:00
Dan Williams
dd1ed06c14 wmc: harmonize buffer dumper with decode.py
Makes it easier to compare the output.
2012-01-23 18:54:28 -06:00
Dan Williams
c386efee9c wmc: decode more of DEVICE_INFO
CDMA MIN, home SID, PRL & ERI version
2012-01-23 18:54:28 -06:00
Dan Williams
ccfdda523a wmc: add FIELD_TEST command
UML290 and UML190 both respond to the command but return all
zeros, while the PC5740 returns valid data.
2012-01-23 18:54:28 -06:00
Dan Williams
f1410bb8d7 wmc: fix compile error 2012-01-23 15:50:24 -06:00
Dan Williams
72e3f0457b wmc: add LTE only global mode define 2012-01-23 11:11:03 -06:00
Dan Williams
f90fe19068 wmc: fix init command
Actually read what struct tm contains and use it correctly,
and fix the init command struct size.
2012-01-23 10:48:28 -06:00
Dan Williams
66b7ef018e wmc: fix segfault in testcase 2012-01-23 10:48:28 -06:00
Aleksander Morgado
a86a5c39ac wmc: fix compilation error in tests
g_print() expects format + arguments; or compilation will fail when
-Werror=format-security being used.
2012-01-23 15:29:36 +01:00
Dan Williams
4d4d6072a1 wmc: fix up for recent INIT and DEVICE_INFO changes
Send current time to modem during init, and don't try to
grab MCC/MNC where its not supported.
2012-01-21 15:43:15 -06:00
Dan Williams
fac80b7002 wmc: update INIT and NETWORK_INFO commands with timestamp 2012-01-21 15:09:40 -06:00
Dan Williams
a9d6b5a8b6 wmc: more protocol updates 2012-01-21 12:50:12 -06:00
Dan Williams
110897c65d wmc: add some more global mode defines 2012-01-20 16:56:20 -06:00
Dan Williams
a75157859c wmc: prettier printing of serial stream and WMC packets 2012-01-20 14:54:16 -06:00
Dan Williams
85a7575717 wmc: global mode command is 3 bytes not 2 2012-01-20 14:54:02 -06:00
Dan Williams
1ae2381e5a wmc: add some more commands and fix up network info
Add operator commands, and fix up the network info response
handling for GSM/WCDMA capable devices like the UML190 when
it's in GSM/WCDMA mode.
2012-01-19 19:09:52 -06:00
Dan Williams
47fd967d61 wmc: make warn macros more useful 2012-01-19 18:51:55 -06:00
Dan Williams
d519f3e364 wmc: fix stringification of wmc_xxx_if_fail() macros
Actually reading about preprocessor concatenation and stringification helps.
2012-01-19 18:48:26 -06:00
Dan Williams
337f4b2372 wmc: add Access Technology/Service definitions and Global Mode stuff
Comparing dumps from UML190 in different modes, UML290, and PC5740
revealed what the 'service' bit was, which matches up nicely with
the SERVICE_* strings in the Windows connection manager DLLs if
you interpret them in reverse numerical order.

For the global mode stuff, looking at USB wire captures shows that
C8 03 and C8 04 get used right before the NETWORK_INFO (C8 0B)
shows access technology changes, which means they are probably the
commands that switch global mode around.
2012-01-19 12:50:40 -06:00
Dan Williams
285cd37f11 wmc: STATUS is appears to be NETWORK_INFO
So rename it in various places.
2012-01-19 10:08:09 -06:00
Dan Williams
1e1c8a5ae4 wmc: remove usage of glib
People have asked for leaner builds and	glib isn't strictly
required for the core library.
2012-01-03 00:12:36 -06:00
Dan Williams
262f0f5e81 wmc: fix build after fixup of WMC field names 2011-11-14 17:38:02 -06:00
Dan Williams
ef74d84b32 wmc: demystify some fields in the IP info reply 2011-11-14 12:33:59 -06:00
Dan Williams
61375a5fd6 wmc: demystify some more fields of the device info response 2011-11-14 12:24:56 -06:00
Dan Williams
1aa6d01d53 wmc: protocol and testcase update 2011-11-11 23:39:20 -06:00
Dan Williams
ae3f1cd578 libwmc: add testcases that talk to the device 2011-11-11 12:21:41 -06:00
Aleksander Morgado
0984dd9df8 build: ensure all needed files are included in dist
Added all needed headers to libwmc_la_SOURCES, so that they get into the dist
tarball.
2011-10-17 09:41:50 +02:00
Dan Williams
c61423f2cf wmc: add initial command parsing and response handling 2011-10-04 11:16:39 -05:00
Dan Williams
368b808869 libwmc: simpler logging and error handling 2011-09-27 15:33:53 -05:00
Dan Williams
18fc92ef73 libwmc: add more test code and start of com tests 2011-09-27 13:13:40 -05:00
Dan Williams
8250dee131 libwmc: add more tests including for UML290 quirks 2011-09-19 13:42:00 -05:00
Dan Williams
46a5c77616 libwmc: rename some test functions 2011-09-19 11:24:43 -05:00
Dan Williams
3dd4cdaf2b libwmc: beginning of bits for WMC-based devices like UML290 2011-09-17 13:27:54 -05:00