Help Needed To Write Data on BLE Device
See original GitHub issuereact-native-ble-manager: ^8.0.2 react-native: ^0.68.1 iOS/Android: 11 Expected behaviour
LED Light Strip that’s connected to the device should change colors on WriteWithoutResponse call.
Actual behaviour
WriteWithoutResponse passes successfully but device shows no change in color.
Steps to reproduce
Successful connection to LED Light Strip
Send WriteWithoutResponse Call
Here is the Response from BLE Device That I’m getting from LED Strips. I want to write on BLE Device and there is only one service that has property to writewithoutresponse but I’m confused a bit that how can I write on BLE By using This Characteristic.
Below Code is Giving Success But Led Is Doing Nothing.
I’m Using Below Function But I’m unable to figure out that which data will be passed:
BleManager.writeWithoutResponse( peridata.id, fullUUID(peridata.services[2].uuid), fullUUID(peridata.characteristics[4].characteristic), [0x00, 0x01, 0x02], ) .then(() => { console.log('Success' ); }) .catch(error => { console.log('======'); console.log(error); });
l
Issue Analytics
- State:
- Created a year ago
- Comments:5
Top GitHub Comments
@jaferi512 Please try the following things:
@anees17861 Hardware developer has told me to send values like this.That’s why I’m trying like this.