Age | Commit message (Collapse) | Author | |
---|---|---|---|
2012-03-15 | manager: don't try to export already exported modems | Aleksander Morgado | |
2012-03-15 | broadband-modem: allow 3GPP bearer connection if registered in 3GPP network | Aleksander Morgado | |
2012-03-15 | bearer: fail connecting try if not allowed to connect | Aleksander Morgado | |
2012-03-15 | bearer-list: allow iterating over the bearers in the list | Aleksander Morgado | |
2012-03-15 | bearer: new property to define whether the bearer is allowed to connect | Aleksander Morgado | |
Modems will allow bearers to get connected once they are registered in the network. | |||
2012-03-15 | bearer-3gpp: implement 3GPP-specific bearer | Aleksander Morgado | |
Implement basic functionality of a 3GPP based bearer, including connnection and disconnection. | |||
2012-03-15 | iface-modem: minor fix, remove unneeded variables in the initialization context | Aleksander Morgado | |
2012-03-15 | base-modem: allow retrieving non-connected data ports | Aleksander Morgado | |
Bearers will ask for data ports that can be used for connections. Right now, only one data port is expected to be handled, but we don't impose any restriction in the API. | |||
2012-03-15 | iface-modem: treat several SIM related errors as fatal | Aleksander Morgado | |
If the SIM is not inserted or the modem reports SIM failures, just abort the initialization process. We don't want to export modems which cannot be used. I know at least of one modem (wavecom) which supports SIM insertion while connected, but being such a corner case, probably not worth supporting it. | |||
2012-03-15 | helpers: implement CGDCONT reply parsing | Aleksander Morgado | |
New method to parse the PDP query reply, and build a list of structs with the found info. | |||
2012-03-15 | bearer: populate Properties used when creating the Bearer | Aleksander Morgado | |
2012-03-15 | iface-modem: implement all bearer list operations in the interface | Aleksander Morgado | |
Bearer list operations, except for Bearer creation, are so generic that the interface itself can implement it for every object implementing the interface. This implementation is based on a new MMBearerList object. | |||
2012-03-15 | bearer: ensure only valid bearers are exported | Aleksander Morgado | |
We setup bearer export in DBus only if the input properties are the expected ones. | |||
2012-03-15 | libmm-common: capabilities string builder moved from core | Aleksander Morgado | |
Keep in libmm-common the capabilities string builder. | |||
2012-03-15 | broadband-modem: by default only send init command once | Aleksander Morgado | |
Will handle sending it twice only for Nokia phones. | |||
2012-03-15 | port-probe: always complete probing task in idle | Aleksander Morgado | |
2012-03-15 | port-probe: plug small leak when reporting error in AT command response | Aleksander Morgado | |
2012-03-15 | broadband-modem: implement bearer creation, deletion and listing | Aleksander Morgado | |
Currently do not limit the number of bearers that can be created. | |||
2012-03-15 | bearer: fix object export/unexport | Aleksander Morgado | |
2012-03-15 | sim: only unexport object if currently exported | Aleksander Morgado | |
Avoid trying to unexport the object if it was never exported before. | |||
2012-03-15 | iface-modem-3gpp: bind connection property right away | Aleksander Morgado | |
2012-03-15 | iface-modem: bind connection property right away | Aleksander Morgado | |
2012-03-15 | sim: bind connection property right away | Aleksander Morgado | |
2012-03-15 | sim: make sure we unexport the SIM object when destroying it | Aleksander Morgado | |
Usually, if not always, the connection stored in the SIM object never exists when disposing it, as we clear the connection property in the Modem object before destroying it, and both properties are bound. But just in case, in order to avoid ending up with a zombie object in DBus, we make sure we unexport it. | |||
2012-03-15 | bearer: keep properties given as input, and avoid async creation | Aleksander Morgado | |
No need to create this object asynchronously. | |||
2012-03-15 | modem-helpers: new helper to count number of bits set in a bitmask | Aleksander Morgado | |
2012-03-15 | bearer: new object to handle bearers, implements the Bearer DBus interface | Aleksander Morgado | |
2012-03-15 | sim: plug memleak, free path on finalize() | Aleksander Morgado | |
2012-03-15 | error-helpers: small refactor | Aleksander Morgado | |
2012-03-15 | core: port to use the new AT command/sequences in the MMBaseModem API | Aleksander Morgado | |
2012-03-15 | base-modem-at: refactor AT sequence/command handling | Aleksander Morgado | |
Make a tight connection between the action of sending AT commands, either single or in a sequence, with the MMBaseModem object owning the port. This direct relation allows sending commands without specifying which port to use, so that the modem object can get the best port at each time, and handling all that in a single common place. The original mm-at API has also been modified so that when a single command is sent, a constant string is returned. We are allowed to return constant strings in mm_base_modem_at_command_finish() because the string itself is owned by the GSimpleAsyncResult, and hence, alive enough time. The GSimpleAsyncResult is completely disposed only after the async call is fully completed. Same reasoning behind the GVariant returned in the AT sequences; it should not be owned by the caller, it's a transfer-none in introspection terms. | |||
2012-03-15 | iface-modem: handle CreateBearer(), DeleteBearer() and ListBearers() | Aleksander Morgado | |
Just pass the task to the specific underlying implementation. | |||
2012-03-15 | broadband-modem: implement cleaning up CS and PS registrations | Aleksander Morgado | |
2012-03-15 | iface-modem-3gpp: cleanup CS and PS registrations during disable | Aleksander Morgado | |
2012-03-15 | broadband-modem: implement cleaning up unsolicited registration message handlers | Aleksander Morgado | |
2012-03-15 | iface-modem-3gpp: cleanup unsolicited registration messages during disable | Aleksander Morgado | |
2012-03-15 | iface-modem: don't flash port during disable | Aleksander Morgado | |
At least just for now. Flashing should be done as part of the disconnection. | |||
2012-03-15 | broadband-modem: setup steps when disabling the modem | Aleksander Morgado | |
Include disabling the Modem and 3GPP interfaces for now. | |||
2012-03-15 | iface-modem-3gpp: interface can be disabled | Aleksander Morgado | |
2012-03-15 | iface-modem-3gpp: enable periodic registration checks if no unsolicited | Aleksander Morgado | |
If we get errors when configuring the unsolicited registration messages, setup a timeout to be run every 30s which will check our registration status. | |||
2012-03-15 | broadband-modem: implement network scan | Aleksander Morgado | |
2012-03-15 | iface-modem-3gpp: handle network scan requests | Aleksander Morgado | |
2012-03-15 | modem-helpers: provide list of scanned networks in a list of structs | Aleksander 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-15 | broadband-modem: implement Operator Code and Name loading | Aleksander Morgado | |
2012-03-15 | iface-modem-3gpp: when going into REGISTERED, load Operator Name and Code | Aleksander Morgado | |
2012-03-15 | iface-modem-3gpp: report registration state change in the log | Aleksander Morgado | |
2012-03-15 | broadband-modem: implement registration to 3GPP network | Aleksander Morgado | |
2012-03-15 | iface-modem-3gpp: always run CS and PS registration checks together | Aleksander Morgado | |
And report a single error, only if all available registration checks failed. | |||
2012-03-15 | iface-modem-3gpp: handle network registration requests | Aleksander Morgado | |
2012-03-15 | iface-modem: don't report LOCKED state if SIM PIN2/PUK2 | Aleksander Morgado | |
If unlock required reports needing SIM PIN2 or PUK2, don't report LOCKED state, as the device is fully operational without it. |