Giter Club home page Giter Club logo

unitycorebluetooth's People

Contributors

fuziki avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

unitycorebluetooth's Issues

Does it support Unity Editor on M1 OSX?

I got this "DllNotFoundException: mcUnityCoreBluetooth assembly: type: member:(null)"
When I run on M1 OSX.

Unity version: 2022.2.19f1(silicon)
Mac OS: 12.4

Handle lost connections gracefully... writeWithoutResponse crashes

Firstly, thanks for the work on this library. I can connect a device and stream messages back and forth really nicely, but if the connection to a peripheral device is lost (out of range) then the write (WithoutResponse) crashes both the plugin and Native Example. It looks like CoreBluetooth knows the write will fail, but the plugin doesn't check/handle it.

Have you tested yourself with peripheral devices either being powered-off or going out-of-range?

- no devices are being discovered or listed in the console of the editor.

Tested the plugin on one Mac mini (2018) with macOS 12.0.1 and on two MBP (2018) with macOS 10.15.7 and 12.1.

  • I was getting error: ....bundle” is damaged and can’t be opened

Error is solved after the solution:

  1. Open the MacOS terminal.
  2. Enter the command: xattr -d com.apple.quarantine /.../Assets/Plugins/Whatever.bundle
  3. Do this for every .bundle you have, and they once again work.
  4. (Original link https://forum.unity.com/threads/plugin-bundle-is-damaged-and-cant-be-opened-after-latest-macos-update.910004/)

-Plugin starts fine after the fix. The example starts and gets to start Scan method.

  • no devices are being discovered or listed in the console.

All of BLE devices have been identified with Bluetility app form all Mac computers (BLE works)

How are you creating the Unix Executable file called UnityCoreBluetooth?

New to Swift development and I'm trying to make sense of the workspace vs projectfile and how they are tied together.

I've managed to make some additions and I can build the workspace and get some of the files I see need to go to Unity and I tried building the plugin but it complained about a missing package? I removed an embed and it too eventually compiled but I still don't see all the files you have put into Unity's Plugin folder.

Are all of those built? Raw? Manually Created given the circumstances? Perhaps the UnityCoreBluetooth-Swift.h file isn't generated but manually created? If so then any new methods I create that need to be exposed to Unity need to be added there?

Any context would be nice and educational. Or any documentation you used to make sense of this process would be appreciated.

Regards,
George

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.