BTool.DeviceFormUtils.GetGapAddrTypeStr C# (CSharp) Method

GetGapAddrTypeStr() public method

public GetGapAddrTypeStr ( byte addrType ) : string
addrType byte
return string
        public string GetGapAddrTypeStr(byte addrType)
        {
            string addr_type;
            switch (addrType)
            {
                case 0:
                    addr_type = "Public";
                    break;
                case 1:
                    addr_type = "Static";
                    break;
                case 2:
                    addr_type = "PrivateNonResolve";
                    break;
                case 3:
                    addr_type = "PrivateResolve";
                    break;
                default:
                    addr_type = "Unknown Addr Type";
                    break;
            }
            return addr_type;
        }