Denis Kenzior
4585969568
he910: Fix unused variable warning
...
plugins/he910.c: In function ‘qss_query_cb’:
plugins/he910.c:174:21: error: unused variable ‘data’
[-Werror=unused-variable]
2014-03-20 12:55:20 -05:00
Denis Kenzior
f8819b588b
he910: Switch to permissive parser
...
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-19 10:30:10 -05:00
Denis Kenzior
c3f528908d
he910: Fixup SIM detection
...
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-19 10:30:05 -05:00
Denis Kenzior
c54e4763f8
he910: Fix whitespace
2014-03-10 11:53:22 -05:00
Slava Monich
278dba2ec8
mbpi: Pop subparser stack after mmsc and mmsproxy
2014-02-07 08:56:44 -06:00
Denis Kenzior
d6af339c99
git: Fixup messed up permissions
2013-12-21 13:39:54 -06:00
Krzysztof Wilk
9d847687eb
phonesim: Enable Siri atom
2013-12-18 00:07:47 -06:00
Krzysztof Wilk
c8a3172c00
hfp_hf_bluez5: Enable Siri atom
2013-12-18 00:07:47 -06:00
Krzysztof Wilk
1e14b217b0
hfp_hf_bluez4: Enable Siri atom
2013-12-18 00:07:47 -06:00
Denis Kenzior
7c7cdd8759
he910: tweak initialization logic
2013-11-26 16:25:48 -06:00
Slava Monich
a7ba6d1e9e
mbpi: Provision mmsc and message_proxy
2013-11-26 15:32:03 -06:00
Denis Kenzior
9b224fff79
hfp_ag_bluez5: Try to support non-phone hardware
...
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-25 11:33:57 -06:00
Denis Kenzior
06598ef47c
udevng: Add he910 detection logic
2013-11-25 10:55:59 -06:00
Denis Kenzior
6e52f03f64
plugins: Add initial Telit he910 driver
2013-11-25 10:55:59 -06:00
Denis Kenzior
0aeeaefdce
mbm: Fix segfault with hot-plugged MD300 modem
2013-10-17 15:25:52 -05:00
Denis Kenzior
2158249069
hfp_hf_bluez5: Be more pedantic in get_version
...
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-01 11:35:27 -05:00
Denis Kenzior
c49ed15a8f
hfp_hf_bluez5: Add version debug info
2013-10-01 11:28:19 -05:00
Vinicius Costa Gomes
ff16aed8bd
handsfree-audio: Detect transparent SCO in kernel
...
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-12 13:17:40 -05:00
Denis Kenzior
62c2b81db7
hfp_hf_bluez5: Remove Cancel method
2013-09-12 13:17:40 -05:00
Denis Kenzior
f2103a7ada
hfp_hf_bluez5: Mark Release method as NOREPLY
2013-09-12 13:17:39 -05:00
Jesper Larsen
dff2657093
sim900: Use SIM900 quirk for gprs context
...
Use the module specific quirk for gprs by using the vendor entry
OFONO_VENDOR_SIMCOM_SIM900
2013-07-19 09:01:09 -05:00
Jesper Larsen
cf031b11f9
sim900: Fix order of dlc prefixes
...
The order of the defines for the dlc prefixes does not match
the order of the array containing the strings to print.
2013-07-17 10:28:24 -05:00
Jesper Larsen
33b4645f41
sim900: Enable serial receiver
...
The read option must be set to 'on' in order for two-way
communication with SIM900 module to work.
2013-07-17 10:19:11 -05:00
Frederic Danis
d6a601f8d1
hfp_hf_bluez5: Fix SDP record with correct features
2013-06-26 10:39:11 -05:00
Vinicius Costa Gomes
856a884052
hfp_hf_bluez5: Enable WB only with defer_setup
...
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-25 17:51:59 -05:00
Denis Kenzior
ff27e74eee
Revert "hfp_hf_bluez5: UUIDs can change after Pairing"
...
This reverts commit 456b8c9723
.
2013-04-25 17:47:05 -05:00
Vinicius Costa Gomes
e1de3c7f2e
hfp_hf_bluez5: Register the SDP record with correct features
2013-04-25 03:40:19 -05:00
Vinicius Costa Gomes
48cb2e5249
bluez5: Unify bt_register_profile_* into a single function
...
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-25 03:38:11 -05:00
Paulo Borges
7b56ca2730
hfp_ag_bluez5: Implement RequestDisconnection()
...
When a RequestDisconnect() is received, the socket must be closed.
This way, the related emulator will be freed.
2013-04-22 03:55:21 -05:00
Paulo Borges
9332299bb7
hfp_ag_bluez5: Add watch for G_IO_HUP when connect
...
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-22 03:54:24 -05:00
Paulo Borges
d062d485d6
hfp_ag_bluez5: Create a hash to store connections
...
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-22 03:53:42 -05:00
Paulo Borges
fc7de0f6e1
hfp_ag_bluez5: Remove unused includes
2013-04-18 08:43:25 -05:00
Paulo Borges
4245df6200
hfp_ag_bluez5: Include hfp.h
2013-04-18 08:42:44 -05:00
Paulo Borges
f1e29338ba
phonesim: Include hfp.h
2013-04-18 08:42:28 -05:00
Vinicius Costa Gomes
456b8c9723
hfp_hf_bluez5: UUIDs can change after Pairing
...
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-18 08:37:17 -05:00
Vinicius Costa Gomes
4e7f0690e9
hfp_hf_bluez5: Watch for changes in the selected codec
...
This patch adds a function to monitor when the AG sends a new codec
before establishing the SCO connection.
2013-04-15 07:00:39 -05:00
Denis Kenzior
4610d3dad2
hfp_hf_bluez5: Include hfp.h
2013-04-09 14:33:41 -05:00
Denis Kenzior
3715103654
hfp_hf_bluez5: Remove redundant parentheses
2013-04-09 14:33:41 -05:00
Vinicius Costa Gomes
3697794f9e
hfp_hf_bluez5: Add audio card .connect() for HFP 1.6
2013-04-09 14:33:41 -05:00
Vinicius Costa Gomes
a36ffa872a
hfp_hf_bluez5: Use 1.6 card driver
2013-04-05 12:25:10 -05:00
Claudio Takahasi
dd24a39d2f
hfp_hf_bluez5: Add extracting version
...
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-05 12:14:00 -05:00
Forest Bond
692e59f108
huawei: Use AlwaysOnline for CDMA modems
2013-04-01 21:42:44 -05:00
Denis Kenzior
2f50d25ab5
hfp_hf_bluez5: Make sure to call the callback
2013-03-28 09:30:45 -05:00
Vinicius Costa Gomes
759cf25614
hfp_hf_bluez5: Add a card driver for HFP 1.6
...
This is just the skeleton of a Handsfree Audio Card for the HF side of
HFP 1.6.
2013-03-28 09:29:50 -05:00
Denis Kenzior
93ac1669a0
sim900: Fix disable cleanup procedure
2013-03-26 10:53:41 -05:00
Denis Kenzior
32cece7b09
sim900: Fix compile error
...
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-26 10:36:25 -05:00
Denis Kenzior
548611e939
sim900: Remove unneeded goto / label
2013-03-26 10:35:59 -05:00
Denis Kenzior
b4518caa50
sim900: Properly clean up device IOChannel on error
2013-03-26 10:34:09 -05:00
Renat Zaripov
2d09257855
sim900: Add multiplexer support
...
Also add gprs and call-volume support.
2013-03-26 10:29:08 -05:00
Denis Kenzior
d8a9bf776b
sim900: Fix leak of options hash table
2013-03-26 10:21:14 -05:00