Commits

Commit Message Author Age Changes
0666e357 core: Rename device_attach_attrib This patch renames the device_attach_attrib function to device_attach_att to remove ambiguities arise from the word "attrib". Arman Uguray 11 years ago 3 files, +4, -4
4b5bb941 core/device: Use shared/gatt-client for GATT This patch changes the GATT service discovery code path with the following: - As part for device_attach_attrib, a bt_gatt_client structure is created that performs MTU exchange and service discovery, caches the services in an internal list, and handles the remote GATT service. - The device_browse_primary code path obtains service information by iterating through bt_gatt_client's services, instead of directly initiating primary and secondary service discovery using attrib/gatt. If the bt_gatt_client isn't ready at the time, the code defers registration of services and profile probing until the ready handler is called. - The attio connected callbacks are invoked from bt_gatt_client's ready handler instead of device_attach_attrib. Arman Uguray 11 years ago 2 files, +163, -145
84af675f core: device: Use bt_att_register_disconnect. btd_device is now notified of ATT channel disconnections by registering a disconnect handler with bt_att instead of setting up an io watch with the GIOChannel. Arman Uguray 11 years ago 1 file, +21, -18
ef2bada4 shared/gatt-client: Set op->success correctly This patch fixes a bug where not correctly setting the success field of the discovery_op instance when gatt-client is initialized with a non-empty db caused the db to get cleared by the init_failure handler. Arman Uguray 11 years ago 1 file, +4, -0
1ea6892c shared/att: Add err argument to disconnect cb This patch adds an "int err" argument to the disconnect callback. shared/att obtains the value of SO_ERROR option for the underlying fd and passes it to the callbacks. Arman Uguray 11 years ago 5 files, +26, -11
ebcbada1 attrib/gattrib: Add g_attrib_get_att Added the g_attrib_get_att function which returns the underlying bt_att structure associated with a GAttrib. Arman Uguray 11 years ago 2 files, +11, -0
08312382 android: Run services without logwrapper Those services now log directly to Android logger so no need for logwrapper which was causing issues with SELinux. Szymon Janc 11 years ago 1 file, +2, -2
0c882000 android/snoop: Use common logging API This allows to log without logwrapper. Szymon Janc 11 years ago 3 files, +15, -4
20bc7a4d android: Add native support for Android logger Lollipop enabled SELinux in enforcing mode but doesn't provide proper policy for logwrapper. All AOSP native services were converted to not use logwrapper at all so we should follow the same. On Android Lollipop we handle logging by sending data to Android logd over socket. On Android KitKat logs are written directly to /dev/log/system. Nice addition over logwrapper is that now we have proper tags for messages levels like debug, info, error etc. Szymon Janc 11 years ago 2 files, +214, -1
f6f7d83d android/client: Add short option for printing version This makes haltest options consistent. Szymon Janc 11 years ago 1 file, +4, -8
8f3a310e android/client: Add option to initialize only IVI roles This adds 'ivi' option for haltest. With this option only IVI roles will be initialized. Running haltest without options will initialize only non-ivi roles. Szymon Janc 11 years ago 1 file, +38, -21
9d7cb539 android/hal-utils: Refactor btproperty2str This function grown to big. Factor out more complex properties to separate helper functions. Szymon Janc 11 years ago 1 file, +76, -92
42fa7fa7 android/gatt: Fix removing invalid IO channel With single mode controller LE or BR/EDR IO might be NULL. Szymon Janc 11 years ago 1 file, +8, -4
d840b56b attrib/gatt: Fix minor coding style Lukasz Rymanowski 11 years ago 1 file, +0, -1
02ae28e4 android/hal-gatt: Fix missing IPC handlers on KitKat IPC handlers should be always registered even on older Android. Otherwise we risk IPC error if daemon sends them to HAL. Szymon Janc 11 years ago 1 file, +32, -4
52e883f3 shared/gatt-client: Remove unnecessary code This flags were added because calling function like queue_foreach were not safe as the callbacks may remove or destroy the queue before returning but this has been fixed and it is now safe to do that. Luiz Augusto von Dentz 11 years ago 1 file, +2, -55
ca13e62d shared/att: Remove unnecessary code This flags were added because calling function like queue_foreach were not safe as the callbacks may remove or destroy the queue before returning but this has been fixed and it is now safe to do that. Luiz Augusto von Dentz 11 years ago 1 file, +6, -88
bd58c312 emulator: Add support for read peer and local random addresses Marcel Holtmann 11 years ago 1 file, +46, -3
327d6812 monitor: Add support for peer and local private address commands Marcel Holtmann 11 years ago 2 files, +58, -2
9c4fbdac emulator: Add support for handling white list scan filtering Marcel Holtmann 11 years ago 1 file, +21, -0
93114534 monitor: Fix description for remote used features event Marcel Holtmann 11 years ago 1 file, +1, -1
5fea34a7 emulator: Add skeleton for HCI Disconnect command support Marcel Holtmann 11 years ago 1 file, +8, -1
6ca36f7f emulator: Move command for event mask page 2 to correct location Marcel Holtmann 11 years ago 1 file, +15, -14
84afc16b emulator: Add missing storage of local and peer IRK values Marcel Holtmann 11 years ago 1 file, +5, -3
f0d40685 emulator: Add support for adding and removing entries of resolving list Marcel Holtmann 11 years ago 1 file, +58, -4
40c8e64a emulator: Add support for adding and removing entries of white list Marcel Holtmann 11 years ago 1 file, +57, -3
bf678926 android/gatt: Fix incorrect UUID conversion Android framework requires 128 bit UUIDs to be passed to it. It was expected that bt_string_to_uuid() creates 128bit UUID if passed string was in 128bit format. Since e5af5138 "lib/uuid: Simplify BT base UUIDs when possible" this is no longer valid. Resulting UUID was shortened and Android Framework didn't recognized it. This results in non-working HoG and possibly other GATT profiles. Fix this by explicitly converting UUID to 128bit before accessing u128 data. Szymon Janc 11 years ago 1 file, +7, -5
5049de30 shared: Add function for setting static address of GAP stack Marcel Holtmann 11 years ago 2 files, +12, -0
73ac6685 shared: Add function for setting local IRK entry of GAP stack Marcel Holtmann 11 years ago 2 files, +12, -0
769b62e8 shared: Add function for adding peer IRK entries to GAP stack Marcel Holtmann 11 years ago 2 files, +49, -0
4e706909 shared: Remove no longer needed bt_gap_new function Marcel Holtmann 11 years ago 2 files, +0, -6
70d01766 tools: Initialize GAP stack based on provided index Marcel Holtmann 11 years ago 1 file, +4, -1
e17038b6 shared: Add support for selecting GAP support per index Marcel Holtmann 11 years ago 2 files, +19, -0
06159d7a emulator: Add support for duplicate filtering during scanning Marcel Holtmann 11 years ago 1 file, +44, -0
4b2318b6 emulator: Add support for LE create connection commands and events Marcel Holtmann 11 years ago 1 file, +66, -4
2eaec923 emulator: Fix missing direct advertising address and type Marcel Holtmann 11 years ago 1 file, +2, -0
527d7ecd emulator: Add support for handling advertising interval setting Marcel Holtmann 11 years ago 1 file, +80, -17
87b0dde5 emulator: Change supported LE states to include scanning and advertising Marcel Holtmann 11 years ago 1 file, +5, -3
f58086c2 emulator: Fix leaking file descriptor Marcel Holtmann 11 years ago 1 file, +3, -0
8779f3db emulator: Fix minor typo Johan Hedberg 11 years ago 1 file, +1, -1
5019ebe2 emulator: Add support for simple advertising and scanning Marcel Holtmann 11 years ago 1 file, +67, -0
03336eed emulator: Add support for simple PHY simulation Marcel Holtmann 11 years ago 2 files, +257, -0
8470d254 emulator: Add support for LE scan parameters and LE scan enable commands Marcel Holtmann 11 years ago 1 file, +125, -2
d6c1d960 emulator: Add skeleton for virtual PHY handling Marcel Holtmann 11 years ago 4 files, +102, -0
78cbdd40 build: Fix detection of coverage support Marcel Holtmann 11 years ago 2 files, +3, -3
ce49d2b3 monitor: Add support for LE Enhanced Connection Complete event Marcel Holtmann 11 years ago 2 files, +39, -1
aa54d8ef emulator: Add support for changing data length command Marcel Holtmann 11 years ago 1 file, +49, -2
93122e95 emulator: Add support for resolving list enable and timeout commands Marcel Holtmann 11 years ago 1 file, +53, -2
1708f88d monitor: Add support for resolving list enable and address timeout commands Marcel Holtmann 11 years ago 2 files, +43, -2
ed331a44 emulator: Add support for LE data length commands Marcel Holtmann 11 years ago 1 file, +89, -3
Previous Next