| f0a37fdf |
device: Fix sending unneeded property change signals
Send property change for Modalias only if it changed. This fix sending
multiple unneeded property change events during discovery. |
Szymon Janc |
11 years ago |
1 file, +4, -0 |
| 9633d2ec |
android/handsfree: Start codec selection if HF send AT+BAC while codec connection
If AG receives AT+BAC in response to +BCS, refresh list of codecs
and start new codec connection. It is required in TC_AG_ACC_BV_11_I
PTS test case. |
Marcin Kraglak |
11 years ago |
1 file, +3, -0 |
| c7574ced |
core: Fix g_hash_table_destroy when running without -E |
Johan Hedberg |
11 years ago |
1 file, +6, -0 |
| b35cdac7 |
obexd/client: Fix not sending OBEX Disconnect when disconnecting
Sending OBEX Disconnect command before disconnecting the transport is
mandatory. |
Luiz Augusto von Dentz |
11 years ago |
1 file, +32, -2 |
| c78899a7 |
unit/test-gobex: Add test for g_obex_disconnect |
Luiz Augusto von Dentz |
11 years ago |
1 file, +41, -0 |
| c4472927 |
gobex: Add g_obex_disconnect
This adds g_obex_disconnect function which can be used to send OBEX
Disconnect command. |
Luiz Augusto von Dentz |
11 years ago |
2 files, +15, -0 |
| 50520926 |
TODO: Add task to implement authentication in obexd |
Luiz Augusto von Dentz |
11 years ago |
1 file, +5, -0 |
| 8e83922c |
TODO: Add unit tests for GOEP |
Luiz Augusto von Dentz |
11 years ago |
1 file, +7, -0 |
| ee03e390 |
TODO: Add task for PBAP 1.2 |
Luiz Augusto von Dentz |
11 years ago |
1 file, +6, -0 |
| 8945a3be |
core/profile: Add MapSupportedFeatures to MSN record
This add MapSupportedFeatures and set it to support everything including
instance information and extended event report. |
Luiz Augusto von Dentz |
11 years ago |
1 file, +3, -0 |
| a32e8d92 |
lib/sdp: Add MapSupportedFeatures attribute
This adds MapSupportedFeatures which is used for MAP v1.2 and later. |
Luiz Augusto von Dentz |
11 years ago |
1 file, +1, -0 |
| 2f5f3eb4 |
lib/sdp: Add PbapSupportedFeatures attribute
This adds PbapSupportedFeatures which is used for PBAP v1.2 and later. |
Luiz Augusto von Dentz |
11 years ago |
1 file, +1, -0 |
| 0246b2d6 |
gobex/transfer: Keep request id for GET when SRM is active
In case a GET operation is in progress with SRM the same request id is
valid for the whole transfer otherwise it is not possible to cancel the
transfer after the first response. |
Luiz Augusto von Dentz |
11 years ago |
1 file, +6, -1 |
| 4b873ec8 |
gobex: Fix not resetting SRM setup
If SRM is not confirmed by both ends the setup should be disregarded and
the data associated to it can be freed otherwise the next command may
reuse the same setup assuming it is still valid and probably cause SRM
to be enabled without remote consent. |
Luiz Augusto von Dentz |
11 years ago |
1 file, +2, -1 |
| bcd9265d |
unit: Use lower-case for 128-bit UUIDs
According to ISO/IEC 9834-8: "It is recommended that the hexadecimal
representation used in all human-readable formats be restricted to
lower-case letters. Software processing this representation is, however,
required to accept both upper and lower case letters as specified in
6.5.2." |
Claudio Takahasi |
11 years ago |
1 file, +2, -2 |
| 14dc47eb |
Replace bt_get_le64() by get_le64() |
Claudio Takahasi |
11 years ago |
3 files, +4, -3 |
| d1ee63ca |
Replace bt_get_le32() by get_le32() |
Claudio Takahasi |
11 years ago |
11 files, +38, -35 |
| a646737b |
Replace bt_get_le16() by get_le16() |
Claudio Takahasi |
11 years ago |
8 files, +83, -80 |
| 2d557547 |
shared: Fix incorrect "const" in 32/64 bit put functions |
Johan Hedberg |
11 years ago |
1 file, +6, -6 |
| 74fe27e9 |
shared: Add put_be64()
Add helper to avoid possible unaligned memory access when handling
uint64 value using big-endian representation. |
Claudio Takahasi |
11 years ago |
1 file, +5, -0 |
| fe10be26 |
shared: Add put_be32()
Add helper to avoid possible unaligned memory access when handling
uint32 value using big-endian representation. |
Claudio Takahasi |
11 years ago |
1 file, +5, -0 |
| ce5c106e |
shared: Add put_be16()
Add helper to avoid possible unaligned memory access when handling
uint16 value using big-endian representation. |
Claudio Takahasi |
11 years ago |
1 file, +5, -0 |
| 0c75268c |
shared: Add get_be64()
Add helper to avoid possible unaligned memory access when handling
uint64 value using big-endian representation. |
Claudio Takahasi |
11 years ago |
1 file, +5, -0 |
| be50f325 |
shared: Add get_be32()
Add helper to avoid possible unaligned memory access when handling
uint32 value using big-endian representation. |
Claudio Takahasi |
11 years ago |
1 file, +5, -0 |
| 7bdfd2ed |
shared: Add get_be16()
Add helper to avoid possible unaligned memory access when handling
uint16 value using big-endian representation. |
Claudio Takahasi |
11 years ago |
1 file, +5, -0 |
| 02f6bbbb |
shared: Add get_le64()
Add helper to avoid possible unaligned memory access when handling
uint64 value using little-endian representation. |
Claudio Takahasi |
11 years ago |
1 file, +5, -0 |
| 57a41c6c |
shared: Add get_le32()
Add helper to avoid possible unaligned memory access when handling
uint32 value using little-endian representation. |
Claudio Takahasi |
11 years ago |
1 file, +5, -0 |
| c83287d2 |
shared: Add get_le16()
Add helper to avoid possible unaligned memory access when handling
uint16 value using little-endian representation. |
Claudio Takahasi |
11 years ago |
1 file, +5, -0 |
| 8392d24d |
shared: Add put_le64()
Add helper to avoid possible unaligned memory access when handling
uint64 value using little-endian representation. |
Claudio Takahasi |
11 years ago |
1 file, +5, -0 |
| 4a23d019 |
unit: Add test for g_dbus_client_set_ready_watch() |
Claudio Takahasi |
11 years ago |
1 file, +54, -0 |
| a5e4bfa1 |
gatt: Add read callback to btd_gatt_add_char helper
This patch adds a function callback for read operations. When a remote
device wants to reads a given attribute, the core calls the specified
read callback to get the value from the external services. |
Claudio Takahasi |
11 years ago |
3 files, +25, -4 |
| b47bfaf4 |
gatt: Add hash table of GDBusProxy objects
This commits adds a hash table to map attributes into GDBusProxy,
allowing to call remote objects for reading and writing values. |
Claudio Takahasi |
11 years ago |
1 file, +23, -4 |
| c846fb48 |
gatt: Add characteristic to the database
Initial support for GATT characteristics. This patch adds the
characteristic declaration attribute to the GATT local database based
on the fetched GDBusProxy objects. |
Claudio Takahasi |
11 years ago |
1 file, +42, -1 |
| bd10c136 |
gatt: Add helper for creating GATT characteristics
This patch adds btd_gatt_add_char() helper. It creates and adds the
Characteristic declaration, and Characteristic value attributes to the
local attribute database. |
Andre Guedes |
11 years ago |
2 files, +100, -0 |
| e78d9f67 |
gatt: Add function to create constant attributes
This patch adds a helper function to create attribute with static
values. It is intended to be used to create GATT services, and
characteristic declarations. |
Andre Guedes |
11 years ago |
1 file, +42, -6 |
| 848a0b83 |
shared: Add bswap_128()
Adds a new helper to swap 128-bit values. It is intended to be used for
GATT 128-bit UUID handling, converting 128-bit UUID from big-endian to
little-endian (or the opposite).
No matter the system, bt_uuid_t should always store 128-bit UUID value
using big-endian format (similar to human-readable format). |
Claudio Takahasi |
11 years ago |
1 file, +10, -0 |
| 45eb43e8 |
android: Fix some random code style issues
Fix whitespace problems and not needed empty lines. |
Szymon Janc |
11 years ago |
9 files, +24, -54 |
| 3bf9192c |
obexd/client: Fix not being able cancel GET requests
In case of GET operation the code does not use g_obex_get_req_pkt since
the beggining to be able to read the header from the first response, this
means that the request should be cancel with g_obex_cancel_req not with
g_obex_cancel_transfer. |
Luiz Augusto von Dentz |
11 years ago |
1 file, +16, -2 |
| abefacc6 |
core/profile: Remove code for waiting services to be resolved
This remove code related to waiting service to be resolved as it is now
part of btd_request_authorization. |
Luiz Augusto von Dentz |
11 years ago |
1 file, +0, -56 |
| eeba264d |
core: Wait for services to be resolved before doing authorization
This makes btd_request_authorization to wait until services are resolved
before proceeding with authorization, if the services could not be
resolved it still proceeds with authorization since some profile may not
have a record to be resolved. |
Luiz Augusto von Dentz |
11 years ago |
1 file, +30, -8 |
| a7e9d922 |
tools/mgmt-tester: Remove dead code |
Lukasz Rymanowski |
11 years ago |
1 file, +0, -6 |
| 0e39770a |
tools/mgmt-tester: Minor fix in Stop discovery Success 1 test
Set directly setup_send params for start discovery. It will be easier to
follow the test. |
Lukasz Rymanowski |
11 years ago |
1 file, +2, -0 |
| 274e37d6 |
core: Ignore ATT errors when considering Pair() success
Occasionally there may be errors in completing the service discovery
process over ATT when pairing with an LE device. Since we will any way
pick up from where we left off the next time we get connected it should
be safe to return success for the Pair() method call as long as the
actual pairing part was successful. |
Johan Hedberg |
11 years ago |
1 file, +33, -20 |
| 48231ada |
core: Fix Paired property notification for multiple bearers
The code in device_set_paired wasn't quite right previously. We should
not be sending Paired=true if we've already done that once due to the
other supported bearer. |
Johan Hedberg |
11 years ago |
1 file, +13, -5 |
| e2741eed |
tools/mgmt-tester: Refactor setup_start_discovery function
This patch removes handling hook register from this
function and its callback as this is no longer necessary for any stop
discovery tests.
This patch also adds setup_send_param and setup_send_len parameters to
test data so it is easy to control start discovery command parameters.
It is useful for tests:
Stop Discovery - Invalid parameters 1
Stop Discovery - BR/EDR (Inquiry) Success 1 |
Lukasz Rymanowski |
11 years ago |
1 file, +20, -47 |
| 630e8125 |
android/README: Add "Customization" section |
Szymon Janc |
11 years ago |
1 file, +20, -0 |
| 77b1e75e |
android/README: Update Known Android issues section |
Szymon Janc |
11 years ago |
1 file, +1, -0 |
| 1f03e568 |
android/handsfree: Fix not sending callheld=2 when single call was held |
Szymon Janc |
11 years ago |
1 file, +2, -4 |
| 00138d54 |
android/handsfree: Improve audio connection handling
This add disconnecting SCO if last call was dropped (required by
Java 'virtual voice call'). Also make sure that SCO is connected
only there were no calls present before phone state change. This
makes sure SCO won't be re-connected in three way calling scenarios
when user choose to not use audio on BT headset. |
Szymon Janc |
11 years ago |
1 file, +12, -7 |
| 3c2dbb61 |
shared: Fix missing destroy callback in timeout_add |
Lukasz Rymanowski |
11 years ago |
1 file, +1, -0 |