🐛 writeCharacteristicWithoutResponseForDevice fails in iOS
Prerequisites
- [X] I checked the documentation and FAQ without finding a solution
- [X] I checked to make sure that this issue has not already been filed
Expected Behavior
it should give resolve promises result
Current Behavior
writeCharacteristicWithoutResponseForDevice(deviceIdentifier, serviceUUID, characteristicUUID, base64Value, transactionId) not working getting exception
Library version
3.1.2
Device
Iphone13 mini
Environment info
"node": "^19.0.1",
"react": "^18.2.0",
"react-native": "^0.71.0",
"react-native-ble-manager": "^10.1.2",
"react-native-ble-plx": "^3.1.2",
Steps to reproduce
with in for loop
Android working good.
blemanager.writeCharacteristicWithoutResponseForDevice(iOS_DEVICE_ID, "0000XXX-1809-XXXX-1357-65626173746F", "00006722-1809-2101-1357-65626173746F", "base64data").then((response) => {
}
}).catch((error) => {
console.log(write upload exception ${index} :: chunk ${chunk}, error);
})
getting issue write upload exception 0 :: chunk 6QUCP+hUN0DuAAAACQAAAAAAAAAAAAABIAANPCRjAwAyVM2rAAAAAAAAAAAAAAAAMC4yLjAuMgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABibGVwcnBoX3dpZmlfY29leAAAAAAAAAAAAAAAAAAAADEzOjQ2OjIyAAAAAAAAAABKdW4gIDUgMjAyMwAAAAAAdjQuNC40LWRpcnR5AAAAAAAAAAAAAAAAAAAAAAAAAAA7hNOMZCrQBXKWjRLQno8hujNCcWms+BDbDfxTWowfoQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA [TypeError: The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type object]
Formatted code sample or link to a repository
NA
Relevant log output
NA
Additional information
No response
is repo people active or not?
almost weeks ago reported the issue still no response from repo people..
Yes the repo is still active. Could you include what data was passed to the function, because in the test we have for this function there is no error, but an error ([TypeError: The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type object]) suggests that there is a problem with the data itself.
base64 data 6QUCP+hUN0DuAAAACQAAAAAAAAAAAAABIAANPCRjAwAyVM2rAAAAAAAAAAAAAAAAMC4yLjAuMgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABibGVwcnBoX3dpZmlfY29leAAAAAAAAAAAAAAAAAAAADEzOjQ2OjIyAAAAAAAAAABKdW4gIDUgMjAyMwAAAAAAdjQuNC40LWRpcnR5AAAAAAAAAAAAAAAAAAAAAAAAAAA7hNOMZCrQBXKWjRLQno8hujNCcWms+BDbDfxTWowfoQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
[TypeError: The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type object]
Hi @PrudhviBanki, We are still working on this and some other issues, so please hold on a bit longer.
Hi @PrudhviBanki Do you still need help with the issue?
Hi @PrudhviBanki Is your issue still relevant, do you need any help?
Closing due to inactivity
Dear @intent-kacper-cyranowski , I get the issue. Could you help me check in iOS? I use function writeCharacteristicWithResponseForDevice is working normal but If I use function writeCharacteristicWithoutResponseForDevice It can't send message on iOS device. Please help me check about that.