Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🚀 AIBridge: BLE Bot Provisioning Engine

AIBridge is a high-performance Flutter application designed for the seamless configuration and provisioning of AI Chatbot hardware via Bluetooth Low Energy (BLE). It provides a robust interface for bridging the gap between local network connectivity and cloud intelligence.

✨ Key Features

  • 🎯 Smart Scanning: Advanced BLE filtering optimized for AI Chatbot identification using manufacturer data markers (AIC).
  • 🔐 Secure Provisioning: Encrypted-ready transmission of WiFi credentials (SSID/Password) to hardware nodes.
  • 🔑 API Key Management: Dedicated interface for injecting LLM/Cloud provider API keys into edge devices.
  • 🛠️ System Orchestration: Direct command interface for remote system restarts and hardware maintenance.
  • 📱 Premium UX: Modern, high-density dark interface with real-time connection state animations.

🛠️ Technology Stack

  • Framework: Flutter (Dart)
  • Communication: flutter_reactive_ble for high-reliability BLE streams.
  • Permissions: Granular management via permission_handler.

🚀 Getting Started

Prerequisites

  • Flutter SDK (v3.6.0+)
  • Bluetooth-enabled mobile device (Android/iOS)
  • AI Chatbot Hardware (Firmware compatible with AIBridge BLE Service UUIDs)

Installation

  1. Clone the repository:
    git clone <repository-url>
  2. Install dependencies:
    flutter pub get
  3. Run the application:
    flutter run

📐 Architecture Overview

AIBridge follows a decoupled, reactive architecture designed for maintainability and scalability:

  • Service Layer (BleService): Centralizes all BLE logic, handling scanning, GATT connection lifecycles, MTU negotiation, and reactive streams.
  • UI Layer (HomeScreen, AppTheme): A highly modularized user interface that observes state changes from the service layer, avoiding excessive setState rebuilds.
  • Configuration (ble_constants.dart): Hardcoded identifiers and UUIDs are extracted into a dedicated constants file for cleaner management.
  • Build System: Android build configurations have been modernized to use Kotlin DSL (KTS) for improved type safety and maintainability.

Built with ❤️ for the AI Chatbot Ecosystem.

About

Flutter App Bluetooth Credentials

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages