Active Topics

 


Reply
Thread Tools
scanman717's Avatar
Posts: 74 | Thanked: 13 times | Joined on Jul 2007 @ Florida
#1
Boss just bought me one of these ->http://serialio.com/products/adaptors/BlueSnapXP.php

I spent yesterday making it work with my Kubuntu Notebook. Works great, no more getting up in lifts with a cable and my laptop to fix borked Cisco AP's.

Anyway, How do I get this thing going in Maemo? AFAIK there is no hcidtool scan, no rfcommm etc. I would like to use Minicom, as I have gotten this to work with a USB -> Serial Port -> Cisco Cable and it works great.

Thanks for any direction you can give.
 
Posts: 466 | Thanked: 661 times | Joined on Jan 2009
#2
I think the bluetooth tools are in the bluez-utils-test package in the diablo tools repository. This is a developer repository. See here:
http://repository.maemo.org/#sdk_debian

You need the diablo/tools distro source for bluez tools:
deb http://repository.maemo.org/ diablo/tools free non-free

From other posts I've read in the past, one is supposed to be using dbus for anything bluetooth related and the bluez tools are deprecated.

You might want to try the ITT wiki for bluetooth stuff as well. I'm new here so I am not too familiar with the available content.

I was doing research for a bluetooth mouse a long time ago and found the familiar bluez tools in this package.
 
scanman717's Avatar
Posts: 74 | Thanked: 13 times | Joined on Jul 2007 @ Florida
#3
Thanks!! I got those packages and can do a scan, see the device, make the rfcomm0 entry... But trying to connect, I get connection refused. I think because I cannot send the pin code to authenticate.. How do I do that??

Thanks
 
scanman717's Avatar
Posts: 74 | Thanked: 13 times | Joined on Jul 2007 @ Florida
#4
Ok, got it.. Did not need to send Pin

These are the steps I used to connect to a SerialIO BlueSnapXP. I use this to program Cisco and HP network gear via Console Port.

This works for me.. As always YMMV

I did this on an N810 Diablo

Install minicom --> https://garage.maemo.org/projects/minicom/
Go to http://mulliner.org/nokia770/ -->Install Repository for Diablo
Go to App Manager, install bluez-utils-dist
exit App Manager
Place device in pairing or discovery mode
open X Terminal

$ hcitool scan
Scanning ....
xx:xx:xx:xx:xx:xx Device listed

~$ rfcomm connect 1 xx:xx:xx:xx:xx:xx 1
Connected /dev/rfcomm1 to xx:xx:xx:xx:xx:xx on channel 1
Press Ctl-C for hangup
Open a new X Terminal Window
In X-Terminal Menu, Windows, New Window
minicon -s <----- Only need to do this once.
Serial Port Setup
A: /dev/rfcomm1
E:9600 8N1
Save as dfl <------ To save this config if you wish
Exit
Hit enter a few times and you should get a prompt
next time all you need to do is:
rfcomm connect 1 xx:xx:xx:xx:xx:xx 1
Open a new Window in X Terminal
minicom
I did not have to edit /etc/bluetooth/hcid.conf
I did not have to edit /etc/bluetooth/rfcomm.conf

I hope this helps someone else along the way...
 

The Following 2 Users Say Thank You to scanman717 For This Useful Post:
Reply

Tags
bluetooth, serial, spp


 
Forum Jump


All times are GMT. The time now is 09:43.