Szymon Janc
d938a82aaa
android/handsfree: Add support for ATD command
2014-03-10 12:32:14 +01:00
Szymon Janc
c3fde816cf
android/handsfree: Fix checking AT+COPS parameters
2014-03-10 12:32:14 +01:00
Szymon Janc
c81a0b07c6
android/handsfree: Add support for ATA command
2014-03-10 12:32:14 +01:00
Szymon Janc
e0cf89e07c
android/handsfree: Add support for AT+VTS command
2014-03-10 12:32:14 +01:00
Szymon Janc
13d4384f68
android/handsfree: Add support fot AT+CNUM command
2014-03-10 12:32:14 +01:00
Szymon Janc
28b2c48c28
android/handsfree: Add support for AT+CKPD command
2014-03-10 12:32:14 +01:00
Szymon Janc
df22e4877d
android/handsfree: Add support for AT+CMEE command
2014-03-10 12:32:14 +01:00
Szymon Janc
2b257bc42c
android/handsfree: Add support for AT+CHLD command
2014-03-10 12:32:14 +01:00
Szymon Janc
713783eb54
android/handsfree: Add support for AT+CLCC command
2014-03-10 12:32:14 +01:00
Szymon Janc
057497572e
android/handsfree: Add support for AT+NREC command
2014-03-10 12:32:14 +01:00
Szymon Janc
499fa30d59
android/handsfree: Add support for voice recognition function
2014-03-10 12:32:14 +01:00
Szymon Janc
c240e8f6d1
android/handsfree: Add support for unknown AT commands
...
Those commands are passed to Framework without parsing.
2014-03-10 12:32:14 +01:00
Szymon Janc
627f904ef2
android/handsfree: Add stubs for all AT commands defines by spec
2014-03-10 12:32:13 +01:00
Szymon Janc
99729c4ba4
android/handsfree: Add AG and HF features masks
2014-03-10 12:32:13 +01:00
Szymon Janc
59ccaef03c
android/handsfree: Pass strings as NULL terminated arrays in IPC
...
If type in HAL IPC is defined as string pass it as NULL terminated
array. This will allow to avoid extra copy when passing strings.
2014-03-10 12:32:13 +01:00
Marcin Kraglak
9e93ed626a
android/handsfree: Handle disconnect_audio call
...
This change adds handling of disconnect_audio call.
2014-03-10 12:32:13 +01:00
Marcin Kraglak
2550fd48c8
android/handsfree: Handle connect_audio call
...
This change handle connect_audio and start connect procedure.
2014-03-10 12:32:13 +01:00
Marcin Kraglak
67d15f2171
android/handsfree: Add support for handling incoming SCO connections
...
This adds support for accepting SCO connections from remote devices.
2014-03-10 12:32:13 +01:00
Marcin Kraglak
81970adc89
android/handsfree: Remove empty line
2014-03-08 19:56:48 +01:00
Marcin Kraglak
5bd6eae217
android/handsfree: Fix possible g_io_channel_shutdown() on NULL channel
...
Return false if listen failed.
2014-03-08 19:56:48 +01:00
Szymon Janc
a524960c2e
android/handsfree: Split AT+VGS and AT+VGM parsing function
2014-03-08 19:37:46 +01:00
Szymon Janc
73ddd670ce
android/handsfree: Fix bogus goto in AT+BIA parsing function
...
Command was not parsed at all.
2014-03-06 20:14:36 +01:00
Szymon Janc
fa6ab47596
android/handsfree: Fix IPC response code for COPS response command
2014-03-06 12:24:47 +01:00
Szymon Janc
3d2e92ff59
android/handsfree: Support volume control in HSP
2014-03-05 17:37:48 +01:00
Szymon Janc
2a7689be24
android/handsfree: Add support for volume synchronization
2014-03-05 17:13:07 +01:00
Szymon Janc
e4772b21b1
android/handsfree: Add support for AT+COPS command
2014-03-05 17:13:07 +01:00
Szymon Janc
6a1a80fe53
android/handsfree: Add support for handling device status notification
...
This allows to send unsolicited CIEV codes with service, roam, signal
and battchg indicators values.
2014-03-05 17:13:07 +01:00
Szymon Janc
0a1ec91fec
android/handsfree: Make connection state constants name shorter
2014-03-05 17:13:07 +01:00
Szymon Janc
96d94b5cfb
android/handsfree: Add support for AT+BIA command
2014-03-05 17:13:07 +01:00
Szymon Janc
ea0a5140df
android/handsfree: Distinguish between HSP and HFP connection
2014-03-05 17:13:07 +01:00
Szymon Janc
1bd727b477
android/handsfree: Add support for AT+CMER command
...
When this command is received SLC is connected.
2014-03-05 17:13:07 +01:00
Szymon Janc
b5b655fca2
android/handsfree: Add support for AT+CIND command
2014-03-05 17:13:06 +01:00
Szymon Janc
1882bfbe35
android/handsfree: Add support for AT+BRSF command
2014-03-05 17:13:06 +01:00
Szymon Janc
c088a0f5c6
android/handsfree: Add support for disabling HSP or HFP AGs
...
This allows to tune what profiles are supported by handsfree HAL.
2014-03-04 10:18:27 +01:00
Szymon Janc
a6b131fb47
android/handsfree: Allow to connect to HSP or HFP handsfree unit
...
This allows to connect to HSP (it HFP is not enabled) or fallback to
HSP if HFP is not supported by remote device.
2014-03-04 10:18:27 +01:00
Szymon Janc
c0d112b1c6
android/handsfree: Add support for HSP AG
2014-03-04 10:18:27 +01:00
Szymon Janc
09c05aae19
android/handsfree: Factor out HFP AG enable code
...
This is in preparation for support to not enable HFP AG when
initializing HAL.
2014-03-04 10:18:27 +01:00
Szymon Janc
14fc3c5403
android: Pass mode parameter to registered services
2014-03-04 10:18:27 +01:00
Szymon Janc
7d95d027b1
android: Create comon header for IPC
...
This header contains IPC specific structures and code not related to
BT and audio HAL protocols. This allows to fully decouple IPC from
HAL messages.
This is first step to make HAL part of IPC unit-testable and reusable
between BT HAL and audio HAL.
2014-02-28 15:22:45 +01:00
Szymon Janc
dd1e44fce1
android: Refactor IPC init
...
This allows to pass socket path and max service ID while initializaing
IPC. This is first step to allow use it both for BT and Audio HALs.
2014-02-28 15:22:45 +01:00
Szymon Janc
34f32c03dd
android/handsfree: Use HFP code for connection handling
...
HFP code is now able to handle disconnection on its own so just use
this instead of using own watches.
2014-02-24 10:49:38 +01:00
Anderson Lizardo
9b00e93b11
android: Use 16-bit UUID for SDP search
...
These UUIDs are assigned by BT-SIG and therefore there is no need to
use full 128-bit UUIDs. This also avoids unnecessary conversion from
string representation.
2014-02-12 11:26:56 +02:00
Marcel Holtmann
cde69653e0
android: Update copyright and license details
2014-02-11 10:42:56 -08:00
Andrei Emeltchenko
ed713a8319
android/handsfree: Fix memory leak
...
Free classes if sdp_get_access_protos fails.
2014-02-05 14:44:20 +01:00
Szymon Janc
5ca0c401ef
android/handsfree: Fix address printed in debug
2014-02-05 11:15:33 +01:00
Szymon Janc
f52cd974a3
android/handsfree: Use NULL instead of zero for pointers
2014-02-05 10:03:30 +01:00
Szymon Janc
077a899e87
android/handsfree: Add disconnect command handling
2014-02-05 09:53:54 +01:00
Szymon Janc
9ae2eda45d
android/handsfree: Add connect command handling
...
This allows to query SDP for RFCOMM channel and connect.
2014-02-05 09:53:54 +01:00
Szymon Janc
d404ab9874
android/handsfree: Add initial code for AT commands processing
...
Currently always reply with error and disconnect connection.
2014-02-05 09:53:54 +01:00
Szymon Janc
d08d1dbb2a
android/handsfree: Add support for RFCOMM connection handling
...
This adds incoming connection handling and initial connection state
tracking. Only one device is allowed to be connected at the same time.
2014-02-05 09:53:54 +01:00