Commits

Commit Message Author Age Changes
91ce0439 profiles/gap: Change len parameter of name2utf8() to uint16_t When device name is read its length is of type uint16_t, change the type of length parameter of name2utf8() to uint16_t to avoid unnecessary truncation. Jukka Taimisto 11 years ago 1 file, +1, -1
4977100c profiles/gap: Make sure device name is null -terminated. If value of device name characteristic does not contain valid UTF-8 characters, make sure the name is null terminated before converting non-ascii characters to spaces. Jukka Taimisto 11 years ago 1 file, +2, -0
027a4610 profiles/gap: Handle error or no device name Fixes segmentation fault when reading value of device name characteristic returns error or no data. Jukka Taimisto 11 years ago 1 file, +12, -1
d20eb4ab android/pts: Update PTS files for A2DP Updated PICS, PIXITs and PTS tests results for A2DP. PTS version 6.0. Android version 5.0 Sebastian Chlad 11 years ago 3 files, +93, -13
c6dc82c6 android/pts: Update AVDTP PTS 6.0 results for android 5.0 This patch updates test case list and results for AVDTP. Grzegorz Kolodziejczyk 11 years ago 1 file, +2, -4
22ac153d android/pts: Update AVDTP pics, pixits for PTS 6.0 This patch updates pics and pixits for PTS 6.0 Grzegorz Kolodziejczyk 11 years ago 2 files, +2, -2
bfd8ae99 android/pts: Update GAP tests results with PTS 6.0 Szymon Janc 11 years ago 3 files, +145, -137
7bf8f046 core/device: Fix not replying to Pair req->msg was not always set which cause no reply to be sent. Luiz Augusto von Dentz 11 years ago 1 file, +37, -38
b004730c android: Add debug when remote device is connected Szymon Janc 11 years ago 1 file, +4, -0
ce2bcb20 android: Fix not updating remote device BR/EDR support correctly If device that was previously seen only over LE connected over BR/EDR it's type was not properly updated to dual mode. This was affecting PTS TC_DM_BON_BV_01_C test. Szymon Janc 11 years ago 1 file, +8, -11
d1c0b2c3 core/device: Don't remove invalid UUID With current code it is not possible to determine if an UUID was found via SDP or GATT so this keep the service which means the driver has to check if the service is still valid in the db. Luiz Augusto von Dentz 11 years ago 1 file, +0, -39
48fe55b7 doc/gatt-api.txt: Update error names Updated possible error names that can be returned from ReadValue/WriteValue methods to match those currently returned from the experimental implementation. Arman Uguray 11 years ago 1 file, +4, -8
2c7cce38 core/gatt: Use "claimed" instead of "active" Using the "active" state of a gatt-db service to mark a service as claimed by a profile somewhat abuses the API and has the additional side-effect of sending a service_removed event. This causes errors in the way btd_device manages profile/service lifetime. To fix this, this patch uses the new "claimed" state to mark a service as claimed. Also included is a minor fix to btd_gatt_client_* APIs that early return if the client is not yet ready. Arman Uguray 11 years ago 2 files, +11, -5
5d96ef14 shared/gatt-db: Add "claimed" field to services Added the ability to mark a service as "claimed". This is distinct from "active", which denotes whether this service should be accessed at all and is tied to the service added/removed events. Arman Uguray 11 years ago 2 files, +24, -0
31a3efd6 core/service: Remove GATT handle logic This patch reverts the recent addition of GATT service handles to btd_service. Arman Uguray 11 years ago 2 files, +0, -45
79beb1c6 profiles/gap: Fix probe/accept behavior This patch fixes the GAP profile so that it assumes that there will be one btd_service instance per-device rather than per-service-per-device. Arman Uguray 11 years ago 1 file, +71, -56
b31db8f7 core/device: Fix GATT profile probing This patch fixes a recently introduced issue which changed the behavior of profile probing for GATT-based profiles to create a btd_service instance for all discovered GATT services to be on a per-UUID basis rather than per-service. Arman Uguray 11 years ago 1 file, +71, -111
3e0df6e1 shared/gatt-db: Add service getter by UUID Added gatt_db_get_service_with_uuid which checks if the database contains a service with the given UUID and returns the first result. Arman Uguray 11 years ago 2 files, +29, -0
9fb9d23b core: adapter: Fix device name setting This patch fixes adapter.c:connected_callback so that it only sets the device name based on the complete local name EIR data, if the device already has a known name. Arman Uguray 11 years ago 1 file, +4, -1
3a9d75a8 core: device: Fix device_browse_gatt This patch fixes an issue that occurs in device.c:device_browse_gatt when an ATT data connection already exists. This patch solves the following problems: 1. In the case when services are already discovered, the old code re-probed all profiles which caused crashes. 2. In the case when services are already discovered, the old code never actually resolved the browse request when initiated from an outgoing bonding request. This caused, for example, a D-Bus call to Pair to receive no response. Arman Uguray 11 years ago 1 file, +16, -23
2b680f5a core: device: Fix connect bearer selection For dual-mode devices created from storage, trying to connect without a scan sometimes causes the incorrect bearer to be connected. This patch modifies device.c:select_conn_bearer so that it simply returns the stored bdaddr_type of a device if neither bredr nor le have been seen in a while. Arman Uguray 11 years ago 1 file, +3, -0
6056f5a6 monitor: Fix command strings for default erroneous data reporting Marcel Holtmann 11 years ago 1 file, +2, -2
fead3999 monitor: Add decoding for loopback commands Marcel Holtmann 11 years ago 1 file, +43, -2
595106f6 monitor: Add definitions for loopback mode commands Marcel Holtmann 11 years ago 1 file, +11, -0
db18807d monitor: Add decoding for host number of completed packets command Marcel Holtmann 11 years ago 1 file, +14, -1
3d1b187c monitor: Add defintion for host number of completed packets command Marcel Holtmann 11 years ago 1 file, +7, -0
fefd48b9 monitor: Add decoding for triggered clock capture event Marcel Holtmann 11 years ago 1 file, +12, -1
ec9762e4 monitor: Add definitions for triggered clock capture event Marcel Holtmann 11 years ago 1 file, +8, -0
9a16c0d3 monitor: Add decoding for short range mode command Marcel Holtmann 11 years ago 1 file, +10, -1
adcd8e12 monitor: Add definitions for short range mode command Marcel Holtmann 11 years ago 1 file, +6, -0
f88cba8d monitor: Add decoding for enhanced transmit power command Marcel Holtmann 11 years ago 1 file, +29, -7
089d38aa monitor: Add definitions for enhanced transmit power command Marcel Holtmann 11 years ago 1 file, +13, -0
278d6a47 monitor: Add decoding for extended inquiry length commands Marcel Holtmann 11 years ago 1 file, +21, -2
414e2872 monitor: Add definitions for extended inquiry length commands Marcel Holtmann 11 years ago 1 file, +11, -0
9427dde1 monitor: Add decoding for extended page timeout commands Marcel Holtmann 11 years ago 1 file, +21, -2
1b09b737 monitor: Add definitions for extended page timeout commands Marcel Holtmann 11 years ago 1 file, +11, -0
387498b6 monitor: Add decoding for erroneous data reporting commands Marcel Holtmann 11 years ago 1 file, +40, -2
3c2f37ef monitor: Add definitions for erroneous data reporting commands Marcel Holtmann 11 years ago 1 file, +11, -0
3d9046dd core: Fix missing check for g_slist_find_custom() lookup failure Johan Hedberg 11 years ago 1 file, +1, -1
035b98b0 tools/hcitool: Update manual page This updates hcitool manual with new options. Szymon Janc 11 years ago 1 file, +46, -0
621f4c08 tools/hcitool: Simplify parsing in cmd_lecup strtoul already detects 10 or 16 base if given base is 0. Szymon Janc 11 years ago 1 file, +6, -11
91865a99 tools/hcitool: Fix support for simple lecup format This allow to call lecup in simple form: "hcitool lecup <handle> <min> <max> <latency> <timeout>". Szymon Janc 11 years ago 1 file, +13, -0
5cc9301e tools/hcitool: Fix help message for lecup Command options don't support short options and long options require equal mark. Szymon Janc 11 years ago 1 file, +5, -5
dfea2253 shared/gatt: Fix typo in request_create check Fixes typo, check for req instead of client. Andrei Emeltchenko 11 years ago 1 file, +1, -1
e88c149d shared/gatt-db: Fix using plain integer as NULL pointer Luiz Augusto von Dentz 11 years ago 1 file, +1, -1
e75426d2 shared/gatt-db: Fix crash on find by type search Make sure all fields in search data are set. Without this patch we got: ==29603== Conditional jump or move depends on uninitialised value(s) ==29603== at 0x409689: find_by_type (gatt-db.c:866) ==29603== by 0x40C1A7: queue_foreach (queue.c:251) ==29603== by 0x40A341: gatt_db_find_by_type (gatt-db.c:889) ==29603== by 0x408E8C: init_complete (gatt-client.c:1225) ==29603== by 0x4073B5: discover_descs_cb (gatt-client.c:690) ==29603== by 0x40CB1C: discover_descs_cb (gatt-helpers.c:1453) ==29603== by 0x405445: can_read_data (att.c:600) ==29603== by 0x40B097: io_callback (io-mainloop.c:123) ==29603== by 0x40BA3B: mainloop_run (mainloop.c:142) ==29603== by 0x401FD7: main (btgatt-client.c:1269) Lukasz Rymanowski 11 years ago 1 file, +2, -0
743e508b shared/gatt-client: Fix callback type in struct write_op Callback type in struct write_op should be bt_gatt_client_callback_t as that type is provided by user in bt_gatt_client_write_value() Lukasz Rymanowski 11 years ago 1 file, +1, -1
141d6346 android/tester: Add case for GATT embedded attributes writes This tests if Service Changed CCC descriptor write request is properly handled. Jakub Tyszkowski 11 years ago 1 file, +42, -0
a9f6a0e1 android/tester: Use multiple iovecs instead of one large buffer This simplifies sending pdus which are made of header ond few other parts by using multiple iovectors instead of copying buffers and aggregating data in some additional structures. Jakub Tyszkowski 11 years ago 1 file, +18, -62
06c65aae android/tester: Support remote sending pdu from fragments This handles multiple iovectors instead of one assembled pdu. Jakub Tyszkowski 11 years ago 1 file, +29, -2
Previous Next