Giter Club home page Giter Club logo

Comments (8)

squalsoft avatar squalsoft commented on May 25, 2024

В mac os, кстати, аналогичная ситуация.

from node-atol-wrapper.

farafonov-alexey avatar farafonov-alexey commented on May 25, 2024

Добрый день, вопрос скорее к самому ДТО, а не к обертке. Из простого: данные в ОФД передаются только если ДТО подключена к девайсу. Также в ДТО есть логи ОФД можно посмотреть в них.

from node-atol-wrapper.

squalsoft avatar squalsoft commented on May 25, 2024

А где можно посмотреть логи?

from node-atol-wrapper.

squalsoft avatar squalsoft commented on May 25, 2024

Нашёл в ~/.atol

from node-atol-wrapper.

squalsoft avatar squalsoft commented on May 25, 2024

В логах всё чисто, никаких ошибок нет. Файл ofd.log вообще пустой. Может, какой-то библиотеки не хватает? Так как в windows данные отправляются нормально.

from node-atol-wrapper.

squalsoft avatar squalsoft commented on May 25, 2024

Также не понятно, где брать параметры для настроек драйвера (settings). Используются некие цифры, о которых в документации АТОЛ ничего нет.

from node-atol-wrapper.

farafonov-alexey avatar farafonov-alexey commented on May 25, 2024

Думаю из оф. документации - driver_settings
И файла libfptr10.h. Например тут enum со списком типов подключения.

from node-atol-wrapper.

squalsoft avatar squalsoft commented on May 25, 2024

Благодарю. Это действительно важная информация по настройке данного драйвера.
Настройка settings.OfdChannel = 2; Решила мою проблему. Я думал, что это канал передачи данных EoU/EoT, а оказалось другое:
enum libfptr_ofd_channel
{
LIBFPTR_OFD_CHANNEL_NONE = 0,
LIBFPTR_OFD_CHANNEL_USB,
LIBFPTR_OFD_CHANNEL_PROTO,
LIBFPTR_OFD_CHANNEL_AUTO = LIBFPTR_OFD_CHANNEL_PROTO
};

from node-atol-wrapper.

Related Issues (15)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.