cordova-plugin-ble-central
cordova-plugin-ble-central copied to clipboard
change errorType in ios 'didWriteValueForCharacteristic:error:'
In the android part, the "write" call returns "status" as int, if an error occurs. In iOS, there is a "localizedDescription" and so on js layer it's not possible to catch an equal code. So in the first step it would be logical, to send from both platforms the code, so the custom JS can handle the error in it's favour. In the second step, it could be better to return a JSON object with a structure like error: { code: int, localizedDescription: string [...] }
This is a good idea, but it'll need to be implemented on iOS and Android before I merge.
Hi,
From the hardware they are trying to send 800KB wav data to mobile. Is it possible to get the whole data using ble.startnotification method?? Because when i tried am getting only 10 kb data.
Thanks in advance.
@deepak90mu please create a new issue with your question
Closing this due to inactivity.