-
hi there, i wanted to try making an android app for the blue retro device. however using the react native ble library, i get strings instead of the dataviews that you get using the web bluetooth API. for example the api version should be 2 but i get a weird string for value. Characteristic { any ideas? thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
ok i figured it out, the data is coming in as a base64 string, just decoded it and made a Uint8Array from it and bam, proper data! |
Beta Was this translation helpful? Give feedback.
ok i figured it out, the data is coming in as a base64 string, just decoded it and made a Uint8Array from it and bam, proper data!