ArduinoBLE - stopAdvertise()

Stop advertising.

Syntax

BLE.stopAdvertise()

Parameters

None

Returns

Nothing

Example


  // begin initialization
  if (!BLE.begin()) {
    Serial.println("starting BLE failed!");

    while (1);
  }

  // ...

  BLE.advertise();

  // ...  

  BLE.stopAdvertise();