Aleksander Morgado
7cbc8f3b80
gsm: allow no whitespaces before CPIN? reply value
2012-02-17 13:25:02 +01:00
Aleksander Morgado
b714441272
iridium: disable power up command and modify flow control setup
2012-02-17 13:25:02 +01:00
Aleksander Morgado
670f560b3d
iridium: add initial dummy plugin
2012-02-17 13:25:02 +01:00
Aleksander Morgado
20693529ef
core: fix loop limits in echo removal
...
-1 was actually correct, if data->len is 10, i goes from 0 to 8.
2012-02-16 18:20:31 +01:00
Aleksander Morgado
21162a366a
at-serial-port: implement built-in echo/garbage removal
...
We expect the responses to start always with <CR><LF>. We just remove anything
that comes before that.
2012-02-16 10:27:22 +01:00
Aleksander Morgado
1db0004033
charsets: don't crash when passing a NULL string to the UTF-8 converter
2012-02-08 12:06:59 -06:00
Dan Williams
7b4d6cf605
test: fix SMS testcase errors due to uninitialized GError
2012-02-07 14:12:15 -06:00
Dan Williams
2104cd725a
gsm: ensure text mode SMS list doesn't pick up too much text
...
This likely has no effect, but just make sure the regex stops
grabbing message content when it hits the CF/LF that terminates
the message content in text mode.
2012-02-07 13:59:32 -06:00
Dan Williams
c7f54a635a
gsm: fix text mode SMS list regex for single messages
...
We don't get a \r\n at the end for single messages.
2012-02-07 13:48:47 -06:00
Aleksander Morgado
ff31122eba
build: do not warn about using deprecated methods
...
GValueArray is deprecated since GLib 2.31.14, but we need to use it for
dbus-glib based code.
We should re-enable deprecation warnings once we switch to GDBus.
2012-02-07 19:45:30 +01:00
Aleksander Morgado
4af8483ae4
gsm: use new common charset converter when parsing operator name/code
2012-02-07 19:24:50 +01:00
Aleksander Morgado
03678df6fd
gsm: convert SMS text and number from current charset to UTF-8
2012-02-07 19:24:36 +01:00
Aleksander Morgado
00ce1d6874
charsets: new method to do our best to convert from current charset to UTF-8
...
This method will try to convert the input string to UTF-8. The input string is
supposed to be in the given charset; or otherwise is supposed to be the hex
representation of the string in the given charset.
2012-02-07 19:24:36 +01:00
Aleksander Morgado
9f6f80a63a
charsets: don't warn if we couldn't convert from hex to utf8
2012-02-07 17:52:53 +01:00
Aleksander Morgado
0c6e5e713e
core: plug leaks when passing GValueArrays to dbus_g_method_return()
...
The ownership of the GValueArray is not transferred.
2012-02-07 11:42:06 +01:00
Dan Williams
4706ea488e
sms: handle text mode SMS listing
...
Undoubtedly we'll need to adjust the regex but this works for now.
2012-02-02 21:12:44 -06:00
Dan Williams
76c9b29415
test: (sms-get.py) don't fail if we don't get an SMSC
2012-02-02 21:12:17 -06:00
Dan Williams
681a24c8d8
novatel: override message storage and notification
...
It seems that even though the firmware says it supports
specific CNMI notification values, it really doesn't. Also
set storage to the SIM until we support automatically
determining the right storage in MM. XU870 does not
support ME storage according to +CPMS=?.
2012-02-02 21:09:48 -06:00
Dan Williams
14a59c4384
gsm: fix listing SMS messages in text mode
...
Even though we don't parse them correctly yet, at least
send the right command for listing them.
2012-02-01 11:21:20 -06:00
Dan Williams
d84214184c
gsm: fix setting PDU mode for SMS messages
...
Stupid signed/unsigned mistake.
2012-02-01 10:45:47 -06:00
Dan Williams
70978d58a0
test: pretty-print SMS messages in sms-get.py
2012-02-01 10:45:28 -06:00
Dan Williams
20a1c412fd
core: fix warning about MMModemTime interface initialization
...
The MMModemTime interface was getting initialized more than once.
2012-02-01 01:43:28 -06:00
Dan Williams
4fd6264848
build: more libwmc and libqcdm standalone fixes
...
Make it pass distcheck.
2012-01-27 15:14:30 -06:00
Thomas Tuttle
5fc4e866c2
time: implement in icera
...
Signed-off-by: Thomas Tuttle <ttuttle@chromium.org >
2012-01-27 15:14:27 -06:00
Thomas Tuttle
0e246fb61d
time: poll for timezone
...
Signed-off-by: Thomas Tuttle <ttuttle@chromium.org >
2012-01-27 15:14:24 -06:00
Thomas Tuttle
8121b8e319
time: implement ModemTime in ModemBase
...
Signed-off-by: Thomas Tuttle <ttuttle@chromium.org >
2012-01-27 14:38:52 -06:00
Dan Williams
346060efe8
test: add SMS get example/test
2012-01-26 12:35:30 -06:00
Dan Williams
b9037d1150
test: add missing examples to Makefile.am
2012-01-26 09:08:18 -06:00
Dan Williams
13d2eee6f1
test: rename SMS send example
2012-01-26 09:07:48 -06:00
Thomas Tuttle
accb3f0a58
api: add Modem.Time introspection XML
...
Signed-off-by: Thomas Tuttle <ttuttle@chromium.org >
2012-01-25 15:58:02 -06:00
Thomas Tuttle
7f12201494
time: implement MMModemTime boilerplate
...
Signed-off-by: Thomas Tuttle <ttuttle@chromium.org >
2012-01-25 15:54:28 -06:00
Thomas Tuttle
835e14d8d5
api: add firmware interface XML file to introspection/Makefile.am
...
Signed-off-by: Thomas Tuttle <ttuttle@chromium.org >
2012-01-25 15:53:37 -06:00
Thomas Tuttle
a1682fe3e5
trivial: sort introspection/Makefile.am and all.xml
...
To make things neater, sort the files listed in instrospection's Makefile
alphabetically, and sort the files listed in all.xml alphabetically within
logical groups.
Signed-off-by: Thomas Tuttle <ttuttle@chromium.org >
2012-01-25 15:53:07 -06:00
Dan Williams
38498e3c5d
qcdm: fix some build errors when building standalone
2012-01-24 11:32:20 -06:00
Dan Williams
79cb265379
wmc: allow building libwmc standalone
2012-01-24 11:28:46 -06:00
Dan Williams
7d6d3fd47e
decode: update WMC for DEVICE_INFO changes
2012-01-23 18:54:28 -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
704489d660
decode: fix WMC decoder for PC5740 dumps
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
1e6da54b45
decode: add another USB function
2012-01-23 18:53:34 -06:00
Dan Williams
8915f7964a
core: fix copy & paste error
2012-01-23 15:52:47 -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
83b92ecebc
ussd: ensure coded string is valid before stripping quotes
2012-01-23 15:43:55 +01:00
Aleksander Morgado
62e94727fe
ussd: plug a leak
2012-01-23 15:31:58 +01: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