tomtom serial connection

Vittorio De Martino vittorio at de-martino.it
Wed Apr 11 17:08:21 UTC 2007


<To Maksim>: 
Yes, I can smoothly pair the tomtom gps to my nokia cellular phone e61. No pin 
is required. The connection via umts is required from time to time by the 
tomtom site to pdate traffic news .
</To Maksim>

I tried the following but  SP doesn't seem to exist

victor$ sudo l2ping -a tomtom
44 bytes from tomtom seq_no=0 time=246.214 ms result=0
44 bytes from tomtom seq_no=1 time=28.889 ms result=0
44 bytes from tomtom seq_no=2 time=31.084 ms result=0
^C
victor$ sudo sdpcontrol -a tomtom search sp
victor$
victor$ sudo  rfcomm_sppd -a tomtom -t /dev/ttyp6 -c 1
rfcomm_sppd: Could not connect socket: Connection refused
victor$ sudo rfcomm_sppd -a tomtom -t /dev/ttyp6 -c 2
rfcomm_sppd: Could not connect socket: Connection refused
victor$ sudo rfcomm_sppd -a tomtom -t /dev/ttyp6 -c 3
rfcomm_sppd: Could not connect socket: Connection refused

Ciao
Vittorio

Alle 20:31, martedì 10 aprile 2007, Maksim Yevmenkin ha scritto:
> On 4/10/07, Iain Hibbert <plunky at rya-online.net> wrote:
> > On Tue, 10 Apr 2007, Eric Anderson wrote:
> > > On 04/10/07 15:04, Vittorio De Martino wrote:
> > > > How can I make it?
> > >
> > > I don't see RFCOMM in the list above.
> >
> > yeah, Vittorio should try
> >         sdpcontrol -a tomtom search sp
> >
> > to see if the 'Serial Port' service is available..
> >
> > > Record Handle: 0x00090001
> > > Service Class ID List:
> > >         Serial Port (0x1101)
> > > Protocol Descriptor List:
> > >         L2CAP (0x0100)
> > >         RFCOMM (0x0003)
> > >                 Protocol specific parameter #1: u/int8/bool 1
> >
> > in the above example, you can connect to channel 1 directly since you
> > know that the Serial Port service is there..
> >
> >         rfcomm_sppd -a xxx -t /dev/ttyp6 -c 1
> >
> > perhaps if Vittorio can't find any serial port, try connecting to all the
> > channels between 1 and 30 to see if he can find the one that the tomtom
> > is listening on.
>
> well, it might or might not work. was tomtom gps previously paired
> with another bluetooth device?
>
> some devices are quite paranoid and will not accept any incoming
> connection unless it comes from "known/trusted" device. if fact, some
> devices wont even advertise service once they were paired. the
> assumption here is that "known/trusted" device saved all required
> information (such as rfcomm channel number, link key or pin code)
> locally and will use it next time to connect.
>
> so, if your tomtom gps supports "pairing" mode you need to put it into
> this mode first time you try to connect "new" device to tomtom gps.
>
> also, as others already pointed out, it is better to use
>
> % sdpcontrol -a xxxx search sp
>
> instead of 'browse'. many devices do not bother to put advertised
> services into public browse group, so 'browse' will not find them.
>
> thanks,
> max


More information about the freebsd-bluetooth mailing list