summaryrefslogtreecommitdiffstats
path: root/plugins
AgeCommit message (Collapse)AuthorFilesLines
2014-05-21hfp: Use proper prefixDenis Kenzior1-1/+2
Otherwise the BCS command can consume unsolicited notifications. ofonod[3270]: < \r\n+BCS: 2\r\n ofonod[3270]: > AT+BCS=2\r ofonod[3270]: < \r\n+CIEV: 1,1\r\n ofonod[3270]: < \r\n+CIEV: 2,0\r\n ofonod[3270]: < \r\nOK\r\n
2014-03-27phonesim: Fixup whitespaceDenis Kenzior1-0/+1
2014-03-27phonesim: Add conf file overrideJussi Pakkanen1-2/+5
OFONO_PHONESIM_CONFIG allows the configuration file location to be overriden from the default $CONFIGDIR/phonesim.conf (typically /etc)
2014-03-20he910: Fix unused variable warningDenis Kenzior1-1/+0
plugins/he910.c: In function ‘qss_query_cb’: plugins/he910.c:174:21: error: unused variable ‘data’ [-Werror=unused-variable]
2014-03-19he910: Switch to permissive parserDenis Kenzior1-1/+1
Seems the CCFC implementation on Telit firmware is not v.250 compliant: ofonod[445]: Aux: > AT+CCFC=0,2\r ofonod[445]: Aux: < \r\n\r\n+CCFC:0,7\r\n\r\nOK\r\n
2014-03-19he910: Fixup SIM detectionDenis Kenzior1-7/+37
In certain cases the #QSS notification is never sent, or sent too early. Make sure that we enable #QSS notification only after the modem has been set as powered. Also make sure that we explicitly query #QSS in case we missed the earlier #QSS notification.
2014-03-10he910: Fix whitespaceDenis Kenzior1-1/+0
2014-02-07mbpi: Pop subparser stack after mmsc and mmsproxySlava Monich1-1/+3
2013-12-21git: Fixup messed up permissionsDenis Kenzior3-0/+0
2013-12-18phonesim: Enable Siri atomKrzysztof Wilk1-0/+2
2013-12-18hfp_hf_bluez5: Enable Siri atomKrzysztof Wilk1-0/+2
2013-12-18hfp_hf_bluez4: Enable Siri atomKrzysztof Wilk1-0/+2
2013-11-26he910: tweak initialization logicDenis Kenzior1-11/+6
2013-11-26mbpi: Provision mmsc and message_proxySlava Monich1-0/+6
2013-11-25hfp_ag_bluez5: Try to support non-phone hardwareDenis Kenzior1-0/+37
For devices which are not 'real' phone modems, the voicecall initialization can happen outside of the pre-sim state. In this case the voicecall atom detection logic fails. Try to detect the voicecall atom separately, and register the profile if the SIM atom is already present and in state 'READY'. For all other cases, the previous logic still applies.
2013-11-25udevng: Add he910 detection logicDenis Kenzior1-0/+34
2013-11-25plugins: Add initial Telit he910 driverDenis Kenzior1-0/+382
2013-10-17mbm: Fix segfault with hot-plugged MD300 modemDenis Kenzior1-0/+4
2013-10-01hfp_hf_bluez5: Be more pedantic in get_versionDenis Kenzior1-5/+6
If no 'Version' key is found we might be assigning an uninitialized value. Return an error in this case as the 'Version' key is required.
2013-10-01hfp_hf_bluez5: Add version debug infoDenis Kenzior1-0/+2
2013-09-12handsfree-audio: Detect transparent SCO in kernelVinicius Costa Gomes1-1/+1
Deferred SCO setup is not enough for HFP 1.6 wideband codec support. Wideband speech also requires Transparent SCO to be enabled in the kernel.
2013-09-12hfp_hf_bluez5: Remove Cancel methodDenis Kenzior1-11/+0
2013-09-12hfp_hf_bluez5: Mark Release method as NOREPLYDenis Kenzior1-4/+2
2013-07-19sim900: Use SIM900 quirk for gprs contextJesper Larsen1-1/+1
Use the module specific quirk for gprs by using the vendor entry OFONO_VENDOR_SIMCOM_SIM900
2013-07-17sim900: Fix order of dlc prefixesJesper Larsen1-5/+5
The order of the defines for the dlc prefixes does not match the order of the array containing the strings to print.
2013-07-17sim900: Enable serial receiverJesper Larsen1-0/+1
The read option must be set to 'on' in order for two-way communication with SIM900 module to work.
2013-06-26hfp_hf_bluez5: Fix SDP record with correct featuresFrederic Danis1-1/+2
2013-04-25hfp_hf_bluez5: Enable WB only with defer_setupVinicius Costa Gomes1-2/+8
When setting the SDP features, only enable wideband speech support if the kernel has defer setup for SCO. It is possible that even if defer setup is supported the kernel is not able to use Transparent Mode for SCO.
2013-04-25Revert "hfp_hf_bluez5: UUIDs can change after Pairing"Denis Kenzior1-2/+1
This reverts commit 456b8c9723b9b73c3ea4cadc8c6f84ca90675f9a.
2013-04-25hfp_hf_bluez5: Register the SDP record with correct featuresVinicius Costa Gomes1-1/+6
2013-04-25bluez5: Unify bt_register_profile_* into a single functionVinicius Costa Gomes5-18/+12
It was a cause of confusion for little gain to have separate functions for registering profiles with extra information, for example "role" and "features". We remove those helper functions in favor of a single one with more parameters, "role" and "feature" when NULL, will be ignored.
2013-04-22hfp_ag_bluez5: Implement RequestDisconnection()Paulo Borges1-3/+27
When a RequestDisconnect() is received, the socket must be closed. This way, the related emulator will be freed.
2013-04-22hfp_ag_bluez5: Add watch for G_IO_HUP when connectPaulo Borges1-1/+22
A watch to G_IO_HUP is added to remove the file descriptor when the emulator is automatically disconnected when its GAtServer closes. We use a dupped file descriptor because the events aren't delivered to the file descriptor who originated them.
2013-04-22hfp_ag_bluez5: Create a hash to store connectionsPaulo Borges1-0/+15
We need to store active connections so we can disconnect them at RequestDisconnect(). When we remove a connection from the hash, we also close it.
2013-04-18hfp_ag_bluez5: Remove unused includesPaulo Borges1-4/+0
2013-04-18hfp_ag_bluez5: Include hfp.hPaulo Borges1-0/+1
2013-04-18phonesim: Include hfp.hPaulo Borges1-0/+1
2013-04-18hfp_hf_bluez5: UUIDs can change after PairingVinicius Costa Gomes1-1/+2
For example, in the case of a remote-initiated pairing, the device may be created and Paired first, then the UUID array is emitted later.
2013-04-15hfp_hf_bluez5: Watch for changes in the selected codecVinicius Costa Gomes1-0/+40
This patch adds a function to monitor when the AG sends a new codec before establishing the SCO connection.
2013-04-09hfp_hf_bluez5: Include hfp.hDenis Kenzior1-0/+1
2013-04-09hfp_hf_bluez5: Remove redundant parenthesesDenis Kenzior1-2/+2
2013-04-09hfp_hf_bluez5: Add audio card .connect() for HFP 1.6Vinicius Costa Gomes1-1/+29
2013-04-05hfp_hf_bluez5: Use 1.6 card driverVinicius Costa Gomes1-2/+10
2013-04-05hfp_hf_bluez5: Add extracting versionClaudio Takahasi1-1/+48
This patch parses and reads the profile "Version" that comes in the fd dictionary of the NewConnection method. "Version" is input for Audio Card registration.
2013-04-01huawei: Use AlwaysOnline for CDMA modemsForest Bond1-0/+7
2013-03-28hfp_hf_bluez5: Make sure to call the callbackDenis Kenzior1-1/+2
2013-03-28hfp_hf_bluez5: Add a card driver for HFP 1.6Vinicius Costa Gomes1-0/+37
This is just the skeleton of a Handsfree Audio Card for the HF side of HFP 1.6.
2013-03-26sim900: Fix disable cleanup procedureDenis Kenzior1-7/+1
2013-03-26sim900: Fix compile errorDenis Kenzior1-1/+1
make --no-print-directory all-am CC plugins/sim900.o cc1: warnings being treated as errors plugins/sim900.c: In function ‘shutdown_device’: plugins/sim900.c:180:9: error: unused variable ‘fd’ make[1]: *** [plugins/sim900.o] Error 1 make: *** [all] Error 2
2013-03-26sim900: Remove unneeded goto / labelDenis Kenzior1-2/+0