Skip to content

FawnRescue/bluetooth

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


FawnRescue

FawnRescue

Bluetooth Authentication

License GitHub forks GitHub stars

Report Bug · Request Feature

Website

This repository provides the Bluetooth authentication service for the FawnRescue drone, enabling secure BLE connections between the drone and the control application. It's built on Node.js and utilizes Bluetooth Low Energy (BLE) technology to facilitate a secure authentication flow.

Getting Started

To use this service, you'll need Node.js and npm installed on your machine. The setup is straightforward:

Prerequisites

  • Node.js installed (v14.x or above recommended)
  • npm (usually comes with Node.js)

Installation

Clone the repository and install the dependencies to get started:

git clone https://github.com/FawnRescue/bluetooth.git
cd bluetooth
npm install

Usage

Start the BLE server by running the main script:

node bluetooth.js

The bluetooth.js file contains the code to initialize the BLE server, allowing it to listen for connections from the FawnRescue app.

Integration

The Bluetooth service is designed to be integrated with both the drone hardware and the control application:

  • Drone Integration: Follow the instructions in the drone's repository to integrate the BLE service, ensuring the BLE UUIDs in the bluetooth.js match those expected by the drone's firmware.

  • App Integration: The control application should implement the BLE client logic to establish a connection with the BLE service running on the drone, using the API endpoints defined in bluetooth.js.

About

Bluetooth authentication flow for the FawnRescue drone

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors