   blePeripheral.setAdvertisedServiceUuid(service.uuid());
   //Adding attributes for BLE peripheral.
   blePeripheral.addAttribute(service);
-  blePeripheral.addAttribute(characteristic);
   blePeripheral.addAttribute(desc);
+  blePeripheral.addAttribute(time);
 
   //Bind events for connects and disconnects.
   blePeripheral.setEventHandler(BLEConnected, blePeripheralConnectHandler);

}

void blePeripheralConnectHandler(BLECentral& central) {
  if (central){
    buffer.drawText(stringBuffer.start().put("connected...").get(),15,8,buffer.rgb(255,0,0), &virtualDJ_5ptFontInfo);
    buffer.flush(display);
    stringBuffer.reset();
  }
}

void blePeripheralDisconnectHandler(BLECentral& central) {
  if (central){
    buffer.drawText(stringBuffer.start().put("disconnected...").get(),15,8,buffer.rgb(255,0,0), &virtualDJ_5ptFontInfo);
    buffer.flush(display);
    stringBuffer.reset();
  }
}

//TODO: Method to render time.
/*void renderTime(unsigned int n){
  buffer.drawText(stringBuffer.start().putDec(hour()).put(":").putDec(minute()).put(":").putDec(second()).get(),15,8,buffer.rgb(255,0,0), &virtualDJ_5ptFontInfo);
}*/

//TODO: Method to render date.
/*void renderDate(unsigned int n){


//Uniquely identifies BLE peripheral, used for advertising.
BLEService service = BLEService("CCC0");
//Description of content sent via BLE peripheral.
BLEDescriptor desc = BLEDescriptor("CCC1", "One Watch to Rule Them All!");
//Defines behavior of BLE peripheral.
BLELongCharacteristic time = BLECharCharacteristic("CCC2", BLERead);

void setup() {
  BLESetup();
