我用这个函数GATT_WriteNoRsp发送write command的命令给从机,代码如下
attWriteReq_t req;
bStatus_t res = FAILURE;
uint8 sampling_enable[]={0x20,0x03,0x01};
req.handle = 0x18;//
req.len = sizeof(sampling_enable);
req.pValue = &sampling_enable[0];
req.cmd = 1;
req.sig = 0;
res = GATT_WriteNoRsp(con_handle,&req);
为什么抓包工具抓到的是Read Response??
求解?

