BTool.DeviceFormUtils.GetGapFilterPolicyStr C# (CSharp) Method

GetGapFilterPolicyStr() public method

public GetGapFilterPolicyStr ( byte filterPolicy ) : string
filterPolicy byte
return string
        public string GetGapFilterPolicyStr(byte filterPolicy)
        {
            switch (filterPolicy)
            {
                case 0:
                    return "Allow Scan Requests From Any, Allow " + newline_2tab + "Connect Request From Any.";
                case 1:
                    return "Allow Scan Requests From White List Only, " + newline_2tab + "Allow Connect Request From Any.";
                case 2:
                    return "Allow Scan Requests From Any, Allow " + newline_2tab + "Connect Request From White List Only.";
                case 3:
                    return "Allow Scan Requests From White List Only, " + newline_2tab + "Allow Connect Requests From White List Only.";
                default:
                    return "Unknown Gap Filter Policy";
            }
        }