BLE Advertising

ttquattroman
Posts: 2
Joined: Thu Nov 02, 2023 6:06 pm

BLE Advertising

Postby ttquattroman » Thu Nov 02, 2023 6:16 pm

Good evening,
First thank you for allowing me to join this forum. I have been interested in BLE for some time and now would like to put it to a practicle use. My small organisation will be exhibiting at a small trade show in the New Year, I would like to set up an ESP32 to advertise the stand and attract people to visit us. I would like the notification to appear, un solicited (I.E. I would not expect the recipient to have loaded a specific APP onto thier iOS or Android device) on thier screen when they are nearby our stand. Does anyone have a sketch that could achieve this. Many thanks in advance Peter

MicroController
Posts: 1706
Joined: Mon Oct 17, 2022 7:38 pm
Location: Europe, Germany

Re: BLE Advertising

Postby MicroController » Fri Nov 03, 2023 10:42 am

Fortunately, that's not how BLE works.
If this was possible, your phone would become almost unusable for the myriad of unsolicited ads being pushed to your screen (with ZERO cost to them) by all the companies seeking your attention on every corner of every street.

"Advertising" in the BLE context is a technical term and not related to sales. A BLE device "advertising" means that it's sending out a signal saying "hello, I'm here, you can connect to me if you want". Another device needs to explicitly "scan" for these advertising signals if&when it wants to discover what's there to connect to, and this requires either an app running which (continuously) initiates scans, or the user manually initiating a scan by navigating to his device's Bluetooth settings.

ttquattroman
Posts: 2
Joined: Thu Nov 02, 2023 6:06 pm

Re: BLE Advertising

Postby ttquattroman » Fri Nov 03, 2023 3:31 pm

Thank you for your reply and explanation. I appreciate what you say re unsolicited BLE messages being recieved. This being the case,does anyone have a robust BLE iBeacon ESP32 sketch that would transmit an invitation to visit the stand, accepting that the reciepient would need to be running an app that would read the advertisement. Many thanks Peter

Who is online

Users browsing this forum: Google [Bot] and 108 guests