Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you may not be able to execute some actions.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
用了官网的例程,ble_simple_peripheral和ble_simple_central,客户端向服务端使能ntf消息的操作,服务端是能触发GATTC_MSG_WRITE_REQ事件的,但是客户端向服务端写数据gatt_client_write_cmd(),服务端就无法触发任何事件。用BLE调试助手可以向服务端发送数据,但是客户端例程就不行,这是为什么
@我不是土拨鼠 检查检查主机”写“的”特征“的UUID对了吗
主从的UUID都是用一样的
@zr 找到原因了,是UUID_SIZE没设对,2字节和16字节的