Stop advertising.
BLE.stopAdvertise()
None
Nothing
// begin initialization
if (!BLE.begin()) {
Serial.println("starting Bluetooth® Low Energy module failed!");
while (1);
}
// ...
BLE.advertise();
// ...
BLE.stopAdvertise();