Bluetooth and cell phones

Maksim Yevmenkin maksim.yevmenkin at savvis.net
Mon Aug 23 09:34:13 PDT 2004


[moving into freebsd-bluetooth]

Kirill Bezzubets wrote:

[...]

>>(On a side note, I'm trying to get my new Sony Ericsson T637 phone 
>>connected via bluetooth to my FreeBSD laptop for surfing and such.  If 
>>anyone has a good link, I'm interested).
> 
> /usr/share/examples/netgraph/bluetooth/rc.bluetooth
> 
> man hcsecd
> 
> # cat bt-gprs
> #!/bin/sh
> rfcomm_sppd -a kaji.nokia -b -c 1 -t /dev/ttypa
> sleep 2
> ppp -ddial btgprs
> 
> Feel free to ask me if you need anything more - e.g. config files etc.

hmmm... i'm just curious why are you using SP (Serial Port) profile? it 
is not wrong and it will work but such configuration is prone to errors. 
basically you have two processes: rfcomm_sppd(8) and ppp(8) and you 
really want to synchronize them, i.e. ppp(8) should only be started 
after rfcomm_sppd(8) successfully connected. that is what rfcomm_pppd(8) 
does. does your phone support DUN profile? if rfcomm_pppd(8) does not 
work for you, please let me know and i will fix it (if possible).

thanks,
max




> 
> 
>>Thanks!
>>Eric
>>
>>
>>-- 
>>------------------------------------------------------------------
>>Eric Anderson     Sr. Systems Administrator    Centaur Technology
>>Talk sense to a fool and he calls you foolish.
>>------------------------------------------------------------------
>>
>>_______________________________________________
>>freebsd-mobile at freebsd.org mailing list
>>http://lists.freebsd.org/mailman/listinfo/freebsd-mobile
>>To unsubscribe, send any mail to "freebsd-mobile-unsubscribe at freebsd.org"
> 
> 




More information about the freebsd-bluetooth mailing list