From owner-freebsd-mobile Sun Mar 16 12:41:55 2003 Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6755637B401 for ; Sun, 16 Mar 2003 12:41:53 -0800 (PST) Received: from gprs1112.eurotel.cz (gprs1112.eurotel.cz [160.218.192.112]) by mx1.FreeBSD.org (Postfix) with ESMTP id 59C8443F93 for ; Sun, 16 Mar 2003 12:41:45 -0800 (PST) (envelope-from pav@oook.cz) Received: from [127.0.0.1] (localhost.oook.cz [127.0.0.1]) by pav.oook.cz (8.12.6/8.12.6) with ESMTP id h2GLdK7b045756; Sun, 16 Mar 2003 21:39:24 GMT (envelope-from pav@oook.cz) Subject: RE: Bluetooth stack for FreeBSD From: Pav Lucistnik To: Maksim Yevmenkin Cc: mobile@freebsd.org In-Reply-To: <790A8B1F40ACA848939EBD247AE490302794F6@scl8ex04.int.exodus.net> References: <790A8B1F40ACA848939EBD247AE490302794F6@scl8ex04.int.exodus.net> Content-Type: text/plain Organization: Message-Id: <1047850759.1356.16.camel@pav.oook.cz> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.2 Date: 16 Mar 2003 21:39:20 +0000 Content-Transfer-Encoding: 7bit Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On ne, 2003-03-16 at 20:01, Maksim Yevmenkin wrote: > great! thank you very much for your time. here is some information > about obexapp. whan connecting to your phone you need to use RFCOMM > channel that has IrMC service. you can use sdptool to find out the > RFCOMM channel number. when staring opexapp in client mode it may > be required to issue "CONnect" command first and then GET. if you > would like to push pictures from your phone to your PC then you need > to run obexapp in server mode. also you need to run sdpd and register > OPUSH service with your local sdpd daemon. so the phone knows where > to find the server. again sdptool can be used to register the local > service. make sure that channel you specify when register OPUSH service > matches the channel you specify in obexapp. I have mixed success with OBEX so far. I can download items from mobile using obexapp connected to IrMC service. But I'm not able to PUT anything to the phone. I always get Bad request response. I'm not able to send anything from phone to PC. I did: # sdpd # sdptool add --channel=10 OBEXP # obexapp -s -C 10 but the phone fails with Connection lost and watching hcidump reveals that HCI connection is not established. Also I don't know how to read current configuration of sdpd, sdptool browse gives me strange results. > also Pav Lucistnik put a nice page at > > http://www.oook.cz/bsd/bluetooth.html > > it might be good idea to visit it from time to time. I will put up section about OBEX when I figure how to use it properly. BTW friend with Nokia 6310i was visiting me today, inquiry works, obexapp downloading works, putting does not work. I haven't chance to test pairing or pppd. What amused me is that I was able to download his whole phone directory without any authentication. -- Pav Lucistnik Pravdepodobne stravil cele dlouhe vecery ve svem stanu a hledal v naucnem slovniku kratka slova zacinajici na v a zkousel, jak by znela... Veni, vermini, vomui. Prisel jsem, nechali me na holickach, pozvracel jsem se? Visi, veneri, vodpali. Navstivil jsem, chytil osklivou chorobu, utekl jsem. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message