Marcel Holtmann
2a776169f4
obexd: Return if function type is not provided
2012-12-04 22:48:00 +01:00
Raymond Liu
d184f1d0e1
obexd: Rename SetFilters/GetFilters/ListAllFilters to SetFilter/GetFilter/ListFilterFields
2012-12-04 22:47:59 +01:00
Raymond Liu
df080bdba5
obexd: Add SetFilters and remove AddFilter, RemoveFilter for PBAP client
2012-12-04 22:47:59 +01:00
Raymond Liu
ecd621b972
obexd: Bug fix on session_get, do not register transfer twice
2012-12-04 22:47:59 +01:00
Raymond Liu
99be1da31c
obexd: Minor bug fix on Pull Search Function
2012-12-04 22:47:59 +01:00
Raymond Liu
3a1e6b3e8d
obexd: Implement Filter related function for PBAP client
2012-12-04 22:47:59 +01:00
Raymond Liu
6172e3e51f
obexd: Implement List and Search function for PBAP client
2012-12-04 22:47:59 +01:00
Raymond Liu
6497c0dd5c
obexd: add Pull function for PBAP client
2012-12-04 22:47:59 +01:00
Raymond Liu
690e25c5a0
obexd: add GetSize function for PBAP client
2012-12-04 22:47:59 +01:00
Raymond Liu
ebd3eccc79
obexd: add PullAll function for PBAP client
2012-12-04 22:47:59 +01:00
Raymond Liu
bd34b83f81
obexd: Add SetFormat and SetOrder function for PBAP client
2012-12-04 22:47:59 +01:00
Raymond Liu
75d32c6b3a
obexd: Implement Select function for PBAP Client
2012-12-04 22:47:59 +01:00
Raymond Liu
70f6779621
obexd: Export session_get and minior fix on get_xfer_listing_progess
2012-12-04 22:47:58 +01:00
Raymond Liu
331ea6fd14
obexd: Do not send NULL to g_str_equal for compare
2012-12-04 22:47:58 +01:00
Raymond Liu
258e3f73b0
obexd: Unregister service and session interfaces in session_unref
2012-12-04 22:47:58 +01:00
Marcel Holtmann
081dcc327d
obexd: Fix PBAP interface registration
2012-12-04 22:47:57 +01:00
Raymond Liu
cf27f8d323
obexd: Add framework code for pbap client
2012-12-04 22:47:57 +01:00
Vinicius Costa Gomes
7eccdecbda
obexd: Use the right types when appending the folder listing data
2012-12-04 22:47:57 +01:00
Vinicius Costa Gomes
0206932131
obexd: Sending a error message when some error occurs during folder listing
2012-12-04 22:47:56 +01:00
Vinicius Costa Gomes
ce64bca4cf
obexd: Separate getting a folder listing from getting a file
...
As there are some special conditions involving a folder listing as
no object size, storing everything inside a buffer, this is better left
apart from the "normal" case.
2012-12-04 22:47:56 +01:00
Vinicius Costa Gomes
7bf74c35d9
obexd: Sends a final Progress message when the transfer is complete
2012-12-04 22:47:56 +01:00
Vinicius Costa Gomes
bec136fcac
obexd: Adds support for dynamic buffers
2012-12-04 22:47:56 +01:00
Vinicius Costa Gomes
3570c2513e
obexd: Checks for errors in write when receiving a object
2012-12-04 22:47:56 +01:00
Vinicius Costa Gomes
79c7ab0e3e
obexd: Fixes the dbus signature of the folder listing method
2012-12-04 22:47:56 +01:00
Vinicius Costa Gomes
09364c9d3f
obexd: Do not remove owner watch in the disconnect remove watch callback
2012-12-04 22:47:56 +01:00
Vinicius Costa Gomes
90bd741085
obexd: Separate Session and Transfer properties
2012-12-04 22:47:56 +01:00
Vinicius Costa Gomes
789fcf9ad3
obexd: Removes the owner disconnect watch when removing closing the session
2012-12-04 22:47:55 +01:00
Vinicius Costa Gomes
9929152403
obexd: Dealing with folder listings
...
When the object size is unknown ends the transfer as soon as the first
packet arrives.
2012-12-04 22:47:55 +01:00
Vinicius Costa Gomes
91b2a8d879
obexd: Do not try to send a error notification if the path is invalid
2012-12-04 22:47:55 +01:00
Vinicius Costa Gomes
cceb761559
obexd: Closes the session when the client leaves the bus
2012-12-04 22:47:55 +01:00
Vinicius Costa Gomes
2874ef9574
obexd: Adds Session Close method
2012-12-04 22:47:55 +01:00
Vinicius Costa Gomes
2632843b83
obexd: Check for allocation failure when sending messages to the agent
2012-12-04 22:47:55 +01:00
Vinicius Costa Gomes
0e00848363
obexd: A little simplification
...
Moving transfer termination (closing and freeing it)
inside unregister_tranfer, to avoid repeated code.
2012-12-04 22:47:55 +01:00
Vinicius Costa Gomes
cc219ecc36
obexd: Removes memory leaks when the transfer ends
2012-12-04 22:47:55 +01:00
Vinicius Costa Gomes
128371fa69
obexd: Implements CreateFolder
2012-12-04 22:47:55 +01:00
Vinicius Costa Gomes
fb567c8a20
obexd: Adds Error to Agent methods
...
We needed a way to inform the agent that some error happened
during a transfer.
2012-12-04 22:47:55 +01:00
Johan Hedberg
59f1b41543
obexd: Remove unecessary variable
2012-12-04 22:47:55 +01:00
Claudio Takahasi
d1356b6aac
obexd: Ignore NULL sent in x-obex/folder-listing replies
...
Some broken implementations send send NULL at the ending
of the listing.
2012-12-04 22:47:55 +01:00
Claudio Takahasi
41f9926c59
obexd: Fixed segmentation fault: ListFolder doesn't register transfer path
2012-12-04 22:47:55 +01:00
Claudio Takahasi
8cd6bfd802
obexd: Added Delete method for Transfer interface
2012-12-04 22:47:55 +01:00
Claudio Takahasi
801ef25ea2
obexd: Fixed memory leak when GET fails
2012-12-04 22:47:54 +01:00
Claudio Takahasi
82a42f8b8a
obexd: Use utility function to report transfer complete
2012-12-04 22:47:54 +01:00
Claudio Takahasi
aeeacf204d
obexd: Use utility function to report transfer progress
2012-12-04 22:47:54 +01:00
Claudio Takahasi
2ec536a9e8
obexd: Writing the received data into the file
2012-12-04 22:47:54 +01:00
Claudio Takahasi
5c26329358
obexd: Added GetFile implementation
2012-12-04 22:47:53 +01:00
Vinicius Costa Gomes
50d7138fe7
obexd: Removing memory leaks when setting the target filename
2012-12-04 22:47:53 +01:00
Vinicius Costa Gomes
969cac307c
obexd: Closes the transfer as the transfer finishes
2012-12-04 22:47:53 +01:00
Vinicius Costa Gomes
9a0f822e86
obexd: Removes a memory leak
2012-12-04 22:47:53 +01:00
Vinicius Costa Gomes
5e0bf2bcb4
obexd: Stores the transfer object path in session_data too
2012-12-04 22:47:53 +01:00
Claudio Takahasi
bff8882e6c
obexd: Return an array of dictionary for ListFolder
2012-12-04 22:47:53 +01:00