6 Replies Latest reply on Jun 4, 2019 7:37 PM by LeLi_3670906

    wmbt can't use wiced hci command successfully

    LeLi_3670906

      Hi all,

       

      我在使用wmbt去测试wiced hci命令的时候,发送一些命令,似乎没有正确的返回值。

       

      我使用的是20706的开发板,下载的是watch的demo,MBT_BAUD_RATE=115200,COM口为puart(hci uart无效)。

      1.如reset命令:

      wmbt wiced_reset COM6

      MBT_BAUD_RATE:  115200

      TRANSPORT_MODE: 1 (WICED_HCI)

      Opened COM6 at speed: 115200

      Sending WICED HCI Command:

      0000 < 19 01 00 00 00 >

      Close Serial Bus

      没有收到Received HCI Event

      2.LE Receiver Test

      wmbt le_receiver_test COM4 2406

      TRANSPORT_MODE: 1 (WICED_HCI)

      Opened COM6 at speed: 115200

      Sending WICED HCI Command:

      0000 < 19 10 08 05 00 01 1D 20 01 02 >

      Received WICED HCI Event:

      0000 < BA 97 0A 41 50 50 20 53 54 41 52 54 0A 68 63 69 >

      0010 < 5F 63 6F 6E 74 72 6F 6C 5F 6D 61 6E 61 67 65 6D >

      0020 < 65 6E 74 5F 63 61 6C 6C 62 61 63 6B 20 30 78 31 >

      0030 < 35 0A 68 63 69 5F 63 6F 6E 74 72 6F 6C 5F 6D 61 >

      0040 < 6E 61 67 65 6D 65 >

      Received WICED HCI Event:

      0000 < 6E 74 5F 63 61 6C 6C 62 61 63 6B 20 30 78 31 34 >

      0010 < 0A 68 63 69 5F 63 6F 6E 74 72 6F 6C 5F 6D 61 6E >

      0020 < 61 67 65 6D 65 6E 74 5F 63 61 6C 6C 62 61 63 6B >

      0030 < 20 30 78 31 34 0A 68 63 69 5F 63 6F 6E 74 72 6F >

      0040 < 6C 5F 6D 61 6E 61 67 65 6D 65 6E 74 5F 63 61 6C >

      0050 < 6C 62 61 63 6B 20 30 78 30 30 0A 68 63 69 5F 63 >

      0060 < 6F 6E 74 72 6F 6C 5F 77 >

      返回的Received WICED HCI Event也不对,应该是19开头的。

       

      所以,这是什么原因造成的,是否跟我的demo有关,如果是的话,有相关的demo可以进行测试吗

       

       

      BR,

      Leo