This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CC650 用什么API函数可以读取和设置信道表呢?

Other Parts Discussed in Thread: CC2650

如题。CC2650  怎样可以读取当前和 下一次发送数据包   所使用的 信道? 可以做到动态读取吗?谢谢

  • 信道读取的话可以用 HCI_LE_ReadChannelMapCmd().

    设置的话,只有做为master 设备才可以: HCI_LE_SetHostChanClassificationCmd()

  • 你好!

    我使用HCI_LE_SetHostChanClassificationCmd函数后,state  返回值是0,说明是SUCCESS,在HCI_COMMAND_COMPLETE_EVENT_CODE也有事件触发,

    opcode是HCI_LE_SET_HOST_CHANNEL_CLASSIFICATION,但是通过wireshark 抓取到connecte_req 参数中channel_Map仍是FFFFFF1F,没有变成
    1122334441f。不知哪里写法有错?

    API exg:

    {

    uint8_t pUartMsgFr[5] ={0x11,0x22,0x33,0x44,0x1F};

    state = HCI_LE_SetHostChanClassificationCmd(&pUartMsgFr[0]);
    }