From owner-freebsd-bluetooth@FreeBSD.ORG Fri Sep 29 12:14:21 2006 Return-Path: X-Original-To: freebsd-bluetooth@freebsd.org Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3E4B016A40F for ; Fri, 29 Sep 2006 12:14:21 +0000 (UTC) (envelope-from jk_aspet@yahoo.com) Received: from web54602.mail.yahoo.com (web54602.mail.yahoo.com [206.190.49.172]) by mx1.FreeBSD.org (Postfix) with SMTP id 2BC0243D76 for ; Fri, 29 Sep 2006 12:13:53 +0000 (GMT) (envelope-from jk_aspet@yahoo.com) Received: (qmail 51418 invoked by uid 60001); 29 Sep 2006 12:13:52 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=hAkC8qAU+vSRgDQ8+NuCZJ3Vphfb8tDX/eNVfD+uOa8E21V9Uq3RWqvroHrhdXR19VONVtjzbWzjIg5Ca5732Cvc3B4+aDJhC3kvhQhCkNmPn9NZTQkuhAau+YqYJv0sZQIzm0RQMp2KH1DHuLuEZ9S6akUKRfIvFZAaqN0mtNs= ; Message-ID: <20060929121352.51416.qmail@web54602.mail.yahoo.com> Received: from [80.56.168.36] by web54602.mail.yahoo.com via HTTP; Fri, 29 Sep 2006 05:13:52 PDT Date: Fri, 29 Sep 2006 05:13:52 -0700 (PDT) From: Priks Rollman To: freebsd-bluetooth@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: j2me bluetooth app using freebsd bluetooth stack X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Sep 2006 12:14:21 -0000 hi all, i was wondering if someone have some experience in developing j2me bluetooth application using freebsd bluetooth stack and could help me to solve my problem? i am running freebsd 6.1 and there is my story.... my usb bluetooth adapter is recognized by the system, so it's ok here. when i plug it I got the following notification from the system about it: >>kernel: ubt0: Broadcom BCM92035DGROM, rev 1.10/0.01, addr 2 there are also no problem with the bluetooth stack initialization. command '/etc/rc.bluetooth start ubt0' works fine. i execute 'hccontrol -n ubt0hci inquiry' command and i get bt addresses of the nearest devices. the problem start at the moment when i execute a j2me application and try to get a bluetooth address of the local device: 'LocalDevice localDevice =LocalDevice.getLocalDevice();' i get the 'javax.bluetooth.BluetoothStateException: JSR082 support is not available.' there is the full output: >Running with storage root DefaultColorPhone >WMAClient: localhost has no IP address: java.net.UnknownHostException: : >Warning: Failed to initialize WMA message routing support >ClientConnector: localhost has no IP address: java.net.UnknownHostException: : >Warning: Failed to initialize Bluetooth (JSR 82) support j>avax.bluetooth.BluetoothStateException: JSR082 support is not available. > at com.sun.kvem.jsr082.bluetooth.LocalDeviceImpl.(+231) >at javax.bluetooth.LocalDevice.getLocalDevice(+72) >at bluetooth.MyBluetoothDevice.(+8) >at java.lang.Class.runCustomCode(+0) >at com.sun.midp.midlet.MIDletState.createMIDlet(+19) >at com.sun.midp.midlet.Scheduler.schedule(+52) >at com.sun.midp.main.Main.runLocalClass(+28) >at com.sun.midp.main.Main.main(+116) i searched for the answer or at least any clue at forums, but was not able to find anything. did anyone have faced this problem before or knows what a possible problem is? thanx in advance, imp --------------------------------- Do you Yahoo!? Get on board. You're invited to try the new Yahoo! Mail.