BLE plugin that makes it easy to scan, connect, discover services, subscribe to notifications, and exchange data with BLE peripherals through a clean C# API.Build BLE for Android targets without writing your own JNI bridge. This plugin gives you a clean, event-driven C# API for integrating BLE peripherals into production projects.Its C# API architecture is simple and practical:BleClient handles initialization and queues BLE calls until the bridge is readyBleUnityCallbackReceiver receives Android callbacks from UnitySendMessage(...)BleRouter parses callback messages and raises Unity eventsBleDevice provides per-device methods for connection, notifications, GATT discovery, writes, and error handlingWith this asset, you can:Scan for BLE devicesFilter scans by device nameConnect and disconnect by addressTrack connection state changesDiscover GATT services and characteristicsEnable and disable notificationsWrite characteristic data with or without responseRequest MTU changesHandle reconnect workflowsWork with Unity-friendly global and per-device eventsThis plugin is a strong fit for wearables, microcontrollers, haptics, robotics, sensors, controllers, BLE accessories and other BLE peripherals.It also includes useful production-focused behavior:Initialization retry logicQueued BLE operations before startup completesGlobal logging and error routingCached device state by MAC addressSafe no-op behavior outside Android runtimeImportant notes:Android onlyRuntime Android BLE permissions must be handled by your projectThe current built-in scan helper focuses on partial-name filteringIncludes a comprehensive example file to make integration easier and a documentation file explaining everything needed.Android onlyC# wrapper over Android .aarIncludes scan, connect/disconnect, notifications, writes, MTU request, RSSI read call, and GATT discovery routingEvent-driven architecture with global and per-device callbacksInitialization retry plus queued BLE calls before bridge readinessSafe no-op behavior outside Android runtimeMinimum Android API level:Android API Level 28 (Android 9.0 'Pie')Recommended Android API level:Android API Level 34 (Android 14.0)Recommended setup:IL2CPP.NET Standard 2.1ARM64Runtime Android BLE permissions requiredSome callback types exist internally but are not yet exposed as fully typed public APIsWe used it for research, learning, brainstorming and architecture assistance while developing this asset.


