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.

如何将easylink中的地址过滤函数EasyLink_enableRxAddrFilter(uint8_t* pui8AddrFilterTable, uint8_t ui8AddrSize, uint8_t ui8NumAddrs) 的AddrFilterTable参数修改为16位的呢

我尝试直接修改参数类型为uint16_t,但是没有效果,请问下还需要修改函数中哪些参数

  • 地址过滤器根据EasyLink数据包中的目标地址进行过滤。如果要测试示例,则rfEasyLinkTx和rfEasyLinkRx示例已启用过滤,并且EasyLink.h和.c文件已被很好地记录。

    就uint16_t地址而言,easylink地址过滤器期望使用1字节地址,因此,必须更改EasyLink.h和.c文件中的参数才能处理uint16_t地址。