summaryrefslogtreecommitdiffstats
path: root/plugins
AgeCommit message (Collapse)AuthorFilesLines
2013-01-29bluez5: Add bt_bacpy()Claudio Takahasi2-0/+8
Adds a copy of BlueZ bacpy() function.
2013-01-29bluez5: Add SCO socket declarationsClaudio Takahasi3-0/+33
Adds local copy of SCO Bluetooth sockets declarations, since the objective to avoid including BlueZ library headers.
2013-01-23hfp_hf_bluez5: Add SLC establishment procedureVinicius Costa Gomes1-6/+169
When receiving a NewConnection call from BlueZ, initiates the Service Level Connection using the received file descriptor. The HFP modem sub-components (devinfo, voicecall, netreg, handsfree and callvolume) are created at this point.
2013-01-23hfp_hf_bluez5: Handle NewConnection from BlueZVinicius Costa Gomes1-3/+48
Parse the essential arguments in the message, in this case only the file descriptor, and register the modem if it is not already registered. This is necessary because in some cases, we may receive a NewConnection call, and the SDP process is still taking place.
2013-01-23hfp_hf_bluez5: Follow HFP AG device Alias propertyVinicius Costa Gomes1-1/+17
If the device Alias property changes we should also change the name of the modem.
2013-01-23hfp_hf_bluez5: Register modem for HFP AG devicesVinicius Costa Gomes1-1/+77
Now that we are able to keep track of devices appearing and disappearing from BlueZ, we are able to register the modem when a device that supports the HFP AG UUID appears.
2013-01-23bluez5: Add HFP_AG_UUIDVinicius Costa Gomes1-0/+1
2013-01-23hfp_hf_bluez5: Add tracking of bluetooth devicesVinicius Costa Gomes1-3/+20
This patch tracks the GDBusProxy for Bluetooth devices in order to be able to get their properties.
2013-01-23hfp_hf_bluez5: Initial GDBusClient for BlueZVinicius Costa Gomes1-4/+47
This patch adds the initial callbacks to track when BlueZ connects so we can register our HFP external profile handler. And tracks the interfaces added or removed.
2013-01-23bluez5: Add additional definesVinicius Costa Gomes1-1/+3
2013-01-23bluez5: Fix copy paste errorDenis Kenzior1-1/+1
2013-01-21mbm: Delay init until EMRDYDenis Kenzior1-7/+8
If we send these commands before the EMRDY notification has been seen, they will simply return an error.
2013-01-16hfp_hf_bluez5: Add BlueZ Profile handlerClaudio Takahasi1-1/+73
This patch declares the external HFP Profile handler. It contains the initial implementation of the D-Bus Profile1 interface and methods responsible for handling Bluetooth connections.
2013-01-16bluez5: Add a couple of definesClaudio Takahasi1-0/+2
2013-01-16hfp_hf_bluez5: Add initial skeleton implementationClaudio Takahasi1-0/+80
2013-01-16bluetooth: Add profile register / unregisterClaudio Takahasi2-0/+141
Adds utility API to handle BlueZ 5 RegisterProfile and UnregisterProfile methods.
2013-01-16hfp_hf: Add initial file for external HFPClaudio Takahasi1-0/+42
This patch adds the initial file to support external HFP profile and BlueZ 5. "hfp_hf_bluez5" plugin will implement an external Bluetooth profile compatible with BlueZ 5, and "hfp_hf_bluez4" plugin will keep the compatibility with BlueZ 4.
2013-01-16bluetooth: Initial files for BlueZ 5Claudio Takahasi1-0/+33
This patch adds the file for Bluetooth(BlueZ 5) oFono plugin.
2013-01-16bluetooth: Rename bluetooth pluginsClaudio Takahasi7-9/+9
As BlueZ 5 introduced backwards incompatible API changes, and we want to keep support for BlueZ 4 based plugins for some time, we need to separate the plugins that are based on BlueZ 4 from the ones based on BlueZ 5. The bluetooth.c plugin has now been renamed to bluez4.c and the hfp_hf.c plugin is renamed to hfp_hf_bluez4. This will make it easy to add a HFP HF plugin for BlueZ 5.
2013-01-01phonesim: Add support for SIM hotswapDenis Kenzior1-5/+54
2012-12-30sierra: Initialize GSM error reporting separatelyForest Bond1-2/+3
2012-12-30sierra: Create GPRS context in post_sim functionForest Bond1-8/+8
This matches the huawei plugin.
2012-12-17telit: set baud rate to 115200Christopher Vogl1-1/+11
Telit HE910 needs the baud rate to be set.
2012-11-28ifx: Bump the setup timeoutDenis Kenzior1-1/+1
The newer IFX firmware was changed, it no longer accepts AT commands until the UA frame has been sent back to the AP. The commands are simply dropped on the floor. This requires a proper fix in GAtMux, but until then simply bump up the timeout to get around this issue.
2012-11-28ifx: Rework SIM state handlingDenis Kenzior1-4/+9
When performing a SIM REFRESH, particularly NAA Initialization, we need to wait until the modem sends XSIMSTATE: 7, not XSIMSTATE:2. Even on normal initialization it seems safer to wait until XSIMSTATE:2.
2012-11-25udev: Let Huawei detection also check for cdc_wdm driversMarcel Holtmann1-0/+1
2012-11-25udev: Use Qualcomm Gobi driver if QMI based modemMarcel Holtmann1-0/+6
2012-11-25udev: Handle USB descriptors from Vodafone K5005 modemMarcel Holtmann1-4/+11
2012-11-25gobi: Use UIM service is availableMarcel Holtmann1-0/+3
2012-11-22ifx: Move connman atom to post_sim stateDenis Kenzior1-24/+24
2012-11-22ifx: Get rid of have_sim trackingDenis Kenzior1-11/+2
2012-11-23ifx: Add comments about unhandled SIM statesMarcel Holtmann1-0/+6
2012-11-15alcatel: create sim atom with vendor alcatelCedric Jehasse1-1/+2
2012-11-07mbm: Fix SIM not inserted detectionDenis Kenzior1-1/+3
2012-11-02stktest: Label stktest modem as type TESTDenis Kenzior1-0/+1
2012-11-01wavecom: Add peculiar CPIN as terminator behaviorHolger Hans Peter Freyther1-0/+2
2012-10-16udevng: Fix MBM detectionDenis Kenzior1-1/+1
2012-10-03plugins: Add stktest pluginDenis Kenzior1-0/+253
2012-08-30telit: enable extended sim status notificationChristopher Vogl1-63/+34
Use AT#QSS=2 instead of AT#QSS=1 to get an URC when the SIM is not only inserted but also when PIN is unlocked and when SMS + phonebook are ready to be used. Disable sim state notification in telit_enable() so that we sure get a notification when we enable it later again. This way we don't have to query the state the first time. Without this the Telit modem does not always send an URC when AT#QSS=2 is sent. Remove sim_inserted_source and sim_inserted_timeout_cb which are not needed anymore as a consequence. By the way the 1 second timeout was an ugly hack. Don't query current SIM status in cfun_enable_cb() as the SIM is disabled due to prior AT+CFUN=4. Register '#QSS:' before enabling sim state notifications. Remove telit_qss_cb() which was used as a callback for querying the current SIM status. Move sms atom creation into switch_sim_state_status() and add creation of phonebook atom. These are created when QSS: 3 is received.
2012-08-30telit: Avoid resetting the SIMChristopher Vogl1-1/+1
Avoid a reset when switching between online and offline (airplane) mode in telit_set_online(). +CFUN accepts a second parameter (0), which disables a reset: AT+CFUN=x,0.
2012-08-21telit: disable auto attach procedures with AUTOATTChristopher Vogl1-0/+7
2012-08-20telit: Fix warningDenis Kenzior1-1/+0
plugins/telit.c: In function ‘rsen_disable_cb’: plugins/telit.c:446:21: error: unused variable ‘data’
2012-08-20telit: add additional port for data connectionChristopher Vogl1-21/+34
Use MDM port for data service and AUX for the AT chat. Disable DCD so that the modem does not hangup after a data connection.
2012-08-20udevng: rename aux port from Data to Aux for telitChristopher Vogl1-1/+1
Telit software user guide says: USB AUX doesn't support any flow control method. Therefore, this port isn't suitable for DATA service port. We recommend this port should be used only for AT command and URC processing.
2012-08-16mbm: Fix crash from processing multiple *EMRDYDenis Kenzior1-3/+11
Sometimes we see the *EMRDY notification before we query, and trigger initialization procedures twice.
2012-08-16mbm: Remove spurious ';'Denis Kenzior1-1/+1
2012-08-16telit: pass vendor at sim atom creationChristopher Vogl1-1/+2
2012-08-16telit: Fix 80 character per line violationDenis Kenzior1-1/+2
2012-08-16telit: move gprs atom into post sim phaseChristopher Vogl1-8/+8
2012-07-15bluetooth: Avoid shadowing of connection variableMarcel Holtmann1-6/+6