[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bluetooth-dev] Client Connection over Null Modem



Dear All,
	After these setting, in the client side in the menu, when i type:
>con 00:00:00:00:00:00 0   
>profile 0  => hold in this state

In the same time , the debug window show the it can't find the bt address.
I want to ask any people face this problem before? any solution can solve
this?
Thanks a lot,
From 
Eric Chan
HKUST



On Sat, 7 Oct 2000 lprema@xxxxxxx.com wrote:

> Haiii
>    Just check it out this probably helps U
> 
> 
>  At the btconfig.h file (/include/linux/bluetooth/btconfig.h)
>    ==>  #define HCI_EMULATION (line #44)  //uncomment the line
>  created 'options.ttyBT0' file under directory /usr/sbin/ and /etc/ppp/
> 
>   - the contents of options.ttyBT0 (the same file was created under both
> /usr/sbin/ and /etc/ppp/ directory)
>    ( client side )
> 
>      noauth nodeflate
>      mtu 256
>      debug
>      local
> 
>    (Server side)
>     noauth nodeflate plock
>     mtu 256
>     debug
>     local
>     silent
>     211.47.47.4:311.47.47.9  ---> in my case (you have to change with
> your settings)
>     (211.47.47.4:311.47.47.9  == Host IP addr:Local IP addr)
> 
> // Now compile the module also!!
> 
> #cd Bluetooth
> #cd src
> # make -clean
> #make
> 
> //now go to the Apps  directory
> 
> #cd Bluetooth
> #cd apps
> #make -clean
> #make
> 
> // now insert the modeule  so go bak to src directory   this U have to do
> it for every time //U restrt the machine
> 
> #cd Bluetooth
> #cd src
> #cd insmod bt.o
> 
> // make the port
> 
> # mknode.... what ever the commamd it is their in the Readme.txt
> 
> 
> 
> Then I executed 'btd'.
> (At the moment, Server Linux PC was connected to ethernet port but Client
> PC was not.)
> 
>  Server side
>  $./btd -u /dev/ttyS1  -r server -i no_hw -e 0
> ==> the results are
>  Bluetooth Control Application
> -----------------------------
> Running as server
> ...
> 
> Using interface ppp0
> Connect: ppp0 <--> /dev/ttyBT0
> 
> ==> Holding state
> 
> o Client side
>   $./btd -u /dev/ttyS1 -r client -i no_hw -e 0
> ==> the results are
>  Bluetooth Control Application
> -----------------------------
> Running as client
> ....
> 
> Menu
> -----------------------
> con <xx:xx:xx:xx:xx:xx> <profile>
> ....
> 
> ppp
> quit
> >              ( ==> Holding state)
> > con 00:00:00:00:00:00 0
> > ppp
> Starting ppp client on /dev/ttyBT0
> Spawned pppd[1027] in the background.
> Using interface ppp0
> Connect: ppp<--> /dev/ttyBT0
> .....
> 
> 
> When the connection is established, you can open another window (at the
> side of client or server)
>  then you can ping or telnet.
> 
> All the Best
> 
> Best regards
> Premalatha
> 
> 
> 
> 
> 
>