littleshrimp 发表于 2018-8-4 17:09
方便提供测试源码吗 我试试
加了延时就可以了。{:1_133:}{:1_133:}{:1_133:}:handshake:handshake:handshake
while(1) {
BTLE_StackTick();
if (__io_getcharNonBlocking(&charRead)) {
ret = aci_gatt_write_without_resp(0x0801,Attr_Handle,0x01,&charRead);
Delay_ms(20);
if (ret != BLE_STATUS_SUCCESS) {
printf("Error in aci_gatt_write_without_resp() 0x%02x\r\n", ret);
}
}