| 4586a896 |
obexd: Add obex_get_id, which returns an device id.
This function returns a string that is unique to each client. For now
it is only implemented for Bluetooth. |
Vinicius Costa Gomes |
13 years ago |
2 files, +19, -0 |
| 8920177e |
obexd: Adds set path function for the phonebook back-ends
Add an empty implementation of set path function for ebook and dummy
back-ends. Folder name validation should be perfomed by each back-end. |
Claudio Takahasi |
13 years ago |
4 files, +27, -77 |
| 84786d59 |
obexd: Remove all the uses of obex_rsp_t |
Vinicius Costa Gomes |
13 years ago |
6 files, +104, -108 |
| c929ba22 |
obexd: Don't add the header length if it is unknown on get responses |
Claudio Takahasi |
13 years ago |
2 files, +6, -3 |
| 32f70b67 |
obexd: Removes direct access of obex session fields on filesystem plugin |
Claudio Takahasi |
13 years ago |
5 files, +25, -34 |
| 9a0c3a54 |
obexd: Cleanup of the opp service |
Vinicius Costa Gomes |
13 years ago |
3 files, +10, -2 |
| 171d3aec |
obexd: Cleaning up the ftp service
Now, all access to session information is done through the proper
channels. |
Vinicius Costa Gomes |
13 years ago |
3 files, +36, -13 |
| 994f21ff |
obexd: Adds evolution set path validation |
Claudio Takahasi |
13 years ago |
1 file, +47, -1 |
| 2e2c48df |
obexd: Initial support for mimetype drivers on PBAP
Initial step to convert the current PBAP implementation to mimetype
driver approach. This patch breaks ebook driver support temporarily. |
Claudio Takahasi |
13 years ago |
11 files, +277, -651 |
| f551be81 |
obexd: Move D-Bus interface name declarations to manager.c |
Claudio Takahasi |
13 years ago |
2 files, +5, -7 |
| 0c2498c8 |
obexd: Cleanup of check put function of OBEX service driver |
Claudio Takahasi |
13 years ago |
8 files, +44, -57 |
| 5ec3275a |
obexd: Rename some obexd core functions
It is not necessary add "session" in the name of these functions since
the first argument is the obex session structure. The following
functions were renamed: obex_session_get_name, obex_session_get_size
and obex_session_get_type. |
Claudio Takahasi |
13 years ago |
6 files, +22, -26 |
| d485fe8b |
obexd: Cleanup of put function of OBEX service driver |
Vinicius Costa Gomes |
13 years ago |
5 files, +40, -61 |
| eaa0966a |
obexd: Cleanup of set path function of OBEX service driver |
Claudio Takahasi |
13 years ago |
5 files, +91, -85 |
| cec04075 |
obexd: Cleanup of get function of OBEX service driver |
Vinicius Costa Gomes |
13 years ago |
7 files, +96, -115 |
| 52f3b2bf |
obexd: Moves some declarations to the proper header files |
Claudio Takahasi |
13 years ago |
5 files, +28, -28 |
| 0db1e45d |
obexd: Cleanup of the progress function of the OBEX service driver |
Vinicius Costa Gomes |
13 years ago |
5 files, +10, -6 |
| ac94e9bd |
obexd: Initial core cleanup
Changed connect function of OBEX service driver to avoid access internal
obex session structure attributes. |
Claudio Takahasi |
13 years ago |
10 files, +79, -54 |
| 19a64b7b |
obexd: Fix missing break statement |
Vinicius Costa Gomes |
13 years ago |
1 file, +1, -0 |
| fcdfa4a7 |
obexd: Add possibility to explicitly specify source/dest channel in BtIO
This is needed e.g. to create RFCOMM TTY's from incoming connections
since in that case the remote (clients) RFCOMM channel needs to be known
for the RFCOMMCREATEDEV ioctl. |
Johan Hedberg |
13 years ago |
2 files, +8, -0 |
| 815bfac9 |
obexd: Cleanup of disconnect function of OBEX service driver |
Claudio Takahasi |
13 years ago |
8 files, +31, -75 |
| b4b8ffbf |
obexd: Fix security level for server sockets
Now that BtIO defaults to MEDIUM security level we need to explicitly
set the level to LOW for OPP. |
Johan Hedberg |
13 years ago |
1 file, +6, -7 |
| f3aa8ede |
obexd: Cleanup of reset function of OBEX service driver |
Claudio Takahasi |
13 years ago |
6 files, +13, -11 |
| 6ec3395f |
obexd: Make BtIO default security level MEDIUM
MEDIUM makes more sense than the kernel default LOW which maps to "no
bonding" with SSP (something that's useful only for very special cases
such as OPP). |
Johan Hedberg |
13 years ago |
1 file, +1, -0 |
| b87eef88 |
obexd: Fix sending packets before they are full
Packets should be full, expect the last piece, before they can be send to
achieve faster transfer speeds. |
Luiz Augusto Von Dentz |
13 years ago |
1 file, +23, -16 |
| be404857 |
obexd: Fix file corruption during PUT
In some cases file corruption would occur, because the order of
the arguments to memmove was inverted. |
Vinicius Costa Gomes |
13 years ago |
1 file, +1, -1 |
| bdf845d3 |
obexd: Fix writing to errno
The primary intention of this is to avoid writing to errno since it
belongs to libc, but we also follow posix recomendation to have the
errno as return:
"All POSIX.1c functions avoid using errno and, instead, return
the error number directly as the function return value, with a
return value of zero indicating that no error was detected. This
strategy is, in fact, being followed on a POSIX-wide basis for
all new functions." |
Luiz Augusto Von Dentz |
13 years ago |
4 files, +89, -57 |
| fd6e896d |
obexd: Fix blocking while waiting capability script to exit
Make use of recented introduced async io on core to suspend while waiting
the capability script to return. |
Luiz Augusto Von Dentz |
13 years ago |
1 file, +101, -22 |
| c672335e |
obexd: Add set_io_watch to mimetype drivers
This should enable async drivers where read/write may block to return
EAGAIN which makes the core to wait until the data is available. |
Luiz Augusto Von Dentz |
13 years ago |
4 files, +160, -3 |
| ab847c9c |
obexd: Coding style cleanup |
Johan Hedberg |
13 years ago |
1 file, +9, -11 |
| 9aa191e3 |
obexd: Fix service driver selection when WHO header is informed
Drivers which support WHO header should be checked first since they have
priority e.g. pcsuite over ftp. |
Luiz Augusto Von Dentz |
13 years ago |
1 file, +7, -3 |
| ff2c4313 |
obexd: Fix bug on ftp plugin when mimetype exists but is unknown
The code was returning FALSE (0) when it should return a posix error thus
causing a unkown mimetype to not be handle by mimetype drivers as it
should. |
Luiz Augusto Von Dentz |
13 years ago |
1 file, +1, -1 |
| 71f571dc |
obexd: the session is shutdown when the agent exits the bus |
Vinicius Costa Gomes |
13 years ago |
1 file, +21, -15 |
| 00f7eef8 |
obexd: Fix the response of PUT requests for PBAP
When the plugin doesn't implement the put callback the default behaviour
is to respond with the NOT_IMPLEMENTED code. Making the chkput callback
return -EINVAL we force the response to be BAD_REQUEST which is what the
PBAP spec mandates. |
Vinicius Costa Gomes |
13 years ago |
1 file, +8, -1 |
| c53cb03d |
obexd: Fix pcsuite WHO header |
Luiz Augusto Von Dentz |
13 years ago |
1 file, +5, -5 |
| b2b8fbbe |
obexd: Improve the error message when setting up the bus name |
Vinicius Costa Gomes |
13 years ago |
1 file, +3, -6 |
| 0338eb46 |
obexd: Allow to plugin's chkput to be called for all cases
For some situations it is useful to have chkput called even if we
don't implement put. |
Vinicius Costa Gomes |
13 years ago |
1 file, +2, -2 |
| 7480d476 |
obexd: Add support for using the logging infrastructure from obexd |
Vinicius Costa Gomes |
13 years ago |
3 files, +59, -17 |
| f4e714d8 |
obexd: Fix issue when opening the file fails during SendFiles
When this happens we must somehow inform the user that it has failed. |
Vinicius Costa Gomes |
13 years ago |
1 file, +24, -12 |
| a6b5edd8 |
obexd: Fix error code response when there's no default vCard
The correct error code when there's no default vCard for OPP should be
NOT_FOUND. |
Vinicius Costa Gomes |
13 years ago |
1 file, +5, -2 |
| aee36d34 |
obexd: Fix a memory leak when opening a folder for listing |
Vinicius Costa Gomes |
13 years ago |
1 file, +5, -0 |
| 08b77c9f |
obexd: Use private session DBusConnection at obexd server side |
Forrest Zhao |
13 years ago |
1 file, +2, -1 |
| f553ad72 |
obexd: Fix a memory leak in manager_init() in src/manager.c |
Forrest Zhao |
13 years ago |
1 file, +4, -1 |
| a7c0fb33 |
obexd: Introduce obex_dbus_get_connection() to obexd server
so that session DBusConnection is retrieved by obex_dbus_get_connection()
at obexd server side |
Forrest Zhao |
13 years ago |
3 files, +11, -1 |
| 30817692 |
obexd: Fix some missed copyrights |
Marcel Holtmann |
13 years ago |
2 files, +2, -2 |
| 00deeee3 |
obexd: Update Nokia copyrights
Update Nokia copyrights and remove any INdT mentions (since INdT doesn't
actually own the copyright to anything due to being contracted by
Nokia). |
Johan Hedberg |
13 years ago |
9 files, +9, -15 |
| 4174e904 |
obexd: Update copyright information |
Marcel Holtmann |
13 years ago |
34 files, +34, -34 |
| a5cbe822 |
obexd: Port synce plugin to use g_dbus_add_signal_watch |
Luiz Augusto Von Dentz |
13 years ago |
1 file, +25, -66 |
| c0817920 |
obexd: Update Intel copyrights |
Marcel Holtmann |
13 years ago |
10 files, +10, -10 |
| 35d124c8 |
obexd: Fix handling of the response of the Request() method
The response was being ignored, now this will allow the agent to cancel
operations it doesn't want anymore and to change the name of the
object being sent. |
Vinicius Costa Gomes |
13 years ago |
1 file, +263, -141 |