req.handle = simpleBLECharHdl;
req.len = 20;
req.value[0] = 0x66;
req.value[1] = 0x77;
req.sig = 0;
req.cmd = 0;
status = GATT_WriteCharValue( simpleBLEConnHandle, &req, simpleBLETaskId );
结果write error 13,为什么呢?
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.
req.handle = simpleBLECharHdl;
req.len = 20;
req.value[0] = 0x66;
req.value[1] = 0x77;
req.sig = 0;
req.cmd = 0;
status = GATT_WriteCharValue( simpleBLEConnHandle, &req, simpleBLETaskId );
结果write error 13,为什么呢?
是不是slave端的程序设置为只能接收一个字节?
可以看下这个帖子 http://www.deyisupport.com/question_answer/wireless_connectivity/bluetooth/f/103/t/44889.aspx