Blue-Falcon

Kotlin Multiplatform BLE library for iOS, Android, macos, windows and javascript

View the Project on GitHub Reedyuk/blue-falcon

Architecture Proof of Concept

This directory contains examples demonstrating the new plugin-based engine architecture introduced in ADR 0002.

Status

⚠️ These are conceptual examples - They show the API design and usage patterns for the new 3.0 architecture, but cannot run yet until engines are fully implemented.

What’s Here

Example.kt

Demonstrates:

  1. Basic Usage - How to create a BlueFalcon instance with the new DSL API
  2. Custom Plugins - Creating a LoggingPlugin that intercepts BLE operations
  3. Nordic OTA Plugin - Concept for vendor-specific firmware update functionality
  4. Multi-Platform Setup - Pattern for selecting engines based on platform

Running These Examples

Once Phase 2 (Engine Migration) is complete, these examples will be runnable. For now, they serve as:

See ADR 0002: Adopt Plugin-Based Engine Architecture for the full architectural decision and implementation plan.

Current Implementation Status

Future Examples

When implementation progresses, this directory will include: