Here is the C#.net function to convert hexadecimal octets to TEXT .The code is not optimized..Please contact me if you need any help
public void CovertFromHex(string[] hexValue,int length)
{
int count = 1,pos=0;
string[] hexInput = new string[hexValue.Length];
string[] splitstring = new string[8];
string[] bin = new string[100];
string concat = string.Empty;
string temp=string.Empty;
for (int i = 0; i <= length; i++)
{
string extract = hexValue[i].ToString();
if(extract!=string.Empty)
{
string[] x = new string[count];
for (int k = 0; k < extract.Length; k++)
{
if (k == length)
{
}
else if (k >= count)
{
concat = + concat + extract.Substring(k, 1) + ;
}
else
{
x[k] = extract.Substring(k, 1);
}
}
bin[pos] = + concat + temp + ;
temp = string.Empty;
concat = string.Empty;
count = count + 1;
for (int j = 0; j < x.Length; j++)
{
temp = + temp + x[j].ToString() + ;
}
pos++;
if (count == 8 )
{
count = 1;
bin[pos] = temp;
temp = string.Empty;
pos++;
}
}
}
bin[pos-1] = + temp + bin[pos-1].ToString() +";
}