hello friend uh I hope you are doing well uh so finally we have managed to complete your project requirements uh this is the final demo of the work so the idea was to have an esp32 working on blle uh so esp32 will be acting as a BL scanner for the beacons and for the mobile application side uh we will have a mobile application uh where it will keep sending the beacons and transmit all the inform information uh as Beacon packets okay so we have developed an mobile application both for the Android uh and you can see for the iOS okay so as as long as the device is uh near uh near to 1 m to the device the esp32 will detect the device and receive the information uh that you may set in The UU ID or whatever okay so for now I have set the uh so let me show you the interface for the mobile application so the first thing is Bluetooth status it's showing either it's on or off and then we will see like we are testing if the beacon I beacons are supported by the mobile application or not so in our case uh it's supported by both the uh Android and obvious on iOS okay then we have the user key uh that will distinguish one device from another okay so for now in if you see the my esp32 code I am I have just put two valid codes one is for 1 2 3 4 this is first uid like the first key okay and this is the for the second device that is 13 12 13 and 14 okay so for 13 12 and 13 I'm setting up this this one my iOS and for the Android I'm using uh 0 1 02 0 3 and 04 like the four bytes basically we are using as the key okay so let's get started and for the esp3 ti2 side I have set the condition that uh if the device is near than 1 M then it should uh turn on an LED on the esp3 2 okay so if you see here on the serial monitor I'm continuously scanning for the devices and if you see I have multiple other devices that are coming but uh the two valid devices that we are looking for are these two devices which are basically are iOS mobile application and Android mob mobile application okay so let's get started with the first one uh let's start with the Android app I have turned this one on so as soon as as I turn this one on the blue LED turns on it means that the device is in the near proximity okay so let's try to go a little far from like 1 M yeah it turns off so now my device is almost 1 M away so if I bring the device near again yeah it's it's basically detecting that device and if I press the stop switch for the next cycle yeah so even if we we are near to the device not any long supported because the device is I have turned off the uh Bluetooth okay so let me start this one again let me show you one more thing so even if you have the device running in the background let's say like this it still works so we have created the mobile application as the service so you don't need to pair or anything just if you have a mobile application on on your cell phone and you put it in the sleep mode it still data exra device see I take it away yeah it works so let me bring it again near yeah so see even if the screen is locked the device is the screen is still working okay now similarly Let's test for the iOS let's go on this one and let's start the app oh maybe okay so on the iOS side when the device is near like we are doing the same procedure for the I let's try to stop this one yeah it does work so let me start this one again start it let's try to make it little far yeah turns off let's bring it back again does work take it off so this was it uh from this B application and esp32 you can make a number of use cases like in your mobile application the good thing about using the beacon technology is like you don't have to uh pay the devices directly and even if the devices are in sleep mode you that that still works so that is very very uh useful feature of the beacons so I hope you like the work uh let me know if you have any questions thank you