aboutsummaryrefslogtreecommitdiff
path: root/src/tests/test-modem-helpers.c
AgeCommit message (Collapse)Author
2012-10-25tests: add PDP context reply parser test for Samsung/Icera repliesAleksander Morgado
2012-09-14test: new tester for +CDS unsolicited messagesAleksander Morgado
2012-08-29modem-helpers: new method to validate and/or parse MCC/MNC operator ID stringAleksander Morgado
2012-08-22api,dbus: 'ip-type' property now given as a MMBearerIpFamily (u)Aleksander Morgado
Instead of using a predefined set of string values for 'ip-type' in Modem.CreateBearer() and Simple.Connect(), we'll use an enumeration. The implementation will then need to convert the requested IP family type to e.g. the correct PDP type in 3GPP modems. This change also consolidates the use of enums in dictionary properties when possible to do so, as with the Rm Protocol.
2012-03-16modem-helpers: refactor and reorganize sourcesAleksander Morgado
2012-03-16modem-helpers: new +CNUM response parser and testsAleksander Morgado
2012-03-16tests,modem-helpers: cleanup testsAleksander Morgado
Properly order the tests in blocks, and ensure that the common data for registration tests is not passed to other non-registration related tests.
2012-03-16test,modem-helpers: remove conditional compilationAleksander Morgado
We require already GLib 2.30
2012-03-16tests: fix CGDCONT reply test, NULL expected instead of empty stringAleksander Morgado
2012-03-16build: fix header dependenciesAleksander Morgado
We shouldn't depend on any header file from the previous implementation.
2012-03-15modem-helpers: allow leading zeroes in CREG/CGREG responsesAleksander Morgado
2012-03-15test: new tester for CPMS=? resultsAleksander Morgado
2012-03-15api,enums: renamed `MMModemAccessTech' to `MMModemAccessTechnology'Aleksander Morgado
This one was the last enum without full name.
2012-03-15modem-helpers: renamed 3GPP registration related helpers with `mm_3gpp' prefixAleksander Morgado
2012-03-15helpers: implement CGDCONT reply parsingAleksander Morgado
New method to parse the PDP query reply, and build a list of structs with the found info.
2012-03-15modem-helpers: provide list of scanned networks in a list of structsAleksander Morgado
We provide the result of the +COPS=? parsing in a GList of MM3gppNetworkInfo structures. We avoid the previous hash table, or using a dictionary, as a list of structs with a predefined set of elements, which should be easier for plugins wanting to make their own version
2012-03-15test-modem-helpers: fix C(G)REG parsing testsAleksander Morgado
2012-03-15modem-helpers: use MMModemAccessTech when parsing C(G)REG responsesAleksander Morgado
2012-02-17gsm: allow leading zeroes in numbers in CREG/CGREG responsesAleksander Morgado
2011-10-27gsm: fix parsing of unsolicited CREG/CGREG response with RACDan Williams
2011-10-27gsm: add regex for unsolicited CREG/CGREG response with RACDan Williams
2011-03-11gsm: fix for parsing malformed Gobi CREG responseDan Williams
From an HP un2400; GMR: D1020-SUUAASFA-4352 1 [Apr 14 2008 18:00:00] GMM: 88
2011-01-23core: rework loggingDan Williams
Make it more flexible, add logging to a file, and absolute and relative timestamps.
2011-01-11gsm: correctly parse Samsung S8500 Wave CREG responseMichał Sroczyński
(testcases by dcbw)
2010-12-21test: fix CIND test index checkingDan Williams
CIND indexes returned from helper are 1-based, not 0-based, because that makes it easier to match against the modem's unsolicited CIND message.
2010-11-30gsm: prefer AT+CIND signal quality for modems that support it (lp:682282) ↵Dan Williams
(bgo #636040) Some devices always reply with 99 for AT+CSQ when in UMTS mode (Linktop LW273) so if the modem supports it, use CIND/CIEV instead.
2010-11-28core: add index to CIND helperDan Williams
2010-11-28core: add +CIND parsing helpersDan Williams
2010-11-03trivial: avoid build warning by using g_message() correctlyDan Williams
2010-10-22trivial: fix formattingDan Williams
2010-10-22core: use hardware IDs as part of DeviceIdentifierDan Williams
Pass the device's hardware IDs through modem creation and use them when calculating the device's identifier. Add a bunch of testcases for real hardware to ensure we don't break the device ID in the future unless we really want to.
2010-09-27test: add CGREG repsonse test for X220DDan Williams
To test spaces between some members of the response.
2010-08-09build: fix build with glib >= 2.25.12 (bgo #626421)Vincent Untz
Work around an API break in glib.
2010-05-25test: add a few more CREG/CGREG responsesDan Williams
2010-04-09gsm: fix CSCS=? parsing and add testcasesDan Williams
Some devices (at least one Blackberry we know about) don't include the () around the response. Handle that and add testcases for it.
2010-03-09gsm: fix CREG/CGREG parsing with multiple responsesDan Williams
When a modem sends both CREG and CGREG in the same response packet, the parser was failing to correctly distinguish which response was being parsed, since the string passed to g_regex_match() is the whole response including both CREG + CGREG.
2010-03-05gsm: indicate CREG vs. CGREGDan Williams
2010-03-05gsm: common CREG/CGREG parsing function and testcasesDan Williams
2010-02-08test: add SE K600i COPS response testcaseDan Williams
2010-01-05test: add Gobi COPS response testcaseDan Williams
2010-01-05test: add Nokia 2720 COPS response testcaseDan Williams
2010-01-05test: add Novatel XU870 and Option GT Ultra Express COPS response testcasesDan Williams
2010-01-05test: add +COPS response testcases for E1550, MF622, and E226Dan Williams
2010-01-05gsm: add testcase for invalid +COPS responseDan Williams
2010-01-05gsm: correctly parse Nokia N80 +COPS responseDan Williams
2010-01-05gsm: split out +COPS response parsing and add testcasesDan Williams