def cell_voltages(messages):
    """Cell voltages decoder."""
    d = messages[0].data
    if len(d) == 0:
        return None
    else:
        cell_voltages = []
        for byte in range(6, 38):
            cell_voltages.append(d[byte] / 50.0)
        return cell_voltages