| 789fcf9a |
obexd: Removes the owner disconnect watch when removing closing the session |
Vinicius Costa Gomes |
13 years ago |
2 files, +6, -2 |
| 99291524 |
obexd: Dealing with folder listings
When the object size is unknown ends the transfer as soon as the first
packet arrives. |
Vinicius Costa Gomes |
13 years ago |
2 files, +5, -2 |
| 91b2a8d8 |
obexd: Do not try to send a error notification if the path is invalid |
Vinicius Costa Gomes |
13 years ago |
1 file, +1, -1 |
| cceb7615 |
obexd: Closes the session when the client leaves the bus |
Vinicius Costa Gomes |
13 years ago |
1 file, +9, -0 |
| 2874ef95 |
obexd: Adds Session Close method |
Vinicius Costa Gomes |
13 years ago |
3 files, +56, -0 |
| 2632843b |
obexd: Check for allocation failure when sending messages to the agent |
Vinicius Costa Gomes |
13 years ago |
1 file, +6, -0 |
| cc219ecc |
obexd: Removes memory leaks when the transfer ends |
Vinicius Costa Gomes |
13 years ago |
1 file, +40, -25 |
| 128371fa |
obexd: Implements CreateFolder |
Vinicius Costa Gomes |
13 years ago |
1 file, +15, -0 |
| fb567c8a |
obexd: Adds Error to Agent methods
We needed a way to inform the agent that some error happened
during a transfer. |
Vinicius Costa Gomes |
13 years ago |
1 file, +39, -6 |
| d1356b6a |
obexd: Ignore NULL sent in x-obex/folder-listing replies
Some broken implementations send send NULL at the ending
of the listing. |
Claudio Takahasi |
13 years ago |
1 file, +9, -0 |
| 41f9926c |
obexd: Fixed segmentation fault: ListFolder doesn't register transfer path |
Claudio Takahasi |
13 years ago |
1 file, +3, -4 |
| 8cd6bfd8 |
obexd: Added Delete method for Transfer interface |
Claudio Takahasi |
13 years ago |
1 file, +16, -0 |
| 59f1b415 |
obexd: Remove unecessary variable |
Johan Hedberg |
13 years ago |
1 file, +2, -3 |
| 0e008483 |
obexd: A little simplification
Moving transfer termination (closing and freeing it)
inside unregister_tranfer, to avoid repeated code. |
Vinicius Costa Gomes |
13 years ago |
1 file, +10, -20 |
| cb856533 |
obexd: Close bluetooth socket when bluetoothd is not running.
obexd depend on bluetoothd for both link key and authorization, so it
make no sense to leave a socket listen since obexd will be unable to
accept any incoming connection. |
Luiz Augusto von Dentz |
13 years ago |
4 files, +81, -44 |
| 649cd5a7 |
obexd: Initialize services bit mask to 0 |
Johan Hedberg |
13 years ago |
1 file, +1, -1 |
| 87b420b8 |
obexd: Try to reopen the tty once if the connection gets dropped
This ensures that we're back monitoring the tty in case the client sends
a OBEX Disconnect which in the current code always does a
OBEX_TransportDisconnect. This patch is also preparation for the next
step where we should be able to re-initialize the tty through some
external trigger (e.g. a SIGUSR1 signal). |
Johan Hedberg |
13 years ago |
3 files, +29, -3 |
| e114d23e |
obexd: Use the OBEX Connect command for server selection
Instead of pre-assigning a specific application profiles(OPP, FTP,
PBAP, etc) for each server, allow one server to have multiple
application profiles and select the one to use with the help of the
Connect commands target header. |
Johan Hedberg |
13 years ago |
5 files, +90, -97 |
| 304d2358 |
obexd: Plug memory leaks |
Johan Hedberg |
13 years ago |
3 files, +11, -3 |
| 8ad5849d |
obexd: Use cfmakeraw() to setup the tty termios settings.
Without this patch the gadget serial drivers produce easily HUP's and
ERR's on the opened tty file descriptor. |
Johan Hedberg |
13 years ago |
1 file, +4, -8 |
| ae649a2b |
obexd: Avoid dupplicated records if FindRecords fails when bluetoothd starts after obexd |
Claudio Takahasi |
13 years ago |
1 file, +1, -1 |
| 3583074d |
obexd: Call AddRecord and FindAdapter asynchronously |
Claudio Takahasi |
13 years ago |
5 files, +340, -210 |
| 801ef25e |
obexd: Fixed memory leak when GET fails |
Claudio Takahasi |
13 years ago |
1 file, +1, -2 |
| 82a42f8b |
obexd: Use utility function to report transfer complete |
Claudio Takahasi |
13 years ago |
1 file, +62, -68 |
| 2ec536a9 |
obexd: Writing the received data into the file |
Claudio Takahasi |
13 years ago |
1 file, +8, -3 |
| aeeacf20 |
obexd: Use utility function to report transfer progress |
Claudio Takahasi |
13 years ago |
1 file, +3, -15 |
| f31e3bc0 |
obexd: Use adapter ANY path to request authorization |
Claudio Takahasi |
13 years ago |
1 file, +9, -36 |
| 52dce7c7 |
obexd: Fix indentation |
Johan Hedberg |
13 years ago |
1 file, +2, -2 |
| 5c263293 |
obexd: Added GetFile implementation |
Claudio Takahasi |
13 years ago |
1 file, +241, -79 |
| 50d7138f |
obexd: Removing memory leaks when setting the target filename |
Vinicius Costa Gomes |
13 years ago |
2 files, +11, -5 |
| b29147c0 |
obexd: Improve the dc_cb/xfer callback workaround
It's in anycase not safe to call these two callbacks at the same time here, but
in case some code does use the dc_cb for calling gw_obex_close (which is quite
a rational thing to do in this case) give it a chance to work. |
Johan Hedberg |
13 years ago |
1 file, +2, -2 |
| 9a0f822e |
obexd: Removes a memory leak |
Vinicius Costa Gomes |
13 years ago |
1 file, +4, -1 |
| 5e0bf2bc |
obexd: Stores the transfer object path in session_data too |
Vinicius Costa Gomes |
13 years ago |
2 files, +23, -20 |
| 1d01254c |
obexd: Change xfer callback and dc_cb order in the event of a disconnection
This is mainly working around a bug in the gwobex API. Since it doesn't have
proper refcounting the xfer callback can free the gwobex ctx and so the second
callback fails. It could of course happen in the other direction too (dc_cb
calls gw_obex_close) but since no known code is using dc_cb it's at least a
little safer this way. |
Johan Hedberg |
13 years ago |
1 file, +2, -2 |
| bff8882e |
obexd: Return an array of dictionary for ListFolder |
Claudio Takahasi |
13 years ago |
2 files, +119, -9 |
| 807f9b74 |
obexd: Added ListFolder method skeleton |
Claudio Takahasi |
13 years ago |
1 file, +75, -30 |
| 00ec4eeb |
obexd: Removed folder parameter from ListFolder method |
Claudio Takahasi |
13 years ago |
1 file, +1, -1 |
| 969cac30 |
obexd: Closes the transfer as the transfer finishes |
Vinicius Costa Gomes |
13 years ago |
1 file, +10, -10 |
| 2a53e26f |
obexd: Do not register the transfer interface if it was already registered |
Vinicius Costa Gomes |
13 years ago |
1 file, +3, -2 |
| 6a682e94 |
obexd: Only try to send messages to the agent if there's one registered |
Vinicius Costa Gomes |
13 years ago |
1 file, +20, -12 |
| ea811042 |
obexd: Removes the disconnect watch when the session is freed |
Vinicius Costa Gomes |
13 years ago |
2 files, +5, -1 |
| 23e6e28f |
obexd: Support changing the filename that will be sent in the OBEX header |
Vinicius Costa Gomes |
13 years ago |
3 files, +13, -8 |
| e3567941 |
obexd: Added ChangeFolder method implementation |
Claudio Takahasi |
13 years ago |
1 file, +16, -0 |
| 67006129 |
obexd: Use Folder Browsing UUID length constant defined in gwobex |
Claudio Takahasi |
13 years ago |
1 file, +1, -1 |
| 4fafb9ba |
obexd: Added target_len in the session_data struct |
Claudio Takahasi |
13 years ago |
2 files, +5, -3 |
| 0b0e51f7 |
obexd: Do not create the session if the RFCOMM connection fails |
Vinicius Costa Gomes |
13 years ago |
1 file, +5, -6 |
| 84f15bd2 |
obexd: Adds AssignAgent and RemoveAgent |
Vinicius Costa Gomes |
13 years ago |
1 file, +64, -0 |
| c21b0f9d |
obexd: Disallow SETPATH to directories without executable permission |
Marcel Holtmann |
13 years ago |
1 file, +2, -1 |
| a713c4b8 |
obexd: Add skeleton for ExchangeBusinessCards method |
Marcel Holtmann |
13 years ago |
1 file, +11, -3 |
| f97b09d4 |
obexd: Implements FTP PutFile |
Vinicius Costa Gomes |
13 years ago |
1 file, +16, -0 |