(react-native-ble-plx) 如何只读取发送请求后得到的那些?

(react-native-ble-plx) How to read only those that were gotten after sending request?

是否有任何方法可以使用 react-native-ble-plx 包从 ble 设备获取响应,类似于 JavaScripts 的 fetch()?

我只实现了添加监听,监听ble设备发送的所有消息

示例我想要实现的目标:

const response = await bleManager.sendMessage(deviceId, serviceUUID, characteristicUUID, message);

我搜索的是 this。它是由@jnpdx 展示的 我的问题出在我尝试连接的设备上。我希望它对以后的人有所帮助