0.4.7 • Published 2 years ago

com.teach310.core-bluetooth-for-unity v0.4.7

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

CoreBluetoothForUnity

Provides native Apple CoreBluetooth integration for use with Unity.
CoreBluetoothForUnity provides an interface that closely mirrors the native CoreBluetooth API.

If you are familiar with CoreBluetooth, you will find it easy to work with this plugin.

Installation

Scoped Registry

  • Name: Teach310
  • URL: https://registry.npmjs.com
  • Scope: com.teach310

Sample

You can download samples from Package Manager.

Light Control

CentralPeripheral
output

Button Information

CentralPeripheral
mov_button_information

How to release

If you create a new instance like CBCentralManager, CBMutableService with using "new" keyword, you must call Dispose() method when you don't need it anymore.

CBCentralManager _centralManager;

...

void OnDestroy()
{
    if (_centralManager != null)
    {
        _centralManager.Dispose();
        _centralManager = null;
    }
}

Feature Requests

This plugin isn't support all of CoreBluetooth features yet.

If you want to add some features, please create an issue or pull request.

References

License

MIT License (see LICENSE file).

0.4.7

2 years ago

0.4.6

2 years ago

0.4.5

2 years ago

0.4.4

2 years ago

0.4.3

2 years ago

0.4.2

2 years ago

0.4.1

2 years ago

0.4.0

2 years ago

0.3.0

2 years ago

0.2.1

2 years ago

0.2.0

2 years ago

0.1.0

2 years ago

0.0.1

2 years ago