Return-Path: Date: Tue, 29 Jan 2008 13:28:50 +0100 Message-ID: MIME-Version: 1.0 From: "Alexander Werle" To: "BlueZ development" Subject: [Bluez-devel] Cancel Openobex SendFile Reply-To: BlueZ development List-Id: BlueZ development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============1695028417==" Sender: bluez-devel-bounces@lists.sourceforge.net Errors-To: bluez-devel-bounces@lists.sourceforge.net This is a multi-part message in MIME format. --===============1695028417== Content-class: urn:content-classes:message Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C86272.8168E6A0" This is a multi-part message in MIME format. ------_=_NextPart_001_01C86272.8168E6A0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi List, =20 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? =20 Thx in advance! Alexander Werle Telefon 0261/50086-19 Telefax 0261/50086-29 E-Mail: awerle@huebinet.de =20 http://www.huebinet.de =20 HUEBINET Informationsmanagement GmbH & Co. KG Maria Trost 23 56070 Koblenz Sitz und Registergericht: Koblenz HRA 5329 Pers=F6nlich haftender Gesellschafter der KG: HUEBINET GmbH; Sitz und Registergericht: Koblenz HRB 6857 Gesch=E4ftsf=FChrung: Frank H=FCttmann; Michael Biemer Der Nachrichtenaustausch mit HUEBINET Informationsmanagement GmbH & Co. = KG, Koblenz via E-Mail dient lediglich zu Informationszwecken. = Rechtsgesch=E4ftliche Erkl=E4rungen mit verbindlichem Inhalt k=F6nnen = =FCber dieses Medium nicht ausgetauscht werden, da die Manipulation von = E-Mails durch Dritte nicht ausgeschlossen werden kann.=20 =20 ------_=_NextPart_001_01C86272.8168E6A0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable

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:
awerle@huebinet.de
http://www.huebinet.de =

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

Sitz und Registergericht: Koblenz HRA 5329

Pers=F6nlich haftender Gesellschafter der KG:
HUEBINET GmbH;
Sitz und Registergericht: Koblenz HRB 6857

Gesch=E4ftsf=FChrung:
Frank H=FCttmann; Michael Biemer


Der Nachrichtenaustausch mit HUEBINET Informationsmanagement GmbH & = Co. KG, Koblenz via E-Mail dient lediglich zu Informationszwecken. = Rechtsgesch=E4ftliche Erkl=E4rungen mit verbindlichem Inhalt k=F6nnen =FCber dieses Medium = nicht ausgetauscht werden, da die Manipulation von E-Mails durch Dritte nicht ausgeschlossen werden kann. 

 

------_=_NextPart_001_01C86272.8168E6A0-- --===============1695028417== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------- 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/ --===============1695028417== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Bluez-devel mailing list Bluez-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-devel --===============1695028417==--