Replies: 1 comment
-
There are a couple of issues and discussions already open on doing so. Since it was never the main goal of the original library (nor the re-implementation here) I don't have much documentation - nor have I even bothered to try and play around with it (sorry). Essentially, without customizing your own You can look through the closed issues and see if something ends up working for you. I also have a quick how to which is more of a if I were going to try it, this is what I'd do which you can run through. https://kenjdavidson.com/react-native-bluetooth-classic/guides/hex-encoding-decoding/ But that's about it that I have available. Good luck! Feel free to post back if you have it working and I'll update the docs with examples, or pull requests for anything that might be worth while for others. Feel free to go through the code and experiment with |
Beta Was this translation helpful? Give feedback.
-
How can I send a Byte array?
Do need to set the encoding to something else besides ASCII?
Currently when I send a byte array I get the array including the comas. For example the byteArray contains [ 1, 1, 254 ]. These are sent as 1,1,254 including the commas
Beta Was this translation helpful? Give feedback.
All reactions