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

[bluetooth-dev] =?gb2312?B?aGF2ZSB5b3Ugc2VlIHRoaXMgZXJyb3I/IEhFTFAgTUUhISEh?=



I Connect 2 Linux PC(RedHat 7.0) with a null modem cable at serial port 1, and i use the latest version of the bluetooth protocol stack --- 
i have successfully compiled the stack(i have turn on the HCI_EMULATION at the btconfig.h file), and i execute the command at the server side :

   btd --physdev /dev/ttyS0 --speed 38400 --cmdmode --local 172.18.205.82 --remote 172.18.205.83

BUT when i execute the command at the client side:

   btd --physdev /dev/ttyS0 --speed 38400 --client --hwinit none

the server side shows the following errors:
          
          Menu
          ------------------------
            inq <Max number of responses> (inquiry scan)
            rf_conn <xx:xx:xx:xx:xx:xx> <srv ch> <line>
            rf_send <nbr bytes> <nbr repeats> <line>
            rf_disc <line>
            rf_wait <line>
            me <1/0>
            setbd <xx:xx:xx:xx:xx:xx>
            readbd
            reset
            role_switch <xx:xx:xx:xx:xx:xx> <role> (0=master, 1=slave)
            ppp
            quit
          > BT SYS: ERROR: hci_receive_data: discarding 4 bytes

what is wrong?

and under this condition , when i execute the following command at the client side, it shows the following error and can't do nothing:

          Menu
          ------------------------
            inq <Max number of responses> (inquiry scan)
            rf_conn <xx:xx:xx:xx:xx:xx> <srv ch> <line>
            rf_send <nbr bytes> <nbr repeats> <line>
            rf_disc <line>
            rf_wait <line>
            me <1/0>
            setbd <xx:xx:xx:xx:xx:xx>
            readbd
            reset
            role_switch <xx:xx:xx:xx:xx:xx> <role> (0=master, 1=slave)
            ppp
            quit
          > rf_conn 11:22:33:44:55:66 1 1
          BT (driver) __bt_ioctl: BTCONNECT
          BT (driver) bt_connect: Connecting srv ch 1 on line 1

          bd (6):
          0x66 0x55 0x44 0x33 0x22 0x11
          l2ca_connect_req: wait baseband, sleep on wq 0xc06933f8

i don't know the means of the parameters: <srv ch> and <line> of the command rf_conn, the README file don't tell me any information of that parameters.
is there something wrong with the parameters i used in the command rf_conn
(rf_conn 11:22:33:44:55:66 1 1)?

thank you very much for your help!!!!!!!!




__________________________________________
邮件到了吗?手机告诉你(http://mail.263.net/mmail/index.html)
点击下载95963上网直通车(http://www.263.net/0ji/StarDialer.exe)
我拿什么来诱惑你(http://95963.263.net/)
化妆品三折,香水半价(http://shopping.263.net/class004.htm) 
-
To unsubscribe from this list: send the line "unsubscribe bluetooth-dev" in
the body of a message to majordomo@xxxxxxx.com