Arduino recognisable smartphone beacon

I want to advertise a beacon on my smartphone and the Arduino Nano 33 BLE should recognize it to turn its LED on if it finds my phone.
The app I'm using makes me choose between different types of beacon, like altbeacon, ibeacon, ... etc., to create a new one.
Which parameters do I need to set on each side, because right now the Arduino does not find the beacon?

Define what you mean by “find “ - pointing at the screen , close to it or in the same room ?? Next door ?? Your “beacon” - what is it ? a radio beacon ? Light ?

What hardware are you using and code ?

Hi, @jnfouhofnlk
Welcome to the forum.

Do you mean transmit a beacon for a Nano 33 BLE to detect?

Tom.. :smiley: :+1: :coffee: :australia:

yes, i want my android smartphone to transmit a beacon for the nano 33 ble to detect.

Sorry, I'm completely new to all of this :sweat_smile:
Here is my code.

#include <ArduinoBLE.h>

const int green = 2;
const int blue = 3;

void setup() {
  Serial.begin(9600);
  while (!Serial);

  // begin initialization
  if (!BLE.begin()) {
    Serial.println("starting Bluetooth® Low Energy module failed!");

    while (1);

}
}

void loop() {
  BLE.scanForUuid("19B10000-E8F2-537E-4F6C-D104768A1214");

  BLEDevice peripheral = BLE.available();

  if (peripheral) {
  digitalWrite(green, HIGH);
  digitalWrite(blue, LOW);
  }
  else {
    digitalWrite(green, LOW);
    digitalWrite(blue, HIGH);
  }
}

When the Arduino is able to scan a given UUID, transmitted by my android smartphone beacon, the Arduino should turn on a LED. Preferably when the smartphone is in the same room ike the Arduino.

I tried different apps like BeaconScope or Beacon Simulator, but no matter what I choose, AltBeacon, iBeacon or something else for the transmitted beacon, the Arduino Nano 33 BLE is not able to scan it.