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

Re: [bluetooth-dev] connect probs



Hi Marcus
 Thanks for the response,
 I am using 2 linux boxes over null modem cable  w/o any BT h/w
 on the server side I am trying, 
btd --physdev /dev/ttyS0 --speed 38400 --cmdmode --local 10.0.16.41 --remote 10.0.16.228

and on the client side 
 btd --physdev /dev/ttyS0 --speed 38400 --client --hwinit none

on the server my var/log/messages read as
ash-2.03$ tail -f /var/log/messages
Feb  9 14:38:35 pcd41 kernel: BT SYS: Reading buffer sizes in the module...
Feb  9 14:38:45 pcd41 kernel: Timeout when waiting for command response
Feb  9 14:38:45 pcd41 kernel: BT SYS: Initialising L2CAP
Feb  9 14:38:55 pcd41 kernel: Timeout when waiting for command response
Feb  9 14:38:55 pcd41 kernel: BT SYS: ERROR :Failed to get local BD addr
Feb  9 14:38:55 pcd41 kernel: BT SYS: Initialising RFCOMM
Feb  9 14:38:55 pcd41 kernel: BT SYS: Initialising SDP
Feb  9 14:38:55 pcd41 kernel: BT SYS: Initialising TCS
Feb  9 14:38:55 pcd41 kernel: BT SYS: Initialising BTMEM [2500 bytes]
Feb  9 14:38:55 pcd41 kernel: hci_change_local_name to pcd41.sasi.com.sasi.com
Feb  9 14:39:05 pcd41 kernel: Timeout when waiting for command response
Feb  9 14:39:16 pcd41 kernel: Timeout when waiting for command response
Feb  9 14:39:17 pcd41 kernel: BT SYS: ERROR :set_ericsson_baudrate : Baudrate not supported
Feb  9 14:39:17 pcd41 kernel: BT SYS: set_ericsson_baudrate: Baudrate set command sent
Feb  9 14:39:17 pcd41 kernel: BT SYS: Registering tty on line 0
Feb  9 14:39:31 pcd41 kernel: BT SYS: ERROR :Discarding 4 bytes and waiting forever...


and on the client 

BT SYS: ERROR: Discarding 7 bytes and waitin forver
Timeout when waitin for command response
command_handler: Unknown command ogf:0x3,ocf:0x24
BT SYS: ERROR: Discarding 4 bytes and waitin forver
Opening dev /dev/ttyBT0

and after that I dont get the menu prompt....
How do I get the 2 PCs talkin in the emulation mode.......at least
use the connect command
Thanks
 
 Regards, 
 Danny 
 
Thus Said Marcus Smith On Wed, Feb 07, 2001 at 07:21:58AM -0700 :
*->Daniel Ezekiel wrote:
*->
*->> Hi All
*->>  Sorry for this dumb Q.
*->>  I am running the stacks in emulation mode (properly compiled). I have
*->> connected 2 linux boxes via a null modem cable (ppp runs fine)
*->> 
*->>  On the server side  I use
*->> 
*->> btd --physdev /dev/ttyS0 --speed 38400 --cmdmode --local 10.0.16.41 --remote 10.0.16.228 --hwinit none
*->> 
*->> and on the client MC 
*->> btd --physdev /dev/ttyS0 --speed 38400 --client --hwinit none
*->> 
*->> I am gettin the Menu on either mcs and the registring of line #
*->>  but when I use the connect command
*->> on the client side
*->>  ie 
*->> con 11:22:33:44:55:66 <line>  0
*->> am gettin wrong syntax
*->>  I know there is an optin srv channel ?.....I am not able to 
*->> locate any references to this in the readme file......
*->> anyhelp asap would be appreciated.......
*->> 
*->> Thanks
*->>  
*->>  Regards, 
*->>  Danny 
*->>  
*->
*->Look in btd.c in the function process_cmd().  The commands (as they are 
*->printed out for the user) don't
*->always follow how the code is implemented.
*->
*->Marcus
*->
*->-
*->To unsubscribe from this list: send the line "unsubscribe bluetooth-dev" in
*->the body of a message to majordomo@xxxxxxx.com

-- 
   _____________________________________________

    Daniel D. Ezekiel                                
    E-Mail  : danny@xxxxxxx.com                         
    Fone    : 91-80-5281461  Extn: 3322 

    PGP Key : hkp://keys.pgp.com/danny@xxxxxxx.com       
   ______________________________________________
-
To unsubscribe from this list: send the line "unsubscribe bluetooth-dev" in
the body of a message to majordomo@xxxxxxx.com