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

[bluetooth-dev] have you seen this error ? HELP ME !!!!



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 --- openbt-20011021.tar.gz
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 si
de, 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.sina.com.cn)
新浪分类信息:二手市场走一走,该出手时就出手! (http://classad.sina.com.cn/2shou/)
-
To unsubscribe from this list: send the line "unsubscribe bluetooth-dev" in
the body of a message to majordomo@xxxxxxx.com