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
Claudio Takahasi
807f9b7481
obexd: Added ListFolder method skeleton
2012-12-04 22:47:53 +01:00
Claudio Takahasi
00ec4eebd1
obexd: Removed folder parameter from ListFolder method
2012-12-04 22:47:53 +01:00
Vinicius Costa Gomes
9a3271cdea
obexd: Removes the agent watch if the agent is released
2012-12-04 22:47:52 +01:00
Vinicius Costa Gomes
2a53e26f65
obexd: Do not register the transfer interface if it was already registered
2012-12-04 22:47:52 +01:00
Vinicius Costa Gomes
6a682e9491
obexd: Only try to send messages to the agent if there's one registered
2012-12-04 22:47:52 +01:00
Vinicius Costa Gomes
ea811042ef
obexd: Removes the disconnect watch when the session is freed
2012-12-04 22:47:52 +01:00
Vinicius Costa Gomes
f97b09d4e3
obexd: Implements FTP PutFile
2012-12-04 22:47:52 +01:00
Vinicius Costa Gomes
23e6e28fb0
obexd: Support changing the filename that will be sent in the OBEX header
2012-12-04 22:47:52 +01:00
Claudio Takahasi
e356794180
obexd: Added ChangeFolder method implementation
2012-12-04 22:47:52 +01:00
Claudio Takahasi
67006129b1
obexd: Use Folder Browsing UUID length constant defined in gwobex
2012-12-04 22:47:52 +01:00
Claudio Takahasi
04b3834419
obexd: Use Folder Browsing UUID defined in gwobex.
2012-12-04 22:47:52 +01:00
Claudio Takahasi
4fafb9bae7
obexd: Added target_len in the session_data struct
2012-12-04 22:47:52 +01:00
Vinicius Costa Gomes
0b0e51f7c6
obexd: Do not create the session if the RFCOMM connection fails
2012-12-04 22:47:52 +01:00
Vinicius Costa Gomes
84f15bd2da
obexd: Adds AssignAgent and RemoveAgent
2012-12-04 22:47:52 +01:00
Marcel Holtmann
a713c4b801
obexd: Add skeleton for ExchangeBusinessCards method
2012-12-04 22:47:52 +01:00