Commits

Commit Message Author Age Changes
f413c15a input: Remove unused UUID field Trivially remove the field because it's actually not being used. Mikel Astiz 12 years ago 1 file, +0, -5
2e8d257e input: Move timeout setting to device.c The timeout setting is global across devices and it's actually only used inside device.c. Therefore, simplify the code by just passing it once. Mikel Astiz 12 years ago 3 files, +16, -10
9ce1343d input: Fix ignored profile shutdown Unprobing the profile should never fail which means neither should input_device_unregister(). This requires shutting everything down regardless of possible pending connection requests. Mikel Astiz 12 years ago 2 files, +3, -10
73f977e6 network: Fail if multiple profile instances Considerable parts codebase are assuming that there is one single instance of each UUID and therefore return an error during probe instead of silently ignoring duplicated entries. Mikel Astiz 12 years ago 1 file, +5, -2
a0207272 profile: Remove UUID list from probe function Each instance of btd_profile is associated to one single remote UUID and therefore the list provided by the callback is redundant and can be removed. Mikel Astiz 12 years ago 17 files, +25, -53
87a21ddc input: Simplify code since UUID is known The UUID in this code path is fixed so trivially use it instead of using the provided probe parameter. Mikel Astiz 12 years ago 1 file, +1, -1
9ae4da94 control: Simplify UUID handling during probe There is actually one single UUID which can be received during probe, so simplify the code accordingly. Mikel Astiz 12 years ago 3 files, +8, -8
c47c31df device: Fix returned error code The second 'err' shadows the main local variable which is being used to as return value of the function. Otherwise -ENOENT was always returned in case of error. Mikel Astiz 12 years ago 1 file, +0, -2
2d098262 doc: Fix optional properties not marked as such Commit 826023de56896e83f35ae69a73d6a120a2f5b11e made some of the device's properties optional but the documentation was not updated accordingly. More specifically, the properties 'Name' and 'UUIDs' won't be present if the information is not available. Mikel Astiz 12 years ago 1 file, +2, -2
94bf3fa9 monitor: Add an option to dump SCO traffic Vinicius Costa Gomes 12 years ago 1 file, +6, -1
620987bc attrib: Change match_event return type from gboolean There is no reason to use gboolean as return type of match_event. Jefferson Delfes 12 years ago 1 file, +7, -7
facc83cc attrib: Change is_response return type from gboolean There is no reason to use gboolean as return type of is_response. Jefferson Delfes 12 years ago 1 file, +3, -3
36b5001b attrib: Change command->sent type from gboolean There is no reason to command->sent be gboolean. Jefferson Delfes 12 years ago 1 file, +2, -2
ba9b8d17 attrib: Change GAttrib->stale type from gboolean There is no reason to GAttrib->stale be gboolean. Jefferson Delfes 12 years ago 1 file, +3, -2
9b90cc2e attrib: Simplify boolean tests Remove unnecessary TRUE/FALSE in boolean tests. Jefferson Delfes 12 years ago 2 files, +6, -6
2c418e98 tools/mgmt-tester: Fix expect_len assignment to use right variable Johan Hedberg 12 years ago 1 file, +1, -1
e4056cf4 tools/mgmt-tester: Add valid test case for LE-only discovery Johan Hedberg 12 years ago 1 file, +19, -0
59724c1e tools/mgmt-tester: Update LE-only test case pre-conditions Starting with Linux 3.10 single mode controllers will always have the LE setting bit enabled in the current_settings mask. Johan Hedberg 12 years ago 1 file, +1, -1
95213d3e tools: Fix avrcp_media_element_item_dump to print elements properly Luiz Augusto von Dentz 12 years ago 1 file, +2, -0
df6680ee core: Delay Paired property until SDP completes To make it easier for clients to know when SDP has completed, and to make the property consistent with the timing of the Device1.Pair() method return it makes sense to delay the "Paired" property change until SDP has completed. Johan Hedberg 12 years ago 1 file, +11, -1
5cbdfbd8 input: Automatically attempt a reconnect when required. The HID 1.1 spec requires a host to attempt a reconnection when a HID device goes out of range and comes back. There is test (see TP/HCE/BV-04-I [Host Initiated Re-connection]) to ensure that the host initiates the connection when that happens. This patch adds a reconnection timer for HID devices trying to reconnect every 30s for a maximum of 3 minutes after the connection to a HID device with a ReconnectMode of "host" or "any" is closed. Alex Deymo 12 years ago 1 file, +67, -0
ae4186ce input: Fix memory leak for hidp_connadd_req. If the struct input_device is destroyed while a hidp_connad_req is pending, the input_device will be destroyed leaking the associated memory. ==30790== 492 (168 direct, 324 indirect) bytes in 1 blocks are definitely lost in loss record 199 of 216 ==30790== at 0x4C29DB4: calloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==30790== by 0x4E7FAE0: g_malloc0 (gmem.c:189) ==30790== by 0x4378E4: hidp_add_connection (device.c:365) ==30790== by 0x438055: input_device_connected (device.c:525) ==30790== by 0x4380DA: interrupt_connect_cb (device.c:548) ==30790== by 0x443508: connect_cb (btio.c:230) ==30790== by 0x4E79D52: g_main_context_dispatch (gmain.c:2539) ==30790== by 0x4E7A09F: g_main_context_iterate.isra.23 (gmain.c:3146) ==30790== by 0x4E7A499: g_main_loop_run (gmain.c:3340) ==30790== by 0x448CCC: main (main.c:583) Alex Deymo 12 years ago 1 file, +5, -0
65add82a input: Convert gboolean to bool Remove some usage of gboolean in favor of bool. Alex Deymo 12 years ago 1 file, +3, -3
fb97136a input: Implement the new ReconnectMode Input1 property. The "Connectability" of a HID device, as defined by the HID spec, governs the way the host may and should connect to a HID device or expect a connection from it. In the comon case of mice and keyboards the HIDNormallyConnectable is FALSE and HIDReconnectInitiate is TRUE, since those devices only attempt a connection to the host when they have some data to transfer. A connection attempt initiated from the host after the device drops the connection (while still paired) will result in a Page timeout. This patch exposes a new property called "ReconnectMode" combining the those two SDP attributes as shown in the Connectability section of the HID spec (see section 5.4.2). The property can have one of the following four values: "None", "Device", "Host", "Any", and is derived from the SDP cached value on device creation even if the device is off. Alex Deymo 12 years ago 1 file, +88, -0
be37902b input: Documentation for new Input1 interface Adds documentation for a new Input1 interface explaining a new "ReconnectMode" property that exposes the Connectability mode of a HID device. Alex Deymo 12 years ago 1 file, +32, -0
6ebbf94b tools: Fix AVRCP parsing of GetFolderItems for folders and items Length of name is 2 bytes not 1 Luiz Augusto von Dentz 12 years ago 1 file, +8, -8
1e0aa261 emulator: Remove extended features from LE-only controllers Johan Hedberg 12 years ago 1 file, +5, -3
d311de12 emulator: Move Event Mask Page 2 from BR/EDR to BR/EDR/LE Johan Hedberg 12 years ago 1 file, +1, -1
449ab3a1 emulator: Add proper supported commands response values Johan Hedberg 12 years ago 1 file, +112, -0
d4405c37 emulator: Add missing command support checks Johan Hedberg 12 years ago 1 file, +6, -0
711b7e30 emulator: Add basic HCI_Set_Event_Mask_Page_2 support Johan Hedberg 12 years ago 1 file, +11, -0
4c4726d1 emulator: Add sync train parameter reading support Johan Hedberg 12 years ago 1 file, +19, -0
611d1d2c emulator: Fix extended features invalid params response Johan Hedberg 12 years ago 1 file, +18, -8
b6e28da5 monitor: Fix missing byte order conversions Johan Hedberg 12 years ago 1 file, +2, -2
c073bc5f monitor: Add support for decoding read sync train params response Johan Hedberg 12 years ago 2 files, +22, -1
81403069 obexd: Fix make distcheck ../obexd/client/map.c:43:17: fatal error: sdp.h: No such file or directory Luiz Augusto von Dentz 12 years ago 1 file, +1, -1
8b814130 tools: Fix mpris-player not forwarding method calls properly This fixes not sending methods calls to players, it now copies the contents of the original message into the copy instead of relying on dbus_message_copy and send the reply back. Luiz Augusto von Dentz 12 years ago 1 file, +97, -43
ddb4dbd0 emulator: Add support for local features page 2 Johan Hedberg 12 years ago 1 file, +15, -2
937a941f sdptool: Use macro to calculate array size Luiz Augusto von Dentz 12 years ago 1 file, +18, -17
5062b144 tools: Add MAS profile attributes Luiz Augusto von Dentz 12 years ago 1 file, +8, -1
943d6daf test: Fix opp-client not printing progress This avoid KeyError expection and fixes print usage. Luiz Augusto von Dentz 12 years ago 1 file, +7, -5
4ee201a5 obexd: Read service attributes when instantiating MAP session Parse the service attributes mas_instance_id and supported_message_types from the transport's service attributes as soon as a connection is established. Christian Fetzer 12 years ago 1 file, +29, -2
41d61ddc lib: Add attributes MASInstanceID and SupportedMessageTypes Christian Fetzer 12 years ago 1 file, +2, -0
f4bf0875 obexd: Add obc_session_get_attribute to session This adds a obc_session_get_attribute function to the client session. The function allows querying the session specific service attributes. Christian Fetzer 12 years ago 2 files, +12, -0
cb59ec78 obexd: Add bluetooth_getattribute to Bluetooth transport This function makes the cached SDP attributes available for the profile implementations. Christian Fetzer 12 years ago 1 file, +24, -0
e0c744c9 obexd: Add getattribute to obc_transport This adds a getattribute function pointer to obc_transport, which allows transports to provide the session specific service attributes. Christian Fetzer 12 years ago 1 file, +1, -0
e163a915 obexd: Cache SDP record in bluetooth transport This caches the SDP record of the active session in the Bluetooth transport. Christian Fetzer 12 years ago 1 file, +10, -2
1ed57cae gatttool: Use error message prefixes consistently Replace rl_printf() calls with macros that add appropriate prefixes. Alvaro Silva 12 years ago 1 file, +56, -51
64868f23 gatttool: Show info message when no primary service is found Eder Ruiz Maria 12 years ago 1 file, +10, -0
165803d4 gatttool: Use bluetoothctl strategy for unix signal handling Now to exit from gatttool at interactive mode, user must use SIGTERM(15) or press Ctrl+D. SIGINT(2) or Ctrl+C just flushes typed characters and breaks line. Eder Ruiz Maria 12 years ago 1 file, +83, -0
Previous Next