def hexToString(hexString):
    """
        Simple method to convert an hexadecimal string to ascii string

        @param hexString: A string in hexadecimal format
        @return: A tuple (status,statusContent), where statusContent is an ascii string in case status = 0 or an error in case status = -1
    """
    string = ''
    if len(hexString) % 2 != 0:
        hexString = '0' + hexString
    try:
        for i in range(0, len(hexString), 2):
            string += chr(int(hexString[i] + hexString[i + 1], 16))
    except:
        return -1, 'Error in hexadecimal conversion'
    return 0, string
