Open pavloshargan opened 11 months ago
@pavloshargan First you need this code the one i have in uploaded_code folder. To install libraries please follow these steps:
BLE Libraries:
BLEDevice.h
BLEServer.h
BLEUtils.h
To install these, open the Arduino IDE, go to Sketch -> Include Library -> Manage Libraries. In the Library Manager, search for "BLE" and install the libraries provided by Neil Kolban.
WebServer Library:
WebServer.h
You can install this library by going to Sketch -> Include Library -> Manage Libraries, and then search for "WebServer" by Markus Sattler.
WiFi Library:
WiFi.h
This library is likely already included with your Arduino IDE. If not, you can install it by going to Sketch -> Include Library -> Manage Libraries, and then search for "WiFi" by Arduino.
Cspiffs Library:
USB Libraries:
USB.h
USBHIDKeyboard.h
These are specific to the ESP32 platform. Make sure you have the ESP32 board manager installed. Go to File -> Preferences, and in the "Additional Boards Manager URLs" field, add this URL: https://dl.espressif.com/dl/package_esp32_index.json
. Then, go to Tools -> Board -> Boards Manager, search for "esp32" and install the ESP32 platform.
ESP-NOW Library:
esp_now.h
This library is specific to ESP32. You should already have it if you are working with ESP32. If not, make sure you have the ESP32 board manager installed (as mentioned in step 5).
Make sure you have selected correct board selected under Tools -> Board and has the ESP32 board manager installed.
If you face any issue while installation, or in any feature requirements or any kind of issue please let me know I'll help you.
The project is very cool, looks like exactly what I was looking for. My goal is to connect the board to the mobile phone through the OTG and control IT by sending the commands to BLE characteristics from custom app on the phone ( To bypass the Android/IOS limitation in remote control, so I have something like TeamViewer, but for mobile phone).
I don't have much experience writing the firmware in Arduino IDE, so the one thing is not clear to me: Where to get the libraries and how to install them? I have XIAO ESP32 S3 from seed studio, and usually I just zip a folder with cpp/h files + library.properties and load that zip to the ArduinoIDE. How do you install the libraries? Many thanks for response