shtrih-m / fr_drv_ng

релизы и поддержка драйвера fr_drv_ng
36 stars 5 forks source link

различное поведение функции OpenCheck #273

Closed SnakePliskin777 closed 11 months ago

SnakePliskin777 commented 11 months ago

Всем привет!

Столкнулся с различным поведением функции OpenCheck под Astra Linux и Win10.

под Win10 все отлично, чек открывается норм:

[2023-12-11 21:16:50.521] [19840] [ci_0x1b71a3ef730 ] [T] Set_Password(1) [2023-12-11 21:16:50.521] [19840] [ci_0x1b71a3ef730 ] [T] Set_Password() ok [2023-12-11 21:16:50.522] [19840] [ci_0x1b71a3ef730 ] [T] Set_CheckType(0) [2023-12-11 21:16:50.522] [19840] [ci_0x1b71a3ef730 ] [T] Set_CheckType() ok [2023-12-11 21:16:50.522] [19840] [ci_0x1b71a3ef730 ] [T] OpenCheck() [2023-12-11 21:16:50.522] [19840] [TcpSocketIO_0x1b71a2206a0 ] [D] -> 02 06 8D 01 00 00 00 00 8A [2023-12-11 21:16:50.532] [19840] [TcpSocketIO_0x1b71a2206a0 ] [D] <- FF [2023-12-11 21:16:50.534] [19840] [TcpSocketIO_0x1b71a2206a0 ] [D] <- 06 [2023-12-11 21:16:50.649] [19840] [TcpSocketIO_0x1b71a2206a0 ] [D] <- 02 03 8D 00 01 8F [2023-12-11 21:16:50.649] [19840] [TcpSocketIO_0x1b71a2206a0 ] [D] -> 06 [2023-12-11 21:16:50.649] [19840] [ProtocolV1_0x1b717f6b1d0 ] [D] command 8D return code: 0 execution took 126ms [2023-12-11 21:16:50.649] [19840] [ProtocolV1_0x1b717f6b1d0 ] [D] commands total: 27, succeed: 27, failed: 0, avg. exec time: 20ms [2023-12-11 21:16:50.649] [19840] [ci_0x1b71a3ef730 ] [T] OpenCheck() ok

однако под астрой с теми же параметрами уже ошибка:

[2023-12-11 21:24:35.092] [17484] [ci_0x568d2e733210 ] [T] Set_Password(1) [2023-12-11 21:24:35.092] [17484] [ci_0x568d2e733210 ] [T] Set_Password() ok [2023-12-11 21:24:35.092] [17484] [ci_0x568d2e733210 ] [T] Set_CheckType(0) [2023-12-11 21:24:35.092] [17484] [ci_0x568d2e733210 ] [T] Set_CheckType() ok [2023-12-11 21:24:35.092] [17484] [ci_0x568d2e733210 ] [T] OpenCheck() [2023-12-11 21:24:35.092] [17484] [SerialIO_0x7069200b8540 ] [D] -> 02 06 8D 01 00 00 00 00 8A [2023-12-11 21:24:35.093] [17484] [SerialIO_0x7069200b8540 ] [D] <- 06 [2023-12-11 21:24:35.093] [17484] [SerialIO_0x7069200b8540 ] [D] <- 02 02 8D 73 FC [2023-12-11 21:24:35.093] [17484] [SerialIO_0x7069200b8540 ] [D] -> 06 [2023-12-11 21:24:35.093] [17484] [ProtocolV1_0x7069200b8f90 ] [D] command 8D return code: 115 execution took 0ms [2023-12-11 21:24:35.093] [17484] [ProtocolV1_0x7069200b8f90 ] [E] Команда не поддерживается в данном режиме [2023-12-11 21:24:35.093] [17484] [ProtocolV1_0x7069200b8f90 ] [D] commands total: 27, succeed: 26, failed: 1, avg. exec time: 0ms [2023-12-11 21:24:35.093] [17484] [ci_0x568d2e733210 ] [D] OpenCheck() fail [2023-12-11 21:24:35.093] [17484] [ci_0x568d2e733210 ] [E] Команда не поддерживается в данном режиме [2023-12-11 21:24:35.093] [17484] [ci_0x568d2e733210 ] [T] Get_ResultCode() [2023-12-11 21:24:35.093] [17484] [ci_0x568d2e733210 ] [T] Get_ResultCode() -> 115 [2023-12-11 21:24:35.093] [17484] [ci_0x568d2e733210 ] [T] Get_ResultCode() [2023-12-11 21:24:35.093] [17484] [ci_0x568d2e733210 ] [T] Get_ResultCode() -> 115 [2023-12-11 21:24:35.093] [17484] [ci_0x568d2e733210 ] [T] Get_ResultCodeDescription() [2023-12-11 21:24:35.093] [17484] [ci_0x568d2e733210 ] [T] Get_ResultCodeDescription() -> Команда не поддерживается в данном режиме

юзаю версию fr_drv_ng 1.6.0.589 x64 может есть какой то нюанс в использования под linux?

Заранее спасибо!

SnakePliskin777 commented 11 months ago

Все работает отлично. Проблема была на нашей стороне