     case LeaveNetwork = 1009
     case GetNetworkInfo = 1010
     case ScanNetworks = 1011
-    case Test = 1111
-    
 }
 
-public enum ControlRequestErrorType: Int32 {
+public enum ControlReplyErrorType: Int32 {
     case NONE = 0
     case UNKNOWN = -100
     case BUSY = -110

    case GetSerialNumber = 21
    case GetConnectionStatus = 300
    case IsClaimed = 201
    case SetSecurityKey = 210
    case GetSecurityKey = 211
    case CreateNetwork = 1002
    case StartCommissioner = 1003
    case StopCommissioner = 1004

    static let FRAME_EXTRA_BYTES: Int16 = 16

    var id: UInt16
    var result: ControlReplyErrorType
    var data: Data
}
