zigbee问题,求大神解惑

[复制链接]
 楼主| 流星在颤抖 发表于 2014-9-24 10:15 | 显示全部楼层 |阅读模式
void zb_FindDeviceConfirm( uint8 searchType, uint8 *searchKey, uint8 *result )
{
  // Add your code here and remove the "(void)" lines.
  (void)searchType;
  (void)searchKey;
  (void)result;
}
void zb_ReceiveDataIndication( uint16 source, uint16 command, uint16 len, uint8 *pData  )
{
  // Add your code here and remove the "(void)" lines.
  (void)source;
  (void)command;
  (void)len;
  (void)pData;
}

在zigbee协议栈里面有很多这种程序,看得不懂,这是什么机理?函数调用?
adams.gh 发表于 2014-9-26 14:12 | 显示全部楼层
人家告诉你要把带(void)的行删掉呀。其实是让你自己写里边的实现,人家提供的叫“伪代码”,提示你应该在那个地方实现什么功能
您需要登录后才可以回帖 登录 | 注册

本版积分规则

5

主题

19

帖子

0

粉丝
快速回复 在线客服 返回列表 返回顶部