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

RE: Re2:[bluetooth-dev] Then what ??



Those messages are from ppp. The initiating side sends Configure-requests but does not get any reply from its peer, thus giving up.

Have you tried to setup ppp on a null modem cable, without any BT at all? If that does not work, ppp over BT will fail as well.
regards
Jonas Dellenvall

>     I have reached to where you were just now. And
> really, I'm wondering what I can do about it ?
> However, on the client side, I have 10 successive ~~
>    sent[LCP ConfReq id=0x1 <mru552> <asyncmop>        
>      <magic0x86fc3a1> <pcomp><accomp>
> then
>    LCP: timeout sending Config-Requests
>    Connection terminated
> 
>    Have you experienced this ? Do you now know what
> you can do after reaching this point ?
> 
> Best Regards,
> Calvin Tsang
> ****************************************
> 
> Gustav Svensson wrote:
> 
> > I have gotten the messages as shown in the attatched
> file after I have
> > connected the bluetooth devices.
> >
> > In the file the information from /proc/bt is
> included aswell.
> >
> > does the state I am in now mean that I have succeded
> to create a ppp
> > connection?
> >
> > if so, how do I send data betwene the two devices?
> How do I make use of
> > ppp? please give some example.
> >
> >  
> --------------------------------------------------------------
> ----------
> > !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
> > Client Side
> > !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
> >
> > /proc/bt:
> >
> > [Bluetooth Status]
> > ----------------------------------------
> > bytes received :         0
> > bytes sent     :         0
> >
> > [RFCOMM]
> >
> > line[0] mtu[667] dlci#0 state[CONNECTED]
> > line[0] mtu[667] dlci#2 state[CONNECTED]
> >
> > [L2CAP]
> >
> > local bd :[00:d0:b7:03:0e:d8]
> > lcid[65] rcid[65] state[OPEN] psm[RFCOMM]
> > r_bd[00:80:37:12:21:64] remote_mtu[672] clnt[yes]
> link_up[yes]
> >
> > ----------------------------------------
> >
> > Bluetooth Control Application
> > -----------------------------
> > Running as client
> > Serdev /dev/ttyS0, btdev /dev/ttyBT0, speed 57600
> baud
> > Initializing ericsson HW
> > Registered bluetooth line discipline on /dev/ttyS0
> > Init stack
> > Modem emulation set to 1
> > Setting write_scan_enable in Ericsson module!
> > Setting baudrate in Ericsson module!
> > Now entering cmd line mode
> >
> > Menu
> > ------------------------
> >   con <xx:xx:xx:xx:xx:xx> <profile>
> >   disc <handle>
> >   send <nbr bytes> <nbr repeats>
> >   me <1/0>
> >   setbd <xx:xx:xx:xx:xx:xx>
> >   readbd
> >   reset
> >   ppp
> >   quit
> > > readbd
> > Current bd addr : 00:D0:B7:03:0E:D8
> > > con 00:80:37:12:21:64 0
> > Connecting to bd: 00:80:37:12:21:64
> > using profile: 0
> > Stack returned handle 0
> > > ppp
> > Starting ppp client on /dev/ttyBT0
> > Spawned pppd[646] in the background.
> > Using interface ppp0
> > Connect: ppp0 <--> /dev/ttyBT0
> >
> > !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
> > Server side:
> > !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
> >
> > /proc/bt
> > [Bluetooth Status]
> > ----------------------------------------
> > bytes received :         0
> > bytes sent     :         0
> >
> > [RFCOMM]
> >
> > line[0] mtu[667] dlci#0 state[CONNECTED]
> > line[0] mtu[667] dlci#2 state[CONNECTED]
> >
> > [L2CAP]
> >
> > local bd :[00:80:37:12:21:64]
> > lcid[65] rcid[65] state[OPEN] psm[RFCOMM]
> > r_bd[00:d0:b7:03:0e:d8] remote_mtu[672] clnt[no]
> link_up[yes]
> >
> > ----------------------------------------
> >
> > Bluetooth Control Application
> > -----------------------------
> > Running as server
> > Serdev /dev/ttyS0, btdev /dev/ttyBT0, speed 57600
> baud
> > Initializing ericsson HW
> > Registered bluetooth line discipline on /dev/ttyS0
> > Init stack
> > Modem emulation set to 1
> > Setting write_scan_enable in Ericsson module!
> > Setting baudrate in Ericsson module!
> > Now entering cmd line mode
> >
> > Menu
> > ------------------------
> >   con <xx:xx:xx:xx:xx:xx> <profile>
> >   disc <handle>
> >   send <nbr bytes> <nbr repeats>
> >   me <1/0>
> >   setbd <xx:xx:xx:xx:xx:xx>
> >   readbd
> >   reset
> >   ppp
> >   quit
> > > readbd
> > Current bd addr : 00:80:37:12:21:64
> > > ppp
> > Starting ppp server on /dev/ttyBT0
> > Spawned pppd[429] in the background.
> > Using interface ppp0
> > Connect: ppp0 <--> /dev/ttyBT0
> 
> ____________________________________________________________
> Do You Yahoo!?
> Get your free @xxxxxxx.uk">http://mail.yahoo.co.uk
> or your free @xxxxxxx.ie">http://mail.yahoo.ie
>