3,846
社区成员
发帖
与我相关
我的任务
分享
void zb_ReceiveDataIndication( uint16 source, uint16 command, uint16 len, uint8 *pData )
{
uint8 buf[32];
uint8 *pBuf;
uint8 tmpLen;
uint8 sensorReading;
if (command == SENSOR_REPORT_CMD_ID)
{
……
#if defined( MT_TASK )
debug_str( (uint8 *)buf );
#endif
// can also write directly to uart //如果需要上传至计算机,可自行添加串口发送程序
}
}