Commits

Commit Message Author Age Changes
db36dfe7 android/bluetooth: Fix minor codestyle issues Szymon Janc 11 years ago 1 file, +2, -2
b93c6d5b android/gatt: Don't try send responses after process_dev_pending_req() Process_dev_pending_requests call send_pending_respone, so we don't have to call it again. Marcin Kraglak 11 years ago 1 file, +0, -10
219bc72b android/gatt: Set length to READ_INIT before read request It is needed while we pass read request to framework. Marcin Kraglak 11 years ago 1 file, +2, -0
474299cd android/gatt: Fix reading attribute value If value and length was set by callback while gatt_db_read(), don't set length to READ_PENDING. We have to set it only for async callbacks, then length is still READ_INIT. Marcin Kraglak 11 years ago 1 file, +1, -1
f0af92e9 unit/avrcp-lib: Fix avrcp_get_play_status_rsp GetPlayStatus PDU start with duration followed by position not the other way around. Luiz Augusto von Dentz 11 years ago 2 files, +6, -4
2d4c1d26 doc: Add description for Get Connection Information command This patch introduces Get Connection Information command. Lukasz Rymanowski 11 years ago 1 file, +29, -0
da6bd659 android/pts: Change mode for SDP pics file Sebastian Chlad 11 years ago 1 file, +0, -0
fcb612ef android/gatt: Add find by type and value handler As from database point of view there are two data sources (db entry, and callbacks), we need to perform 'find by type' in databse and filter out entries with not matching values, before sending. Jakub Tyszkowski 11 years ago 1 file, +133, -2
8cf7540f shared/gatt: Make 'find_by_type_value' callback compatible 'Find by type and value' was handling only values written directly to database and not those returned by callbacks or by Android Framework. This replaces it with 'find by type' and leaves value verification to the user. Marcin Kraglak 11 years ago 2 files, +9, -38
af9343e7 shared/gatt: Remove unused structure This structure is no longer used. Marcin Kraglak 11 years ago 1 file, +0, -7
60f00f34 android/gatt: Change handling of read_by_group_type requests Use modified version of gatt_db_read_by_group_type which return list of handles instead of specific data. Marcin Kraglak 11 years ago 1 file, +87, -39
5b04c6fa shared/gatt: Retun list of handles in gatt_db_read_by_group_type Fom now return list of handles instead of specific data. Marcin Kraglak 11 years ago 2 files, +2, -15
4eaf6bfd shared/gatt: Add function to get end group handle This function will return end group handle or zero if attribute not found. Marcin Kraglak 11 years ago 2 files, +14, -0
33842372 shared/gatt: Remove unused structure This structure is no longer used. Marcin Kraglak 11 years ago 1 file, +0, -5
426b6758 android/gatt: Change handling of find_information requests This uses new version of gatt_db_find_information function which returns list of handles. Marcin Kraglak 11 years ago 1 file, +22, -44
6537fb76 shared/gatt: Add helper function to get attribute type This will return uuid with attribute type or NULL if attribute was not found in database. Marcin Kraglak 11 years ago 2 files, +24, -0
821f10e0 shared/gatt: Modify gatt_db_find_information to return list of handles For now this function will return list of found handles. Marcin Kraglak 11 years ago 1 file, +2, -9
3677dd99 shared/gatt: Remove unused structure This structure is no longer used in gatt_db implementation. Marcin Kraglak 11 years ago 1 file, +0, -6
44a74ed0 android/gatt: Change handling read_by_type requests For now list of handles is returned from database so we should read each attribute's value. It uses new way of handling requests from remote devices. Marcin Kraglak 11 years ago 1 file, +65, -34
a73741c4 shared/gatt: Modify gatt_db_read_by_type to return handles only For now read_by_type function will just return handles of found attributes. Marcin Kraglak 11 years ago 1 file, +2, -13
f20cfda5 android/gatt: Refactor ATT read operations This changes device info and gap services callbacks to use response queue. It will allow them work with plain read and read by type as well. This starts transition to single response data queue, which should be filled by various read type functions and processed in one place. This will unify the way that responses are send, regardless of data source (value taken directly from database, returned by read callback or sent from upper layers asynchronously). We will also introduce 'getter' type functions, using handles to retrieve data from database. This will make various read and find operations return handles instead of their own custom structures, different for every operation performed. Marcin Kraglak 11 years ago 1 file, +208, -34
02c6fdc7 shared/gatt: Extend gatt_db_read function If value exists in database, return pointer to it instead of returning false. It is needed because some attributes don't have read_cb callback and their value can be read directly from database. Marcin Kraglak 11 years ago 3 files, +25, -5
4d1d6377 core: Fix missing static declaration for main_conf Johan Hedberg 11 years ago 1 file, +1, -1
da90eb1e core: Make use of device_set_[bearer]_support functions Johan Hedberg 11 years ago 1 file, +4, -6
a7426860 core: Simplify device lookup logic in update_found_devices() Johan Hedberg 11 years ago 1 file, +8, -20
033f0b92 core: Fix updating bearer support when looking up devices Johan Hedberg 11 years ago 1 file, +10, -0
aa5223d6 core: Fix matching based on public address regardless of bearer Johan Hedberg 11 years ago 1 file, +22, -2
1479dd29 core: Add API to set LE support for a device Johan Hedberg 11 years ago 2 files, +12, -0
625fe7d9 core: Fix device_set_bredr_support to update storage if necessary Johan Hedberg 11 years ago 3 files, +8, -4
986c3d2b plugins/policy: Both !uuids and !uuids[0] mean an empty list Johan Hedberg 11 years ago 1 file, +7, -3
de663bfc plugins/policy: Remove reconnect timer in reconnect_reset() In the case that the remote starts connecting to us while we're waiting for the timeout to discover we shouldn't just reset the basic time keeping variables but also remove the timer. Johan Hedberg 11 years ago 1 file, +5, -0
42201538 core: Add "Policy" to valid main.conf groups Johan Hedberg 11 years ago 1 file, +12, -1
f8a0c50b plugins/policy: Add support to retreive ReconnectUUIDs from main.conf Johan Hedberg 11 years ago 2 files, +38, -5
86f4b552 core: Add API to get access to main.conf Johan Hedberg 11 years ago 2 files, +12, -5
40e77e7b plugins/policy: Rename UUIDs list variable to avoid name collisions Johan Hedberg 11 years ago 1 file, +4, -4
42fd4ce7 plugins/policy: Add exponential backoff for reconnection attempts Johan Hedberg 11 years ago 1 file, +23, -7
c3a21d33 plugins/policy: Continue reconnections after connect attempt failure This patch adds support for continuing reconnecting for several more times (up to 3 minutes) even when a connection attempt fails. Johan Hedberg 11 years ago 1 file, +47, -0
967a38d4 core: Export API for tracking connection failures This will be used by the reconnection policy logic. Johan Hedberg 11 years ago 2 files, +27, -0
e0929a6e plugins/policy: Add basic reconnection handling Johan Hedberg 11 years ago 1 file, +190, -0
b98bb6c1 core: Export API to request services to be connected This API reuses the existing serialized profile connection creation and its primary user is the reconnection policy. Johan Hedberg 11 years ago 2 files, +24, -0
396b3b62 core: Add API to monitor device disconnections This patch adds an API to monitor devices disconnections, including the reason for the disconnection. It paves the way to allow creating a policy for reconnecting when disconnected. Johan Hedberg 11 years ago 2 files, +29, -1
5c0c4d1a tools: Fix hex2hcd compilation error Fix following with GCC version 4.8.2 (Debian 4.8.2-21): tools/hex2hcd.c: In function ‘main’: tools/hex2hcd.c:118:19: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare] for (i = 0; i < hex_to_int(rbuf + 1); i++) { ^ cc1: all warnings being treated as errors Szymon Janc 11 years ago 1 file, +2, -2
9dfcb9f7 hog: Fix compilation error on 32 bit machine Fix following with GCC version 4.8.2 (Debian 4.8.2-21): CC profiles/input/bluetoothd-hog.o profiles/input/hog.c: In function ‘report_value_cb’: profiles/input/hog.c:149:8: error: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘unsigned int’ [-Werror=format=] status, sizeof(ev)); ^ Szymon Janc 11 years ago 1 file, +1, -1
18a7a7ec input: Fix compilation errors on 32 bit machine Fix following with GCC version 4.8.2 (Debian 4.8.2-21): CC profiles/input/bluetoothd-device.o profiles/input/device.c: In function ‘uhid_send_feature_answer’: profiles/input/device.c:232:8: error: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘unsigned int’ [-Werror=format=] len, sizeof(ev)); ^ profiles/input/device.c: In function ‘uhid_send_input_report’: profiles/input/device.c:274:8: error: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘unsigned int’ [-Werror=format=] len, sizeof(ev)); ^ Szymon Janc 11 years ago 1 file, +2, -2
81c45d5f android/pts: Run PTS tests for SM Sebastian Chlad 11 years ago 2 files, +65, -1
ae21b85c android/pts: Correct file's header Sebastian Chlad 11 years ago 1 file, +1, -1
37831ea5 android/pan: Print error if failed to create bridge Szymon Janc 11 years ago 1 file, +6, -2
a5703d66 android/gatt: Refresh device cache on disconnect if not bonded This adds refreshing of device cache in case if device is not bonded. It affects on TC_GAD_CL_BV_01_C, TC_GAD_CL_BV_02_C and search services PTS test cases. With this patch those PTS tests cases pass. Grzegorz Kolodziejczyk 11 years ago 1 file, +4, -0
c12323a5 android/bluetooth: Add function for checking device bond state This will be used by GATT HAL. Grzegorz Kolodziejczyk 11 years ago 2 files, +9, -0
533301a6 android/gatt: Fix handling advertising state This patch fixes enabling advertising. It was not possible to enable it if we had server registered which is on listen_apps list but does not trigger advertising. This patch introduces static counter to track number of clients requested advertising. Lukasz Rymanowski 11 years ago 1 file, +9, -2
Previous Next