Skip to content
Andrew Laptev edited this page Sep 2, 2022 · 6 revisions

Project structure

The structure of interaction between the main classes and modules of the application, both among themselves and with the outside world, is described.

project structure

Algorithm

Input data: graphical user input of RSSI threshold, brightness and color temperature

Output data: send to BLightESP32 app input_brightness/input_color_temp message

First, the application receives information about the RSSI threshold (at the moment the user does this), which allows the application to determine at what "distance" in the dBm the BLightESP32 application signal should be searched. After that, the search begins and the connection via Bluetooth Low Energy immediately to all devices (lamps) with the BLightESP32 application. The control is carried out from a single interface by all lamps at once. At the same time, other users can be connected to the lamps, so the light modes between users are averaged.

Getting Started

Here is a description of how you can install and run the application from the source files

Prerequisites

  • Android Studio (2021.1.1 and higher)

Installation

  1. Cloning the repository
    git clone https://github.com/AndrewLaptev/ble_light_mobile
  2. Opening the project in Android Studio
  3. We build the project and upload it to the phone (the application will not work in the emulator)