Cancel Openobex SendFile

"Alexander Werle" <[email protected]>
Newsgroups gmane.linux.bluez.devel
Message-ID <[email protected]>
Hi List,

 

I wrote a tool which sends a short text file to each mobile device that comes in reach. For that purpose I'm using the SendFile method from the openobex dbus-api. If the receiver accepts the file the send process is started and finished correctly, but when the receiver doesn't accept the file transfer my tool is blocked until the receiver finishes the accept dialog. By now I'm trying to implement some timeout mechanism by using the Cancel () method on the established session, but I only get a no reply warning. Disconnecting and closing the session doesn't work until the operation in progress is stopped. Has anybody experience in stopping an started obex transfer? Does the Cancel method need any parameters I'm missing?

 

Thx in advance!

Alexander Werle
Telefon 0261/50086-19
Telefax 0261/50086-29
E-Mail: [email protected] <mailto:[email protected]> 
http://www.huebinet.de <http://www.huebinet.de>  

HUEBINET Informationsmanagement GmbH & Co. KG
Maria Trost 23
56070 Koblenz

Sitz und Registergericht: Koblenz HRA 5329

Persönlich haftender Gesellschafter der KG:
HUEBINET GmbH;
Sitz und Registergericht: Koblenz HRB 6857

Geschäftsführung:
Frank Hüttmann; Michael Biemer


Der Nachrichtenaustausch mit HUEBINET Informationsmanagement GmbH & Co. KG, Koblenz via E-Mail dient lediglich zu Informationszwecken. Rechtsgeschäftliche Erklärungen mit verbindlichem Inhalt können über dieses Medium nicht ausgetauscht werden, da die Manipulation von E-Mails durch Dritte nicht ausgeschlossen werden kann.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.