     case PeripheralNotConnected             = 5
 }
 
-public struct CenteralError {
+public struct CentralError {
     public static let domain = "Central Example"
     public static let dataCharacteristicNotFound = NSError(domain:domain, code:CentralExampleError.DataCharactertisticNotFound.rawValue, userInfo:[NSLocalizedDescriptionKey:"Accelerometer Data Chacateristic Not Found"])
     public static let enabledCharacteristicNotFound = NSError(domain:domain, code:CentralExampleError.EnabledCharactertisticNotFound.rawValue, userInfo:[NSLocalizedDescriptionKey:"Accelerometer Enabled Chacateristic Not Found"])

                    return accelerometerEnabledCharacteristic.write(TISensorTag.AccelerometerService.Enabled.Yes)
                } else {
                    let promise = Promise<Characteristic>()
                    promise.failure(CenteralError.enabledCharacteristicNotFound)
                    return promise.future
                }
            } else {
                let promise = Promise<Characteristic>()
                promise.failure(CenteralError.serviceNotFound)
                return promise.future
            }
        }

                return accelerometerEnabledCharacteristic.read(10.0)
            } else {
                let promise = Promise<Characteristic>()
                promise.failure(CentralError.characteristicNotFound)
                return promise.future
            }
        }
