Hi I have a question for the list. Is there a method of automatically accepting vcards over bluetooth ? Like say you want to have a party and you want to get peoples contact information.
p.s. I know i can just script hcitool scan or use btscanner .... but if some one can answer my question above that would be great! (as device names are fairly long etc.). 2009/7/1 konrad Zielinski <[email protected]>: > Just as a final update. My connection problems have been solved with > some assistence from a coworker :) > > for whatever reason /etc/defaults/bluetooth had enable bluetooth set > to off. and need to be set to on. > > After that it was a case of running: > > sudo bluetooth-wizard > > apperently their is no command line tool that can do pairing at the moment. > > I can now mount my phone via bluetooth. > > regs > > Konrad. > > 2009/7/1 konrad Zielinski <[email protected]>: >> The obex stuff is what I'm looking for however the problem I seem to >> have now is getting my phone and my laptop paired. when I try the obex >> things I get a prompt on my phone asking for a pass code. And I can't >> seem to find any way of setting this code so that pairing can take >> place. >> >> 2009/6/30 elliott-brennan <[email protected]>: >>> Hi Konrad, >>> >>> This is what I sent to someone recently. Let me >>> know how you go. >>> >>> One of the things I've noticed is that Dolphin - >>> the impaired brother of Konqueror - wants to open >>> the files when I click on them. I had trialled >>> KDE4 on my Hardy install but then removed it. It >>> wasn't polished enough. So I've still got Dolphin >>> and it wants to take over in these instances. It >>> seem to work often. >>> >>> One thing to do is ensure you have 'tree view' >>> activated, as this seems to work better in >>> Konqueror for accessing the file system on devices >>> I'm connected to. >>> >>> ***************** >>> >>> Make sure you have: >>> obexftp >>> obexserver >>> quobex >>> bluez-pin >>> bluez-utils >>> kdebluetooth >>> >>> installed. If you don't use KDE just exclude that bit. >>> >>> You may then need to do: >>> >>> sudo /etc/init.d/bluez-utils restart >>> >>> or >>> >>> sudo /etc/init.d/bluetooth restart >>> >>> Make sure that bluetooth is enabled on the phone >>> and that the device is visible or 'findable'. >>> >>> >>> Then, run >>> hcitool scan >>> >>> This gives you the address of the device, and >>> likely the name, such as: >>> >>> 01:14:9a:b3:gc:de Motorola phone >>> >>> >>> Next, run: >>> >>> sdptool browse >>> >>> this helps find the channel >>> >>> The list will be very long. What we're looking for >>> is something like this: >>> >>> ****************** >>> >>> SERVICE is a name (string) or UUID (0x1002) >>> patr...@ubuntu:~/Desktop$ sdptool browse >>> Inquiring ... >>> >>> ... >>> >>> This is what you're looking for. The channel >>> associated with OBEX >>> >>> Service Name: OBEX Object Push >>> Service Description: OBEX Object Push >>> Service Provider: Motorola >>> Service RecHandle: 0x10008 >>> Service Class ID List: >>> "OBEX Object Push" (0x1105) >>> Protocol Descriptor List: >>> "L2CAP" (0x0100) >>> "RFCOMM" (0x0003) >>> Channel: 9 >>> "OBEX" (0x0008) >>> >>> Here it is at the bottom: >>> >>> Channel 9 >>> >>> >>> Okay. This is the interesting part. >>> >>> You now have and address: >>> >>> 01:14:9a:b3:gc:de >>> >>> and a channel: >>> >>> 9 >>> >>> In your file browser, put this in the URL or >>> address window: >>> >>> obex://[01:14:9a:b3:gc:de]:9 >>> >>> Hit enter, and you should get a list of the >>> folders that are on the device you've connected to. >>> >>> I tend to use 'tree view' in my view options. You >>> should then be able to browse, copy from and too, >>> the various folders on the device. >>> >>> On the mobile, you should be able to use an option >>> like 'push' or 'send' to send files to the 'nix >>> box. Make sure you're aware of the pop-up that >>> occurs when your box sees the phone trying to send >>> files to it. >>> >>> For security reasons you should always have to >>> manually approve files being received from a >>> device - also turn off your bluetooth when not needed. >>> >>> See how you go. >>> >>> Regards, >>> >>> Patrick >>> >>> >>> ***************** >>> >>> konrad Zielinski wrote: >>>> Just a couple of notes that may be relevent >>>> >>>> 1) The system I have this working on is 386 Jaunty >>>> The system with problems is amd_64 jaunty >>>> I was incorrect when I said I was running 8.10, it is definetly 9.04 >>>> >>>> 2) I don't normally use Gnome on my laptop so its possible that parts >>>> of what the Gnome Applet expects to be present is absent (though I'm >>>> not getting any useful error messages anywhere that I can see). >>>> >>>> 2009/6/30 elliott-brennan <[email protected]>: >>>>> Hi Konrad, >>>>> >>>>> I have a Nokia N95 8G with the same OS and have got this working 'okay'. I >>>>> understand there are apparently problems with the Ubuntu Bluetooth stack >>>>> (or >>>>> so I'm informed). >>>>> >>>>> When I get home I'll dig out the documentation I wrote up for someone else >>>>> and send it to you. >>>>> >>>>> I'm happy to talk you through it (to the extent I can help) :) >>>>> >>>>> <Thinks: I'm not sure that's saying much really> =) >>>>> >>>>> Regards, >>>>> >>>>> Patrick >>>>> >>>>> >>>>> On 30/06/2009, konrad Zielinski <[email protected]> wrote: >>>>>> I'm trying to connect to my phone (its running symbian OS, s60 ed: 3, >>>>>> fp: 1) This works perfectly fine on my Desktop, but not on my laptop. >>>>>> On the laptop at I can see other devices but I can't establish a >>>>>> connection with them. >>>>>> >>>>>> At a minimum I would like to be able to browse the file system on the >>>>>> phone. Getting the remote s60 Python shell going would be good too. >>>>>> The relevant tools only have instructions for doing this under >>>>>> windows, in a round about way by mapping a comm port to bluetooth and >>>>>> then using pyserial for the interface. I've noticed that there are >>>>>> python bindings for bluetooth so I suspect this can be done more >>>>>> directly. But getting a connection going is still the first step. >>>>>> >>>>>> On balance I'd much rather get this going at the commandline tool then >>>>>> with some gui app. (so far all my attemtps have used hcitool). >>>>>> >>>>>> >>>>>> regs >>>>>> >>>>>> Konrad. >>>>>> >>>>>> >>>>>> 2009/6/30 elliott-brennan <[email protected]>: >>>>>>> Hi Konrad, >>>>>>> >>>>>>>> I'm hoping someone might be able to give me some advice on setting up >>>>>>>> bluetooth. >>>>>>>> >>>>>>> What are you wanting to do with your Bluetooth >>>>>>> adapter? Send/receive files to/from something? >>>>>>> >>>>>>> Regards, >>>>>>> >>>>>>> Patrick >>>>>>> -- >>>>>>> Registered GNU/Linux User 368634 >>>>>>> www.youcantdothatinlinux.com >>>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> read my mind at: http://the-willows.blogspot.com/ >>>>> >>>> >>>> >>>> >>> >>> -- >>> Registered GNU/Linux User 368634 >>> www.youcantdothatinlinux.com >>> >> >> >> >> -- >> read my mind at: http://the-willows.blogspot.com/ >> > > > > -- > read my mind at: http://the-willows.blogspot.com/ > -- > SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ > Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html > -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
