ESP32 Technical Tutorials: BLE and C++

  Рет қаралды 35,742

Kolban Technical Tutorials

Kolban Technical Tutorials

Күн бұрын

Пікірлер: 44
@iot_enthusiast
@iot_enthusiast 3 жыл бұрын
love the way you explain, otherwise difficult to comprehend concepts, so easily ! simply superb!
@FredFotsch
@FredFotsch 8 ай бұрын
Excellent video. Thank you for making this. I learned a lot!
@UnaiGZ
@UnaiGZ 2 жыл бұрын
Thank you for your great efforts Neil!!
@arturwiebe7482
@arturwiebe7482 7 жыл бұрын
Thx for this tutorial. Definitely a step in the right direction as most programmers are not interested in all these BLE internals. Still, I think that we need Classic BT support because even with your nice C++ classes the other side, Android in my case, needs to be written. And it is also a mess. Actually the same problem: overloading people with technical concepts. All I want to do is to send and receive data! C'mon!
7 жыл бұрын
OMG! I was searching a couple of days how I can use BT functionality of ESP32. The provided examples are a little bit complex for a BT-beginner like me. But this very helpful. BIG THAAANK YOUUU :)
@plopprocks
@plopprocks 7 жыл бұрын
Amazing work. I'm absolutely thrilled for things to come. Thanks for all the amazing work for the community!
@aamirayub8564
@aamirayub8564 2 жыл бұрын
Thanks a lot for this tutorial!
@kartiksikka3866
@kartiksikka3866 6 жыл бұрын
Thank You for such nice BLE classes !!!
@markingle8980
@markingle8980 7 жыл бұрын
Thanks Kolban! There are plenty of code examples for the ESP to run as a client. But there is hardly any for server. Thank you so much! I think your esp32 PDF was recently updated too so I'll take a look at it as well and get back to my ESP projects
@ankitrana5855
@ankitrana5855 5 жыл бұрын
Hello Sir can you explain(with practical example) or provide a source to understand ALL about GATT more specifically GATT Declarations, Descriptors(how and where they are used) and in detail about UUID?
@iiilllii140
@iiilllii140 2 жыл бұрын
In the onWrite callback, you said we could turn on a led. Would you do that with a freertos queue?
@YousufAlam-jx4qd
@YousufAlam-jx4qd Жыл бұрын
Hello sir, can I used deep sleep features in ble connectable device?
@ThomasHaberkorn
@ThomasHaberkorn 7 жыл бұрын
Great work! Does such a high-level framework also exist to use Bluetooth classic on the ESP32?
@praveenchaubey7018
@praveenchaubey7018 5 жыл бұрын
In a nutshell way i am asking, can we take sound sensor data to ESP32 and than connect a peripheral Speaker with Bluetooth connection and stream live Audio?
@KalimanMer
@KalimanMer 6 жыл бұрын
Hello I am testing this project and I flashed it on ESP32 chip. When a I search for btl services, I found the Generic Attribute and Generic Access services but NOT my customized Service (then service is not advertised according the debug messages). Do you have one idea why?
@elpanoo1
@elpanoo1 5 жыл бұрын
Is it possible to copy paste the code to the Arduino IDE and upload it to a board?
@chauvoluuhuong7485
@chauvoluuhuong7485 5 жыл бұрын
Hi, can we awake esp32 up from sleeping by bluetooth event ? because in active mode esp32 consume a lot of power
@robertkominka7537
@robertkominka7537 5 жыл бұрын
Thanks Neil for great tutorial ! It is straight to the point. Perhaps I overlooked possibility of specifying Manufacturer data in advertising. Is it possible in these BLE classes ? cheers !
@arihanttechnosolutionsats4478
@arihanttechnosolutionsats4478 6 жыл бұрын
I can separately use WiFi codes and BLE codes, both are perfectly working, but when we try to combine these two codes, it says memory full error. How can we rectify that ??? Kindly help me to solve this issue.
@miketony2069
@miketony2069 7 жыл бұрын
Very well explained
@pcbreflux
@pcbreflux 7 жыл бұрын
Hi, thank you for this tutorial!
@pcbreflux
@pcbreflux 7 жыл бұрын
Did you plan to implement notifications and also callbacks on descriptors (this enable notifications)? For reading sensors I use this a lot and also working on some kind of cheap ESP32 BLE logging multimeter. So the BLE client can decide by enabling notifications when to be flooded by sensor data or on the other hand by disabling notification keep the BLE server quite.
@kolbantechnicaltutorials4715
@kolbantechnicaltutorials4715 7 жыл бұрын
You betcha my friend. Callbacks for a peer read request and write request are already in place. When a read request arrives at the ESP32, the default is just to return the current value of the ESP32 managed characteristic but we have the option of providing a callback that is invoked to provide a new value ... and that would be the value returned. Correspondingly, we have the notion of a write callback. When the peer writes a new value to the ESP32, a write callback is invoked to that our logic can be signaled that the data has changed and we can perform some action. We also have outbound (from ESP32) inform() and notify() methods. These allow the ESP32 to indicate to the peer that the value of an ESP32 characteristic has changed and the peer might then choose to "do something" with that knowledge.
@davidschroder2845
@davidschroder2845 7 жыл бұрын
Hello, is it still worth it to use the esp 8266? My goal is to make a wireless sensor node and i have been following your very nice video on setting up eclipse in a vm, install the toolchain and all that.
@kolbantechnicaltutorials4715
@kolbantechnicaltutorials4715 7 жыл бұрын
Howdy David. Its a good question. I can offer my opinion ... While the ESP32 and ESP8266 can obviously be used by hobbyists, that is not the primary market for these products (opinion). Instead, they are designed to used by OEMs who will build high volume products of which the ESP32 and ESP8266 are components. When one builds high-volume anything, a small difference in price of a component scales up when you but in large quantities. While the ESP32 has much more power and function as compared to the ESP8266, that currently comes at a literal price cost. You should currently expect to pay more for a unit of ESP32 than for an unit of ESP8266. When designing a product for high volume production, you will then want to choose the "cheapest" component that will do the job. If what one needs for a given product is withing the specification of an ESP8266 then one could argue that you would be wasting monies using a higher specified product (the ESP32). The flip side, of course, is that if your product requires capacity or a feature found in the ESP32 but not present in the ESP8266, the story becomes moot. If you are a hobbyist and employed .... and not contemplating high volume production, I personally would recommend working with the ESP32. The capabilities of that device are "so much better" while the price differential appears to be about the cost of a large cup of premium coffee.
@davidschroder2845
@davidschroder2845 7 жыл бұрын
Hello Mr. Kolban, first of all let me tell you that your videos are amazing. Thank you for your reply to my inquiry. I am working on a project which needs a wireless sensor node. So far i am developing on a STM32 based mcu and my research for alternatives lead me to your videos. I am still undecided if i should use the arduino adaptation or not. Andreas Spiess who is also on youtube and you should team up and make the perfect esp powerduo to be honest.. Thank you for providing such quality.
@weerobot
@weerobot 6 жыл бұрын
Why have they made bluetooth so complicated???
@eddiegeerts6107
@eddiegeerts6107 7 жыл бұрын
is there a way to make it more secure so not everyone can connect or is this some thing you need to program your self?
@kolbantechnicaltutorials4715
@kolbantechnicaltutorials4715 7 жыл бұрын
Hi Eddie. BLE does indeed provide a wealth of security possibilities. This is the start of the project and we'll add more security features as requested. There will be a few options that immediately come to mind. The first is that we have the notion of "passkeys". Imagine, for example, that when you connect to the ESP32, the ESP32 presents a pass-key to the user. This would require I/O. The same pass-key would be presented on your "phone" and you would be asked to confirm that they are the same. Another option would be to initially allow connection from anyone but, once you have "married" your ESP32 and "phone", the ESP32 would maintain a white list of only those devices allowed to connect. There might be a reset button on the ESP32. These are only two choices and I'll be there are more. Have a look around at how other devices are secured with Bluetooth and what ever they do, we can expose at a high level with the ESP32.
@animeshsachan7001
@animeshsachan7001 7 жыл бұрын
is there any tutorial for scanning other bluetooth beacons with ESP32 like bluetooth sniffing with ESP32?
@kolban1
@kolban1 7 жыл бұрын
There is a sample BLE scanner found here ... github.com/nkolban/esp32-snippets/blob/master/cpp_utils/tests/BLETests/SampleScan.cpp
@nhanNguyen-wo8fy
@nhanNguyen-wo8fy 8 ай бұрын
5:15 code start
@MrPerll
@MrPerll 7 жыл бұрын
Sir, great tutorial. By the way, your book too!! How can I do to use WiFi and Ble toguether without overcomming the sketch size???
@axa.axa.
@axa.axa. 5 жыл бұрын
I've seen it possible. One thing to do is remap you memory map to get rid of OTA. But it's a challenge as they share the same radio
@sportybj1360
@sportybj1360 7 жыл бұрын
Very helpful tutorial. Could you let me know where to find the project source code?
@kolbantechnicaltutorials4715
@kolbantechnicaltutorials4715 7 жыл бұрын
No problems ... see the following ... esp32.com/viewtopic.php?f=13&t=2330
@lut5ch3r
@lut5ch3r 7 жыл бұрын
I can't manage to include the BLE.h file. Worthless for me I guess...
@blockchaine2917
@blockchaine2917 6 жыл бұрын
5
@ReevansElectro
@ReevansElectro 7 жыл бұрын
Your static graphics reflect a lazy preparation and adds nothing to your presentation.
ESP32 Technical Tutorials: BLE Notifications
15:35
Kolban Technical Tutorials
Рет қаралды 63 М.
Sigma girl VS Sigma Error girl 2  #shorts #sigma
0:27
Jin and Hattie
Рет қаралды 124 МЛН
Vampire SUCKS Human Energy 🧛🏻‍♂️🪫 (ft. @StevenHe )
0:34
Alan Chikin Chow
Рет қаралды 138 МЛН
БАБУШКА ШАРИТ #shorts
0:16
Паша Осадчий
Рет қаралды 4,1 МЛН
Master BLE Basics in Just 10 Minutes: The Ultimate Guide!
9:15
Novel Bits
Рет қаралды 115 М.
ESP32 Technical Tutorials: Watchdog Processing
15:31
Kolban Technical Tutorials
Рет қаралды 35 М.
TUTORIAL: Quickly getting started with ESP32 / ESP32S in 5 - 10 minutes! Beginner Friendly! Arduino!
10:05
Antony Cartwright (Electronics & Code)
Рет қаралды 363 М.
ESP32 Deep Sleep Tutorial for Low Power Projects
8:14
educ8s.tv
Рет қаралды 193 М.
Arenas, strings and Scuffed Templates in C
12:28
VoxelRifts
Рет қаралды 100 М.
ESP32 BLE - Bluetooth Low Energy sending data to phone
8:31
Sigma girl VS Sigma Error girl 2  #shorts #sigma
0:27
Jin and Hattie
Рет қаралды 124 МЛН