Comments (8)
В mac os, кстати, аналогичная ситуация.
from node-atol-wrapper.
Добрый день, вопрос скорее к самому ДТО, а не к обертке. Из простого: данные в ОФД передаются только если ДТО подключена к девайсу. Также в ДТО есть логи ОФД можно посмотреть в них.
from node-atol-wrapper.
А где можно посмотреть логи?
from node-atol-wrapper.
Нашёл в ~/.atol
from node-atol-wrapper.
В логах всё чисто, никаких ошибок нет. Файл ofd.log вообще пустой. Может, какой-то библиотеки не хватает? Так как в windows данные отправляются нормально.
from node-atol-wrapper.
Также не понятно, где брать параметры для настроек драйвера (settings). Используются некие цифры, о которых в документации АТОЛ ничего нет.
from node-atol-wrapper.
Думаю из оф. документации - driver_settings
И файла libfptr10.h. Например тут enum со списком типов подключения.
from node-atol-wrapper.
Благодарю. Это действительно важная информация по настройке данного драйвера.
Настройка 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)
- ARM node-gyp configure error HOT 21
- Пытаюсь запустить на Electron, Cannot find module HOT 2
- Подключение linux HOT 2
- build windows ia32 "error : undefined symbol" HOT 2
- Не собирается на Raspberry HOT 5
- Вылетает ошибка is not a valid Win32 application HOT 2
- Как использовать этот пакет? HOT 1
- Поддержка версии 10.9.0.0 HOT 2
- Сборка для ia32 на x64 windows HOT 3
- Не удается поставить пакет в Windows 10 (x64) HOT 2
- Ошибка сборки на Windows x32 на nw.js HOT 2
- Не собирается на node 12 HOT 10
- Обновление ДТО до 10.6.0.0 HOT 4
- Есть ли возможность подключить библиотеки для MacOs HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node-atol-wrapper.