aboutsummaryrefslogtreecommitdiff
path: root/src/mm-modem-helpers.c
AgeCommit message (Collapse)Author
2012-09-14broadband-modem: process not-stored SMS part indicationsAleksander Morgado
2012-09-02modem-helpers: recognize "4G" as LTE access technologyMarius B. Kotsbak
Some modems (e.g. ZTE MF 820D) report LTE access technology as "4G": +ZPAS: "4G","PS_ONLY"
2012-08-31modem-helpers: new helper to convert from netmask string to CIDRAleksander Morgado
2012-08-29modem-helpers: new method to validate and/or parse MCC/MNC operator ID stringAleksander Morgado
2012-08-23modem-helpers: ERI parser is generic enough, not just for !SPERIAleksander 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-05-04modem-helpers: recognize 3GPP2 access tech strings tooDan Williams
Various Gobi-based devices (USB551L, probably Gobis too) can report EVDO and 1X as the current RAT from CNTI so parse that here too.
2012-04-13helpers: adjust parsing of +CNUM response to permit spaces in the ↵Nathan Williams
alphanumeric descriptor. This permits matching a response such as '"Line 1","+19999999999",145', which previously did not match. Change-Id: I666af8774507c6c3b3e214b820449542065dd8b4
2012-03-18libmm-common: new common uint/int/str parsersAleksander Morgado
2012-03-16modem-helpers: refactor and reorganize sourcesAleksander Morgado
2012-03-16modem-helpers: new +CNUM response parser and testsAleksander Morgado
2012-03-16modem-helpers: port facility lock related helpers to use `MMModemFacility' enumsAleksander Morgado
2012-03-16modem-helpers: temporarily disable facility-related helpersAleksander Morgado
2012-03-16modem-helpers: updated the string to access technology converterAleksander Morgado
We can now return a mask of flags specifying more than one access technology, and therefore the order is not really important any more, unless for special cases like looking for substrings of valid expected strings (e.g "HSPA" and "HSPA+"). Also, add "LTE" in the list of expected strings.
2012-03-15modem-helpers: allow leading zeroes in CREG/CGREG responsesAleksander Morgado
2012-03-15modem-helpers: new CPMS format result parserAleksander Morgado
2012-03-15modem-helpers: use new common charset converter when parsing operator name/codeAleksander Morgado
This is the port of commit 4af8483ae4e32ca3d815f14aaf5f012b0ed98eed into the 06-api branch.
2012-03-15modem-helpers: new common CMTI regex getterAleksander Morgado
2012-03-15modem-helpers: allow strings instead of indexes in CIEV unsolicited eventsAleksander Morgado
Some modems will report strings instead of indicator indexes, like: +CIEV: roam,1 So allow non-integer indicators.
2012-03-15modem-helpers: update the regex for the AT+CIND=? responseAleksander Morgado
Cinterion modems seem to include "signal",(0-7,99) We just get rid of the ',99' part.
2012-03-15modem-helpers: new CMGF format query result parserAleksander Morgado
2012-03-15modem-helpers: new method to get common CUSD regexAleksander Morgado
2012-03-15core: use new enums/flags string getters/buildersAleksander Morgado
2012-03-15bearer-cdma: implement bearer connection and disconnectionAleksander Morgado
2012-03-15bearer-cdma: when specific RM protocol given to be used, ensure it is supportedAleksander Morgado
If the requested RM protocol is not supported, the CDMA Bearer creation will fail.
2012-03-15core: use g_list_free_full() when possibleAleksander Morgado
2012-03-15modem-helpers: new CDMA helper parsersAleksander Morgado
2012-03-15modem-helpers: new common regex for CIEV unsolicited messagesAleksander Morgado
2012-03-15modem-helpers: MMModemAccessTechnology is flags, not enumAleksander 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-15core,libmm-glib: include ony `libmm-common.h'Aleksander Morgado
Don't include one by one all the headers from libmm-common, just include the global `libmm-common.h' which includes all the others.
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: new helper to count number of bits set in a bitmaskAleksander Morgado
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-15broadband-modem: implement Operator Code and Name loadingAleksander Morgado
2012-03-15modem-helpers: use MMModemAccessTech when parsing C(G)REG responsesAleksander Morgado
2012-03-15modem-helpers: use MMModem3gppRegistrationState when parsing C(G)REG responsesAleksander Morgado
2012-03-15core: start using our newly defined errorsAleksander Morgado
2012-02-29modem-helpers: plug memleakAleksander Morgado
g_match_info_fetch() returns always a heap-allocated string which should be freed by the caller.
2012-02-17gsm: allow leading zeroes in numbers in CREG/CGREG responsesAleksander Morgado
2011-12-30modem-helpers: plug a leak when parsing CREG responsesAleksander Morgado
2011-12-30modem-helpers: plug a leak when building device IDAleksander Morgado
2011-12-02gsm: improve scan response regex construction error handlingNathan Williams
Change the error handling to be a bit more like what appears to have been intended: if constructing the regex fails, report an error and return. The existing code looked like it was set up to do this, but wasn't quite wired together, and had process-terminating calls (g_error()) followed by other code. Change-Id: I4a7cee8fe01291976edc2e343fcbeb73e882f20b
2011-11-16gsm: add new property to track which facility locks are enabledEric Shienbrood
The property EnabledFacilityLocks on the .Modem.Gsm.Card interface is a bit mask that indicates which of the various personalization codes from 3GPP TS 22.022, plus the SIM PIN lock and SIM PIN2 lock, are enabled. The set of facility locks supported by the modem is determined at the time the modem is initialized, and the state of each supported lock (enabled or disabled) is determined. When the state of a lock changes, a property-change signal is sent out. Note that ModemManager only supports enabling and disabling SIM-PIN, via the EnablePin method on Modem.Gsm.Card.
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-09-27core: ensure that GMatchInfo and GRegex objects are freed properlyNathan Williams
In particular, g_regex_match() and g_regex_match_full() allocate a match_info structure on both success and failure, so calling g_match_info_free() only in the success case is insufficient. BUG=None TEST=Inspection Change-Id: Iea76b5b5dc3ec48120e15601a5e2dd45322133d8
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.