Комментарии:
Hi great tutorial how do I go about using this for asset tracking?
ОтветитьThank you so much! I've followed along your video and everything works good except the last part where 2901 descriptor is added. I can see only one descriptor i.e. 2902 but value is showing as Incorrect data length(16bit expected) : (0x) 41 --- So many bytes ---65, then actual message "A very interesting variable"
ОтветитьI dont think that the Delay function works with "nanoseconds" but rather "milliseconds". The precision of a board like a ESP32 can not be that precise. Heck, even a register in a CPU isn,t that precise.
ОтветитьThank you!
Awesome video!
Absolutely awesome! You know delay(1) - this is milli seconds, so delay(1000) is 12 second! I am sure other people have mentioned this. So very clear, fantastic - thank you!
ОтветитьSir, please can u tell me can I use deep sleep features in this code, if yes then how?
ОтветитьCool project. do you have an example where BLE Tx a link and smart phone gets a push notification to go or not to go to the link. thanks
ОтветитьA wonderful workshop, thank you! Extremely useful from the beginning to the end
ОтветитьHave you considered walking a user through reading data from a General TS04 BLE Multimeter (cheap) with an ESP-32? There are many of these types of devices that only have phone apps but many of us would like to use a Windows/Linux PC to capture data. This would truly be a practical application.
ОтветитьI get an error code in Ringbuffer in src/FreeRTOS. .?
ОтветитьMy code will not download nor compile! I get a lot of errors , not sure how to post them. But the serial counsel has ‘ringbuf_type_t’ has not been declared in Scr/FreeRTOS.h file in ESP32 BLE arduino directory.
ОтветитьI rarely comment but had to say… fantastic job making a great clear but concise tutorial! Thanks a bunch for your effort
ОтветитьThx a lot for the effort to create the video! Great content!
ОтветитьHii
I am learning this part but when I upload thw code it gives me an error
61 | Ringbuffer(size_t length, ringbuf_type_t type = RINGBUF_TYPE_NOSPLIT);
| ^~~~~~~~~~~~~~
Multiple libraries were found for "BLEDevice.h"
Used: C:\Users\ashut\OneDrive\Documents\Arduino\libraries\ESP32_BLE_Arduino
Not used: C:\Users\ashut\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.0.0-alpha3\libraries\BLE
exit status 1
can you guide me?
This video was just what I was looking for. So many of the other ones dont show you how to set up a server. Thanks VERY much!
ОтветитьHello, I have a small problem in my application, I want to create an application that when the BLE device emits a signal and the phone catches that signal, my application will go to a screen or the layout contains certain information, do you think it is feasible?
ОтветитьThank you for the tutorial, that was very helpful.
BTW, I have a problem, I've tried with two possible apps from the market, the one you mentioned on your tutorial and other called BLEScanner. Both of them allowed me sending just 4 bytes from the app to the ESP32 BLE Server. I wonder if it is possible to send a bigger package of data from the app to the Server. Could you help me please?
Thanks again and regards.
3 milliseconds, of course.
ОтветитьIs it also possible to send a file from SPIFFS using ble?
Ответить@mothunderz: any idea on how many devices can be connected to esp32 through BLE?
ОтветитьHow can I use BLE to sync data between my ESP32 and the mobile app
ОтветитьGreat video, but this lib crashes on PlatformIO:
.pio/libdeps/esp32doit-devkit-v1/ESP32 BLE Arduino/src/FreeRTOS.h:61:28: error: 'ringbuf_type_t' has not been declared
Has anyone ever experienced this? Can help?
Do you know how tro send more than just 20 bytes over a characteristic?
ОтветитьI've delved into numerous videos on the topic but this video makes me understand the most about the BLE with ESP32. Thank you very much.
Moreover, I encountered interesting twist using nRF Connect on my Android mobile. The app would occasionally hang after connecting to my ESP32 and clicking the continuous fetch of characteristics value. However, following the adjustment from 3ns delay to 1s delay, the app operates smoothly without further hanging. Is it because too frequent updates would overwhelm the app?
which esp 32 board to use??
As I am getting an error using wroom esp 32 da module
The 'delay' is in milliseconds, not nanoseconds.
ОтветитьAmazing tutorial! Thank you very much
ОтветитьUsing IDE 2.3.2, sketch BLE_server, ESP dev module
I get error ...Compilation error: 'init' is not a member of 'BLEDevice'
Could not find ESP32 BLE Arduino, so I used🤕 these includes:
BLEDevice.h
BLEServer.h
BLEUtils.h
BLE2902.h
Do you know any reference about how to interpret the values in the packets?
ОтветитьSuper clear and, for me, with the perfect level of detail. Thanks!
Ответитьhey man, thank you for the tutorial. I have a question, can you still connect this code into the MIT app inventor to make a new app? thank you so much!
ОтветитьFor some time now, I wanted to implement a BLE sensor for an ergometer that already displays speed, power, cadence, etc... so it can be sent to my watch.
You got me going, just ordered the ESP32 to start implementing it. Thank you for the quality content you provided!!!
Ringbuffer(size_t length, ringbuf_type_t type = RINGBUF_TYPE_NOSPLIT); please help me whats wrong with this
ОтветитьI just stumbled upon this piece about BLE, and it really opened my eyes. The insights shared are thought-provoking and genuinely refreshing. If you're curious about ble, this is a must-read in GAO RFID Inc —there's a wealth of information here that could reshape your understanding.
ОтветитьI just stumbled upon this piece about BLE, and it really opened my eyes. The insights shared are thought-provoking and genuinely refreshing. If you're curious about BLE
, this is a must-read in GAO RFID Inc —there's a wealth of information here that could reshape your understanding.
I just stumbled upon this piece about BLE with ESP32 Tutorial and it really opened my eyes. The insights shared are thought-provoking and genuinely refreshing. If you're curious about BLE with ESP32 Tutorial this is a must-read in GAO RFID Inc—there's a wealth of information here that could reshape your understanding.
ОтветитьI have a error, why?
error: conversion from 'String' to non-scalar type 'std::string' {aka 'std::__cxx11::basic_string<char>'} requested
41 | std::string pChar2_value_stdstr = pChar -> getValue();
| ~~~~~~~~~~~~~~~~~^~
exit status 1
Compilation error: conversion from 'String' to non-scalar type 'std::string' {aka 'std::__cxx11::basic_string<char>'} requested
I just stumbled upon this piece about using Bluetooth Low Energy (BLE) with the ESP32, and it really opened my eyes. The insights shared are thought-provoking and genuinely refreshing. If you're curious about BLE implementation and its applications, this is a must-read in GAO RFID Inc —there's a wealth of information here that could reshape your understanding.
ОтветитьI was having trouble with the server making a connection. I was using an alternative c++ compiler. You have instantiated your server callbacks correctly. However, the onConnected and onDisconnect methods should be overriding the base class methods. This typically requires the override keyword in C++, though Arduino sketches often omit this. I made the following corrections and the code:
class MyServerCallbacks : public BLEServerCallbacks {
void onConnect(BLEServer* pServer) override {
deviceConnected = true;
};
void onDisconnect(BLEServer* pServer) override {
deviceConnected = false;
}
};
This resolved my connection problem.
Thanks for the great tutorial.
Hello! I watched the whole series for the BLE since I want to learn how it can be used. But once I try to compile the master code, I get the following error:
___________________________________________________________________________________
Multiple libraries were found for "BLEDevice.h"
Used: C:\Users\LENOVO\Documents\Arduino\libraries\ESP32_BLE_Arduino
Not used: C:\Users\LENOVO\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.1.0\libraries\BLE_backup
exit status 1
___________________________________________________________________________________
I tried commenting out the standard BLE library in order to force the compiler to use the intended library that you show in the video, however it did not work out either.. Any suggestions?
How to connect ESP32 to computer wirelessly? Bluetooth or WiFi?
ОтветитьTruied to run BLE_server.ino under Examples of ESP32_BLE_Arduino library, however, received compiling error message:
libraries\ESP32_BLE_Arduino\src/FreeRTOS.h:61:35: error: 'ringbuf_type_t' has not been declared
61 | Ringbuffer(size_t length, ringbuf_type_t type = RINGBUF_TYPE_NOSPLIT);
| ^~~~~~~~~~~~~~
Excellent video. Made a few things which were Greek earlier, very much understandable
Ответитьwhen i run the code in the github project,it shows me this error (In file included from C:\Users\BEN ALI\Documents\Arduino\libraries\ESP32_BLE_Arduino\src/BLEAdvertising.h:15,
from C:\Users\BEN ALI\Documents\Arduino\libraries\ESP32_BLE_Arduino\src/BLEServer.h:19,
from C:\Users\BEN ALI\Documents\Arduino\libraries\ESP32_BLE_Arduino\src/BLEDevice.h:18,
from C:\Users\BENALI~1\AppData\Local\Temp\arduino_modified_sketch_673111\sketch_jan24c.ino:6:
C:\Users\BEN ALI\Documents\Arduino\libraries\ESP32_BLE_Arduino\src/FreeRTOS.h:61:35: error: 'ringbuf_type_t' has not been declared
61 | Ringbuffer(size_t length, ringbuf_type_t type = RINGBUF_TYPE_NOSPLIT);
| ^~~~~~~~~~~~~~
Multiple libraries were found for "BLEDevice.h"
Used: C:\Users\BEN ALI\Documents\Arduino\libraries\ESP32_BLE_Arduino
Not used: C:\Users\BEN ALI\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.1.1\libraries\BLE
exit status 1
Error compiling for board ESP32-WROOM-DA Module.
) im using the 1.0.1 version library
update:
i found the solution,i solved the problem with deleteing the folder(C:\Users\BEN ALI\Documents\Arduino\libraries\ESP32_BLE_Arduino) and making sure that the esp32 board library by expressif in installed,and i dont see the error anymore
note:thx for the helpfull totorial
nice n cool info thanx
ОтветитьSorry for the necro post, but just found your tutorial, trying to understand it and I am getting a fatal error: esp_bt.h: No such file or directory
ОтветитьOn my UNO R4 with WiFi built in I keep getting error Bluetooth is not enabled! Please run `make menuconfig` to and enable it but NO ONE IS SHOWING VIDEOS ON HOW TO ENABLE IT!!! I am over 73 years young and the text I read Googling it make no sense. HOW AND WHERE DO YOU RUN 'MAKE MENUCONFIG' FROM?
ОтветитьIm getting error , init is not a member of 'BLEDevice'
ОтветитьCant find the library!
ОтветитьHeyy i am not able to find the ESP32 BLE arduino library by Dariusz Krempa
Ответить