0% found this document useful (0 votes)
131 views5 pages

Bluetooth Mesh Chat Application

Uploaded by

Atharva Shelke
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
131 views5 pages

Bluetooth Mesh Chat Application

Uploaded by

Atharva Shelke
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

‭SUMAN EDUCATIONAL TRUST’S‬

‭DILKAP RESEARCH INSTITUTE OF ENGINEERING‬


‭AND MANAGEMENT STUDIES‬
‭ illage Mamdapur, Post Neral, Tal:Karjat, Dist:Raigad - 410101‬
V

‭Project Title:‬

‭“Bluetooth to Bluetooth Chat”‬

‭B.E SEM VII Major Project‬

‭Project Synopsis‬

‭Project Members:‬
‭Atharva V. Shelke‬
‭Ronit Sarkar‬
‭Manish Mahimkar‬
‭Sahilkumar Basude‬

‭Academic Year: 2025-2026‬

‭ uide:
G HOD:‬
‭ r. Prachi Gadhire
D Dr. Prachi Gadhire‬
‭Section 1: Introduction‬

‭ raditional messaging apps require internet connectivity through cellular data‬


T
‭or Wi-Fi. However, in environments where internet access is unreliable,‬
‭unavailable, or intentionally restricted—such as remote worksites, disaster‬
‭zones, or large campuses—communication becomes difficult. This poses a‬
‭significant problem for businesses and organizations that rely on real-time‬
‭coordination and messaging.‬

‭ his project introduces a Bluetooth-based Business-to-Business (B2B) Chat‬


T
‭application for Android devices, utilizing Bluetooth Low Energy (BLE) to form a‬
‭mesh network. This network enables nearby devices (within approximately‬
‭30–100 meters) to connect directly and relay messages even if the sender‬
‭and recipient are not in immediate range. As users move, their devices act as‬
‭nodes, dynamically extending the range of the network by passing messages‬
‭between devices in a hop-by-hop fashion.‬

‭ nlike traditional one-to-one Bluetooth connections, mesh networking allows‬


U
‭for multi-hop message propagation, creating an ad-hoc decentralized network.‬
‭This system will be developed natively for Android using Kotlin and the‬
‭Android Bluetooth stack. A custom message relay protocol will manage‬
‭message forwarding, routing, and loop prevention. The app will support offline‬
‭message delivery, device discovery, secure pairing, and basic data encryption‬
‭to prevent eavesdropping.‬

‭Potential real-world applications include:‬

‭●‬ C ‭ ommunication during natural disasters, where infrastructure is‬


‭destroyed‬
‭●‬ ‭Secure and instant messaging in military or emergency field operations‬
‭●‬ ‭Internal messaging in large facilities, factories, or mines‬
‭●‬ ‭Educational campuses or conferences, where internet congestion or‬
‭costs are high‬

‭The app will have a simple user interface showing:‬

‭‬
● ‭ nline nearby users (in range)‬
O
‭●‬ ‭Chat windows for peer-to-peer communication‬
‭●‬ ‭Message queueing and delivery status‬
‭●‬ ‭Device node ID and routing stats (for debug)‬

‭ he main technical challenge is creating a reliable, battery-efficient mesh relay‬


T
‭protocol that avoids duplicate delivery and ensures privacy. To keep the app‬
l‭ightweight, local SQLite storage will be used for chat logs, and message‬
‭timeouts or TTL (time-to-live) can be implemented to clean up undelivered‬
‭packets.‬

‭ nlike centralized systems, this chat system does not rely on any server or‬
U
‭internet connection. It is ideal for situations where offline resilience, privacy,‬
‭and low-cost communication are essential.‬

‭ his project will serve as a proof-of-concept for how smartphones can be‬
T
‭turned into infrastructure-free communication devices, empowering users to‬
‭stay connected even in disconnected environments.‬

‭Section 2: Objective‬

‭ o design and develop an Android-based chat application that enables offline,‬


T
‭peer-to-peer messaging using Bluetooth Low Energy (BLE) mesh networking.‬
‭The goal is to build a resilient, decentralized communication tool that functions‬
‭without internet or cellular connectivity, particularly suited for remote,‬
‭emergency, or infrastructure-constrained environments.‬

‭Section 3: Scope‬

‭ he project focuses on device-to-device communication within short to‬


T
‭mid-range distances using Bluetooth. It supports text-based 1-on-1‬
‭messaging, automatic device discovery, message relaying through‬
‭intermediate nodes, and basic encryption. It does not cover multimedia,‬
‭internet sync, or long-range communication. Future enhancements could‬
‭include file transfers, offline group chat, or Wi-Fi Direct integration.‬

‭Section 4: Methodology‬

‭‬ D
● ‭ evelopment Platform: Android Studio (Kotlin)‬
‭●‬ ‭Bluetooth Stack: Android BLE APIs‬
‭●‬ ‭Mesh Logic: Custom message routing algorithm with TTL and node‬
‭caching‬
‭●‬ ‭Storage: SQLite for local chat history‬
‭●‬ ‭UI: XML layout with Material Design components‬
‭●‬ D
‭ evices periodically broadcast presence and scan for nearby peers. On‬
‭connection, messages are exchanged or relayed based on stored path‬
‭data.‬

‭ gile methodology will be followed, with iterative testing across physical‬


A
‭devices.‬

‭Section 5: Literature Survey‬

‭ esearch in ad-hoc networking, BLE Mesh, and Delay-Tolerant Networks‬


R
‭(DTN) highlights how mobile mesh networks enable communication in‬
‭disconnected scenarios. Frameworks like Google’s Nearby API and‬
‭open-source tools like Bridgefy or Briar inspired aspects of this solution.‬
‭Studies in IEEE journals emphasize routing challenges, device discovery‬
‭overhead, and energy optimization. This project aims to create a minimalist‬
‭solution focused on B2B or operational messaging needs in offline‬
‭environments.‬

‭Section 6: Hardware Requirements‬

‭‬
● ‭ or more Android smartphones (Android 8.0 or higher)‬
2
‭●‬ ‭Bluetooth 4.0+ hardware‬
‭●‬ ‭Charging setup for prolonged testing‬
‭●‬ ‭Optional: Devices with BLE logs for debugging‬

‭Section 7: Software Requirements‬

‭●‬ ‭Android Studio‬


‭●‬ ‭Kotlin SDK‬
‭●‬ ‭SQLite3‬
‭●‬ ‭Gradle build tools‬
‭●‬ ‭Bluetooth logging/analysis tools (nRF Connect, etc.)‬

‭Section 8: Programming Languages & Frameworks‬

‭‬ L
● ‭ anguage: Kotlin‬
‭●‬ ‭Bluetooth: Android BLE APIs‬
‭‬
● ‭ atabase: SQLite‬
D
‭●‬ ‭UI/UX: Jetpack, XML layouts‬
‭●‬ ‭Optional Libraries: Coroutine, Room, Retrofit (for future sync)‬
‭●‬ ‭Testing: Android Emulator (for UI), Physical Devices (for BLE testing)‬

‭Section 9: References‬

‭ ‬ "‭ Bluetooth Mesh Networking Overview," Bluetooth SIG‬



‭●‬ ‭IEEE Communications: “Mobile Ad-Hoc Networking and Bluetooth Mesh‬
‭Routing”‬
‭●‬ ‭Android BLE Documentation – [Link]‬
‭●‬ ‭Bridgefy:‬‭[Link]
‭●‬ ‭"Offline Messaging Systems using Bluetooth and Wi-Fi Direct," ACM‬
‭Conference 2022‬
‭●‬ ‭Briar Secure Messaging Project:‬‭[Link]

You might also like