 
         let opcode = (CP.command.rawValue, type(of: CP.command).opcodeGroupField.rawValue)
 
-        let data = try HCISendRequest(internalSocket, opcode: opcode, commandParameterData: commandParameter.byteValue, eventParameterLength: 1, timeout: timeout)
+        let data = try HCISendRequest(internalSocket,
+                                      opcode: opcode,
+                                      commandParameterData: commandParameter.byteValue,
+                                      eventParameterLength: 1,
+                                      timeout: timeout)
 
         guard let statusByte = data.first
             else { fatalError("Missing status byte!") }

            // success!
            try done()
            let dataLength = min(eventData.count, eventParameterLength)
            return  Array(eventData.suffix(dataLength))

        case HCIGeneralEvent.CommandComplete.rawValue:
            

        
        let data = try HCISendRequest(internalSocket,
                                      opcode: opcode,
                                      eventParameterLength: commandReturnType.length + 1, // status code + parameters
                                      timeout: timeout)
        
        guard let statusByte = data.first
            else { fatalError("Missing status byte!") }
        
        guard statusByte == 0x00
            else { throw HCIError(rawValue: statusByte)! }
        
        guard let response = Return(byteValue: Array(data.suffix(from: 1)))
            else { throw AdapterError.garbageResponse(Data(data)) }
        
        return response
