Commit Graph
19 Commits
Author SHA1 Message Date
Nathan Williams c717dbd928 sms: add unit tests
Second in a series. Builds on the previous by actually unit-testing
the sms_parse_pdu() function. Note that the dcf1 test does not pass
as the code is currently written.
2011-07-25 01:18:22 -05:00
Guido Günther 26e7b3f8ce trivial: update .gitignore 2011-07-21 15:16:44 -05:00
Aleksander Morgado d73673c265 build: add include dir to .gitignore 2011-05-10 11:50:40 +02:00
Dan Williams e16a58e54b core: add basic QCDM serial port unit tests
Test that a Version Info request/response works as expected, and
add a testcase for a bug where specific Sierra CnS responses to
the Version Info request do not properly return an error when
attempting to parse the response as a QCDM packet.  Fix for the
second thing forthcoming.
2010-10-14 00:10:46 -05:00
Dan Williams 9e94dd5b61 gsm: add GSM 03.38 encoding/decoding functions and testcases 2010-09-02 19:29:05 -05:00
Dan Williams c11c0431ff trivial: gitignore updates 2010-03-12 15:34:27 -08:00
Dan Williams f6c514897e Merge remote branch 'origin/master' into qcdm 2010-03-01 09:07:05 -08:00
Dan Williams 588bb65ea6 trivial: add policy file to gitignore 2010-02-27 12:49:07 -08:00
Dan Williams bffb332481 core: install correct dbus permissions for with-polkit/without-polkit 2010-02-27 06:25:45 -08:00
Dan Williams 9d8e892ffe Merge remote branch 'origin/master' into qcdm 2010-02-20 12:49:22 -08:00
Dan Williams 9c958c99bc build: add intltool support for PolicyKit policy translations 2010-02-16 11:03:16 -08:00
Dan Williams 704d6e90b6 qcdm: add DM protocol utilities and testcases
Bits for CRC calculation and frame escaping/unescaping.
2010-02-08 09:13:17 -08:00
Dan Williams 649b7e25a0 build: update .gitignore 2010-01-27 15:50:53 -08:00
Michael Biebl aab913049b build: update .gitignore file for m4 macros 2010-01-27 15:49:28 -08:00
Dan Williams 924814c101 udev: move device probing and detection to udev
Get rid of dependency on HAL, using libgudev instead.  Fix up the plugin API
to no longer use either HAL or udev defines, but let plugins use whatever
mechanism they want for getting more information out of the device given the
subsystem and device node name.

Modems are now defined as "master" devices which "own" a one or more ports.
A port could be a serial tty device or a network device or whatever.  The
plugin figures out whether it supports a given port or not and then assigns
it to a new or existing modem.  Modems now have a 'valid' property that
should be set to TRUE when the modem has enough ports to operate correctly.
For devices (ex. 'hso') that use a network device for data transfer, the
modem would need to grab at least one TTY and the network device associated
with that physical device to be 'valid'.

Also move the generic modem support code to a plugin like other modem plugins,
and change the I-support-this-device mechanism to return a number indicating
the level of support.  For example, the generic plugin would return a quite
low number if the device indicates via probing that it can do GSM or CDMA, but
a more specific plugin can indicate better support for the device, and thus
the more specific plugin would win control.
2009-06-18 14:25:30 -04:00
Tambet Ingo da3bbdc893 Add marshallers so that RegistrationInfo signal can be enabled. 2008-09-16 13:10:44 +03:00
Tambet Ingo be059f7a73 Document the public DBus API. 2008-07-31 17:14:50 +03:00
Tambet Ingo f0a2dc606c Add an example testing program. 2008-07-31 14:03:37 +03:00
Tambet Ingo c7e8eacb1c Add .gitignore. 2008-07-31 09:49:25 +03:00