Socket
Book a DemoInstallSign in
Socket

com.teach310.core-bluetooth-for-unity

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

com.teach310.core-bluetooth-for-unity

Provides native Apple CoreBluetooth integration for use with Unity.

0.4.7
latest
Source
npmnpm
Version published
Weekly downloads
5
Maintainers
1
Weekly downloads
 
Created
Source

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
lightcontrol_centraloutput

Button Information

CentralPeripheral
mov_button_informationbutton_information_peripheral

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

  • API Reference

License

MIT License (see LICENSE file).

Keywords

bluetooth

FAQs

Package last updated on 26 Nov 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.