
#####################################

 Dracal Technologies Inc.
 www.dracal.com

 DracalView & Command-line utilities

#####################################

Copyright (C) 2018-2024 Dracal Technologies Inc.
Copyright (C) 2007-2018 Raphaël Assénat

This software is free software: you can redistribute it and/or modify it under the
terms of the GNU General Public License as published by the Free Software Foundation,
either version 3 of the License, or (at your option) any later version.

This software is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with This software.
If not, see <https://www.gnu.org/licenses/>.

#####################################

Overview of directories:

    client/
        Command-line utilities

    dracalview/
        The DracalView GUI application based on Qt 5

    library/
        Modules used by both the command-line utilities and DracalView

The recommended build environment is Ubuntu 20.04. Install dependencies with:

    sudo apt install \
        build-essential libusb-1.0-0 libusb-1.0-0-dev qt5-qmake qt5-default qtscript5-dev

To access a Dracal device without being root, make sure your user is in the plugdev group,
add the following rules to a file under /etc/udev/rules.d, restart udev and reconnect the
device.

ATTR{idVendor}=="1781", ATTR{idProduct}=="0a98", MODE="0664", GROUP="plugdev"
ATTR{idVendor}=="289b", ATTR{idProduct}=="0500", MODE="0664", GROUP="plugdev"
ATTR{idVendor}=="289b", ATTR{idProduct}=="0501", MODE="0664", GROUP="plugdev"
ATTR{idVendor}=="289b", ATTR{idProduct}=="0502", MODE="0664", GROUP="plugdev"
ATTR{idVendor}=="289b", ATTR{idProduct}=="0503", MODE="0664", GROUP="plugdev"
ATTR{idVendor}=="289b", ATTR{idProduct}=="0504", MODE="0664", GROUP="plugdev"
ATTR{idVendor}=="289b", ATTR{idProduct}=="0505", MODE="0664", GROUP="plugdev"
ATTR{idVendor}=="289b", ATTR{idProduct}=="0506", MODE="0664", GROUP="plugdev"
ATTR{idVendor}=="289b", ATTR{idProduct}=="0507", MODE="0664", GROUP="plugdev"
ATTR{idVendor}=="289b", ATTR{idProduct}=="0508", MODE="0664", GROUP="plugdev"
ATTR{idVendor}=="289b", ATTR{idProduct}=="0509", MODE="0664", GROUP="plugdev"
ATTR{idVendor}=="289b", ATTR{idProduct}=="0510", MODE="0664", GROUP="plugdev"
