 BLEService whistlepunkService("555a0001-0aaa-467a-9538-01f0652c74e8"); // create service
 // Must be 20 char long to accomodate full-size messages.
 const char *value = "                     ";
+
+String BleLongName = "Sci";
+bool serialConnected = false;
 
 BLECharacteristic valueCharacteristic("555a0003-0aaa-467a-9538-01f0652c74e8", BLENotify, value);
 



void loop() {
  // poll peripheral
  blePeripheral.poll();


  ble_addr_t _local_bda;
  char       _device_name[BLE_MAX_DEVICE_NAME+1];  
  ble_client_get_factory_config(&_local_bda, _device_name);
  BleLongName += String(_local_bda.addr[4], HEX);
  BleLongName += String(_local_bda.addr[5], HEX);
  DEBUG_PRINT("Address is: ");
  DEBUG_PRINTLN(BleLongName);
  blePeripheral.setLocalName(BleLongName.c_str());

  // advertise the service
  blePeripheral.begin();  
