Commits

Commit Message Author Age Changes
c682b087 tools/l2cap-tester: Use PSM 0x1001 instead of 0x0001 Using the SDP PSM isn't a good idea since bluetoothd could be running and interfere with the test results. Johan Hedberg 12 years ago 1 file, +5, -5
973dc459 heartrate: Fix D-Bus registration error case If g_dbus_register_interface() fails, the struct heartrate_adapter memory will be freed and therefore the heartrate_adapters list cannot contain such an invalid pointer. Mikel Astiz 12 years ago 1 file, +2, -2
27d9260c cyclingspeed: Fix D-Bus registration error case If g_dbus_register_interface() fails, the struct csc_adapter memory will be freed and therefore the csc_adapters list cannot contain such an invalid pointer. Mikel Astiz 12 years ago 1 file, +2, -2
7c535b16 obexd: Fix coding style Respect 80 column limit Luiz Augusto von Dentz 12 years ago 1 file, +2, -1
1032b07a obexd: Simplify manager_register_session There is no need for a goto as nothing else is done Luiz Augusto von Dentz 12 years ago 1 file, +1, -4
624159e7 obexd: Fix not unregistering interface when a session is detroyed The path used for unregistering is wrong so the Session interface is still reachable after the object is destroyed which can cause crashes such as the following: invalid read of size 8 at 0x4297C4: get_destination (manager.c:286) by 0x41130B: properties_get (object.c:800) by 0x410710: process_message.isra.4 (object.c:258) by 0x3F3461D9C4: ??? (in /usr/lib64/libdbus-1.so.3.7.2) by 0x3F3460FC1F: dbus_connection_dispatch (in /usr/lib64/libdbus-1.so.3.7.2) by 0x40E207: message_dispatch (mainloop.c:76) by 0x3F31A485DA: ??? (in /usr/lib64/libglib-2.0.so.0.3400.2) by 0x3F31A47A54: g_main_context_dispatch (in /usr/lib64/libglib-2.0.so.0.3400.2) by 0x3F31A47D87: ??? (in /usr/lib64/libglib-2.0.so.0.3400.2) by 0x3F31A48181: g_main_loop_run (in /usr/lib64/libglib-2.0.so.0.3400.2) by 0x40DDB2: main (main.c:319) Luiz Augusto von Dentz 12 years ago 1 file, +3, -1
a0c7cfbc manager: remove unused call to obex_getpeername() Gustavo Padovan 12 years ago 1 file, +0, -8
2b7e5ade session: add Source and Destination properties This is useful when we want to know where a incoming OPP transfer, for example, is from. Gustavo Padovan 12 years ago 1 file, +26, -0
4d8c46d4 obex: get src and dst address and store it This commit creates src and dst members in obex_session to later use them to export via Session D-Bus API. Gustavo Padovan 12 years ago 2 files, +8, -0
a8a96498 obex: add obex_getsockname() Allow obex users to get the source device address. Gustavo Padovan 12 years ago 2 files, +11, -0
4e309bd1 bluetooth: add getsockname() entry in the bluetooth driver Gustavo Padovan 12 years ago 1 file, +19, -0
d49c6a28 transport: add getsockname to transport driver Enable other pieces of obex to get the source Bluetooth address. Gustavo Padovan 12 years ago 1 file, +1, -0
157afa4e tools/l2cap-tester: Add invalid PSM client test case Johan Hedberg 12 years ago 1 file, +47, -4
8b112301 tools/l2cap-tester: Refactor to enable per-test test data Johan Hedberg 12 years ago 1 file, +113, -116
65542c90 obexd: Queue delete command Christian Fetzer 12 years ago 1 file, +26, -13
041efe21 obexd: Queue move command Christian Fetzer 12 years ago 1 file, +27, -14
dc208eb1 obexd: Queue copy command Christian Fetzer 12 years ago 1 file, +27, -14
088f2b5b obexd: Queue mkdir command Christian Fetzer 12 years ago 1 file, +26, -14
f68dc7bd obexd: Add file_data struct to session This adds a common file_data struct and related free and complete callbacks to the session. This will be used for queuing the file related commands mkdir, copy, move and delete. Christian Fetzer 12 years ago 1 file, +27, -0
0e856271 obexd: Queue setpath command Christian Fetzer 12 years ago 1 file, +34, -31
2883c4d1 obexd: Use process callback to queue transfers This generalizes the existing queuing of transfers by using the process callback of pending_request. Christian Fetzer 12 years ago 1 file, +13, -6
e66eff4b obexd: Add session_queue Add helper function session_queue that appends a pending_request to the session's command queue. Christian Fetzer 12 years ago 1 file, +11, -7
b79cd0b4 obexd: Add process callback to session's pending_request This adds a process callback and a data destroy callback to the session's pending_request structure. This is needed as preparation of queuing all OBEX session commands. Christian Fetzer 12 years ago 1 file, +29, -15
dc2ad055 tools/l2cap-tester: Add invalid L2CAP PDU test case Johan Hedberg 12 years ago 1 file, +45, -0
a70bd17b emulator: Add handler for L2CAP command reject PDU Johan Hedberg 12 years ago 1 file, +16, -0
1cb6d144 emulator: Add callback mechanism for L2CAP requests Johan Hedberg 12 years ago 3 files, +65, -5
391dbdef emulator: Make bthost L2CAP sender strictly only for requests Johan Hedberg 12 years ago 4 files, +27, -12
97d492f2 emulator: Return used L2CAP ident value from bthost_l2cap_cmd() Johan Hedberg 12 years ago 2 files, +5, -3
870fdb24 shared: Remove unused hciemu functions Johan Hedberg 12 years ago 2 files, +0, -88
33308f4e tools/l2cap-tester: Take advantage of the new hciemu_client_get_host API Johan Hedberg 12 years ago 1 file, +22, -7
251eeba2 shared: Add API to get access to the hciemu bthost instance Johan Hedberg 12 years ago 2 files, +10, -0
01e8818c core: Use a dedicated D-Bus error for rfkill power on failure Johan Hedberg 12 years ago 1 file, +10, -3
4f8952b2 mgmt: Add support for new MGMT_STATUS_RFKILLED Johan Hedberg 12 years ago 1 file, +2, -0
6d4e7785 gdbus: Remove proxies when client disconnects Remove proxies and generate proxy_removed callbacks even when there are no corresponding InterfaceRemoved signals. This patch fixes having zombie gdbus proxy object when a server disconnects without sending InterfaceRemoved signals. These objects may interact with new server instances, for example, making InterfaceAdded signals of new objects with the same name be filtered out as duplicated, or staying allocated, but unused, if the new server doesn't reuse the object paths. Note that as a side-effect, the lifetime of a gdbus proxy becomes stricter: it lives at most for the duration of a single connection to a single instance of a server process. Henrique Dante de Almeida 12 years ago 1 file, +4, -0
232fa391 opp: Register Session interface for OPP transfers The Session interface wasn't registered when a new transfer arrives. Gustavo Padovan 12 years ago 1 file, +3, -0
4c437f5d session: only add Target if it exists Gustavo Padovan 12 years ago 1 file, +9, -1
6a4f5ce4 tools/l2cap-tester: Add basic server socket test case Johan Hedberg 12 years ago 1 file, +87, -4
55bca22b emulator: Add L2CAP connection tracking to bthost Johan Hedberg 12 years ago 1 file, +57, -1
ec2b477c emulator: Add ACL connection tracking to bthost Johan Hedberg 12 years ago 1 file, +98, -6
4f5290a2 emulator: Fix L2CAP Config req/rsp handling in bthost Johan Hedberg 12 years ago 1 file, +36, -3
9b2500ee shared: Add necessary APIs for L2CAP connection initiation to hciemu Johan Hedberg 12 years ago 2 files, +16, -0
c27f48e4 emulator: Fix btdev connectability test (0x02 is page scan) Johan Hedberg 12 years ago 1 file, +1, -1
2d7c9e34 shared: Add new connection callback API to hciemu Johan Hedberg 12 years ago 2 files, +24, -0
948dc088 emulator: Add API to initiate ACL connections Johan Hedberg 12 years ago 2 files, +12, -0
13731162 emulator: Make bthost L2CAP command function public Johan Hedberg 12 years ago 2 files, +10, -7
d54f3c6f emulator: Add ACL connection callback to bthost Johan Hedberg 12 years ago 2 files, +23, -0
ef276c54 monitor: L2CAP Conf Response CID is a Source CID Johan Hedberg 12 years ago 3 files, +5, -5
dfca2fff emulator: Add L2CAP Disconnect Request handler to bthost Johan Hedberg 12 years ago 1 file, +24, -0
58ca55c6 emulator: Simpify bthost L2CAP signaling channel code Johan Hedberg 12 years ago 1 file, +13, -14
09bea07a tools/l2cap-tester: Add basic L2CAP connect failure test case Johan Hedberg 12 years ago 1 file, +42, -4
Previous Next