Comments (2)
Heya, thanks for opening an issue.
The library doesn't use UTF8 encoding, but Base64 encoding to send data from and to the Java plugin, so instead, could you try the string 8LABAaI=
and see if that fixes the issue?
I'm thinking of adding a way to send raw sbyte[]
from Unity to Android using the AndroidJNI.ToSByteArray
function, which should give the ability to send sbyte[]
and convert them to Java's byte[]
, which can then be send to the characteristic.
Howevery, improvements such as these are things I want to add to the "new" v0.0.3-alpha.0 version, instead of improving upon the more legacy project.
from unity-android-bluetooth-low-energy.
Wow Base64 encoding did the trick.
thank you so much. !
from unity-android-bluetooth-low-energy.
Related Issues (20)
- Error (and maybe workaround) connecting to BLE device in Unity and Oculus Quest 2 HOT 12
- BLUETOOTH_SCAN permission issue (android 11+) HOT 2
- Make a new release that includes the latest fix for convenience HOT 1
- Permission missing HOT 1
- Error on write characteristic HOT 8
- No devices appearing on Windows 10 HOT 6
- BLE device not appear in Android 14 while scanning HOT 1
- Option to initiate disconnect from device in refactored code? HOT 2
- Updating to newer Unity editor
- No devices found in one project but same scene works in another project HOT 12
- Unable to re-scan after device is found HOT 4
- Broken path to unity.jar HOT 1
- BluetoothDevice hasn't been discovered yet error when attempting to connect to a device HOT 2
- Can't properly connect or read characteristic from BLE sensor HOT 2
- Wrong command name in BleDevice.cs
- Feature: Include Android Library within Project/Package for 2022.2 and greater.
- Cannot scan or try out the plugin in Unity Version 2022.3.9 HOT 5
- Devices not listed out when clicked on scan in the android mobile and also on Quest2 HOT 1
- Risk of skipping a command when clearing parallel stack? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from unity-android-bluetooth-low-energy.