03 80 15 02 00 0A 00 39 04 06 00 78 69 00 00 00 00 00 00 19 [21:34:15]Write i2c OK [21:34:15]MH_I2C_Read... [21:34:15]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [21:34:15]Read from MH i2c: E2 [21:34:15]MH_I2C_Read... [21:34:15]Read from MH i2c: E2 03 00 [21:34:15]MH_I2C_Read... [21:34:15]Read from MH i2c: E2 03 00 5E 03 00 90 00 D5 [21:34:15]RAPDU: 90 00 [21:34:15]wFMCommunicate OK [21:34:15]wFMCommunicate request_size=11 [21:34:15]MH_SAM_APDU [21:34:15]CAPDU: 80 15 02 00 06 1F 04 02 00 01 00 [21:34:15]Write to MH i2c: E2 0E 00 5F 03 80 15 02 00 06 00 1F 04 02 00 01 00 00 00 14 [21:34:15]Write i2c OK [21:34:15]MH_I2C_Read... [21:34:15]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [21:34:15]Read from MH i2c: E2 [21:34:15]MH_I2C_Read... [21:34:15]Read from MH i2c: E2 03 00 [21:34:15]MH_I2C_Read... [21:34:15]Read from MH i2c: E2 03 00 5F 03 00 90 00 D6 [21:34:15]RAPDU: 90 00 [21:34:15]wFMCommunicate OK [21:34:15]wFMCommunicate request_size=13 [21:34:15]MH_SAM_APDU [21:34:15]CAPDU: 80 15 02 00 08 F4 03 04 00 57 E5 5C 66 [21:34:15]Write to MH i2c: E2 10 00 60 03 80 15 02 00 08 00 F4 03 04 00 57 E5 5C 66 00 00 EC [21:34:15]Write i2c OK [21:34:15]MH_I2C_Read... [21:34:15]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [21:34:15]Read from MH i2c: E2 [21:34:15]MH_I2C_Read... [21:34:15]Read from MH i2c: E2 03 00 [21:34:15]MH_I2C_Read... [21:34:15]Read from MH i2c: E2 03 00 60 03 00 90 00 D7 [21:34:15]RAPDU: 90 00 [21:34:15]wFMCommunicate OK [21:34:15]wFMCommunicate request_size=25 [21:34:15]MH_SAM_APDU [21:34:15]CAPDU: 80 15 02 00 14 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 33 37 [21:34:15]Write to MH i2c: E2 1C 00 61 03 80 15 02 00 14 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 33 37 00 00 49 [21:34:15]Write i2c OK [21:34:15]MH_I2C_Read... [21:34:15]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [21:34:15]Read from MH i2c: E2 [21:34:15]MH_I2C_Read... [21:34:15]Read from MH i2c: E2 03 00 [21:34:15]MH_I2C_Read... [21:34:15]Read from MH i2c: E2 03 00 61 03 00 90 00 D8 [21:34:15]RAPDU: 90 00 [21:34:15]wFMCommunicate OK [21:34:15]wFMCommunicate request_size=4 [21:34:15]MH_SAM_APDU [21:34:15]CAPDU: 80 15 03 00 [21:34:15]Write to MH i2c: E2 08 00 62 03 80 15 03 00 00 00 00 00 E6 [21:34:15]Write i2c OK [21:34:15]MH_I2C_Read... [21:34:15]*** iso7816_exchange 80 15 03 00... Resp OK rsp.len_out = 61! [21:34:15]Read from MH i2c: E2 [21:34:15]MH_I2C_Read... [21:34:15]Read from MH i2c: E2 40 00 [21:34:15]MH_I2C_Read... [21:34:15]Read from MH i2c: E2 40 00 62 03 00 3B 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 10 04 04 00 ED F8 00 00 0E 04 04 00 74 01 00 00 12 04 04 00 71 00 00 00 35 04 06 00 90 5D 5D 59 65 77 90 00 25 [21:34:15]RAPDU: 3B 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 10 04 04 00 ED F8 00 00 0E 04 04 00 74 01 00 00 12 04 04 00 71 00 00 00 35 04 06 00 90 5D 5D 59 65 77 90 00 [21:34:15]wFMCommunicate OK [21:34:15]SAM_PROTO_ProcessDocument answer len = 59 [21:34:15]SAM_PROTO_ProcessDocument done [21:34:15]SetTLVBufToDocument [21:34:16]Processing tag 1209 (04B9) [21:34:16]Malloc new data [21:34:16]Processing tag 1041 (0411) [21:34:16]Processing tag 1040 (0410) [21:34:16]Malloc new data [21:34:16]Processing tag 1038 (040E) [21:34:16]Malloc new data [21:34:16]Processing tag 1042 (0412) [21:34:16]Malloc new data [21:34:16]Processing tag 1077 (0435) [21:34:16]Malloc new data [21:34:16]SetTLVBufToDocument err=0 [21:34:16]KKMLoadAndSignReceiptData store KKM data [21:34:16]KKMLoadAndSignReceiptData err=0 [21:34:16]wFMCommunicate request_size=4 [21:34:16]MH_SAM_APDU [21:34:16]CAPDU: 80 11 00 00 [21:34:16]Write to MH i2c: E2 08 00 63 03 80 11 00 00 00 00 00 00 E0 [21:34:16]Write i2c OK [21:34:16]MH_I2C_Read... [21:34:16]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:34:16]Read from MH i2c: E2 [21:34:16]MH_I2C_Read... [21:34:16]Read from MH i2c: E2 17 00 [21:34:16]MH_I2C_Read... [21:34:16]Read from MH i2c: E2 17 00 63 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 90 00 32 [21:34:16]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 90 00 [21:34:16]wFMCommunicate OK [21:34:16]Счет N : (3)73316 ИНН: 02508201610067 Контрольно-Кассовый Чек ПРОДАЖА Товар: 4601025113964 Напиток Фрутмотив тропический микс 0,9 2.000 * 135.00 = 270.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 270.00 НСП 1% : 2.39 НДС 12% : 28.67 Наличными: 0.00 Безнал.: 270.00 Место: АЗС № 117 "Партнер Нефть" Адрес: 720001, г. Каракол, ул. Прежевальского 101/1 (кольцо), 42.500140, 78.386597 СНО: Общий режим Чек 113 02.06.2024 21:34 Смена: 372 ФФД: 1.0 ЗНМ: 0300000031 РНМ: 0000000000092737 Версия ККМ: 001 Платежная система: АКБ Кыргызстан ФМ: 0000000000875074 ФД: 63725 ФПД: 158730672498039 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240602T213415&type=1&operation_type=1&fn_number=0000000000875074&fd_number=63725&fm=158730672498039&tin=02508201610067®Number=0000000000092737&sum=27000 0 [21:34:16]StoreToDocumentArchive [21:34:16]shift 372 fd 63725 [21:34:16]save to /storage/0372/doc_00063725 [21:34:16]save last doc name /storage/0372/doc_00063725 to /storage/kkm_last_doc_name [21:34:16]save OK [21:34:16]Clear old archive folders... [21:34:16]ProcessDocumentItem done err = 0, tmpTLVsize=311 [21:34:16]tlvbuf is 00B9FDD0 [21:34:16]SAM_PROTO_ClearQueue [21:34:16]wFMCommunicate request_size=4 [21:34:16]MH_SAM_APDU [21:34:16]CAPDU: 80 09 00 00 [21:34:16]Write to MH i2c: E2 08 00 64 03 80 09 00 00 00 00 00 00 D9 [21:34:16]Write i2c OK [21:34:16]MH_I2C_Read... [21:34:16]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:34:16]Read from MH i2c: E2 [21:34:16]MH_I2C_Read... [21:34:16]Read from MH i2c: E2 03 00 [21:34:16]MH_I2C_Read... [21:34:16]Read from MH i2c: E2 03 00 64 03 00 90 00 DB [21:34:16]RAPDU: 90 00 [21:34:16]wFMCommunicate OK [21:34:16]SAM_PROTO_ClearQueue done [21:34:16]KKMCreateOFDPacket [21:34:16]OFDProtocolAddRootSTLVToBuf [21:34:16]FM_MakeSignedData [21:34:16]FM_MakeSignedData [21:34:16]SAM_PROTO_SignData [21:34:16]wFMCommunicate request_size=4 [21:34:16]MH_SAM_APDU [21:34:16]CAPDU: 80 0D 01 02 [21:34:16]Write to MH i2c: E2 08 00 65 03 80 0D 01 02 00 00 00 00 E1 [21:34:16]Write i2c OK [21:34:16]MH_I2C_Read... [21:34:16]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:34:16]Read from MH i2c: E2 [21:34:16]MH_I2C_Read... [21:34:16]Read from MH i2c: E2 03 00 [21:34:16]MH_I2C_Read... [21:34:16]Read from MH i2c: E2 03 00 65 03 00 90 00 DC [21:34:16]RAPDU: 90 00 [21:34:16]wFMCommunicate OK [21:34:16]wFMCommunicate request_size=255 [21:34:16]MH_SAM_APDU [21:34:16]CAPDU: 80 0D 02 02 FA 03 00 37 01 1E 04 01 00 01 23 04 89 00 8A 04 0D 00 34 36 30 31 30 32 35 31 31 33 39 36 34 06 04 45 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A4 D1 80 D1 83 D1 82 D0 BC D0 BE D1 82 D0 B8 D0 B2 20 D1 82 D1 80 D0 BE D0 BF D0 B8 D1 87 D0 B5 D1 81 D0 BA D0 B8 D0 B9 20 D0 BC D0 B8 D0 BA D1 81 20 30 2C 39 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 78 69 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 78 69 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EF 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 33 0B 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 78 69 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 71 00 00 00 F4 03 04 00 57 E5 5C 66 0E 04 04 00 74 01 [21:34:16]Write to MH i2c: E2 02 01 66 03 80 0D 02 02 FA 00 03 00 37 01 1E 04 01 00 01 23 04 89 00 8A 04 0D 00 34 36 30 31 30 32 35 31 31 33 39 36 34 06 04 45 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A4 D1 80 D1 83 D1 82 D0 BC D0 BE D1 82 D0 B8 D0 B2 20 D1 82 D1 80 D0 BE D0 BF D0 B8 D1 87 D0 B5 D1 81 D0 BA D0 B8 D0 B9 20 D0 BC D0 B8 D0 BA D1 81 20 30 2C 39 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 78 69 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 78 69 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EF 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 33 0B 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 78 69 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 71 00 00 00 F4 03 04 00 57 E5 5C 66 0E 04 04 00 74 01 00 00 1C [21:34:16]Write i2c OK [21:34:16]MH_I2C_Read... [21:34:17]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:34:17]Read from MH i2c: E2 [21:34:17]MH_I2C_Read... [21:34:17]Read from MH i2c: E2 03 00 [21:34:17]MH_I2C_Read... [21:34:17]Read from MH i2c: E2 03 00 66 03 00 90 00 DD [21:34:17]RAPDU: 90 00 [21:34:17]wFMCommunicate OK [21:34:17]wFMCommunicate request_size=70 [21:34:17]MH_SAM_APDU [21:34:17]CAPDU: 80 0D 02 02 41 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 10 04 04 00 ED F8 00 00 35 04 06 00 90 5D 5D 59 65 77 [21:34:17]Write to MH i2c: E2 49 00 67 03 80 0D 02 02 41 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 10 04 04 00 ED F8 00 00 35 04 06 00 90 5D 5D 59 65 77 00 00 61 [21:34:17]Write i2c OK [21:34:17]MH_I2C_Read... [21:34:17]Read from MH i2c: E2 [21:34:17]MH_I2C_Read... [21:34:17]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:34:17]Read from MH i2c: E2 03 00 [21:34:17]MH_I2C_Read... [21:34:17]Read from MH i2c: E2 03 00 67 03 00 90 00 DE [21:34:17]RAPDU: 90 00 [21:34:17]wFMCommunicate OK [21:34:17]wFMCommunicate request_size=4 [21:34:17]MH_SAM_APDU [21:34:17]CAPDU: 80 0D 03 02 [21:34:17]Write to MH i2c: E2 08 00 68 03 80 0D 03 02 00 00 00 00 E6 [21:34:17]Write i2c OK [21:34:17]MH_I2C_Read... [21:34:17]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:34:17]Read from MH i2c: E2 [21:34:17]MH_I2C_Read... [21:34:17]Read from MH i2c: E2 0B 00 [21:34:17]MH_I2C_Read... [21:34:17]Read from MH i2c: E2 0B 00 68 03 00 45 2C 13 48 31 08 5A 57 90 00 9D [21:34:17]RAPDU: 45 2C 13 48 31 08 5A 57 90 00 [21:34:17]wFMCommunicate OK [21:34:17]SAM_PROTO_SignData done [21:34:17]FM_MakeSignedData done [21:34:17]CreateOFDProtocolMessage [21:34:17]wFMCommunicate request_size=4 [21:34:17]MH_SAM_APDU [21:34:17]CAPDU: 80 11 00 00 [21:34:17]Write to MH i2c: E2 08 00 69 03 80 11 00 00 00 00 00 00 E6 [21:34:17]Write i2c OK [21:34:17]MH_I2C_Read... [21:34:17]Read from MH i2c: E2 [21:34:17]MH_I2C_Read... [21:34:17]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:34:17]Read from MH i2c: E2 17 00 [21:34:17]MH_I2C_Read... [21:34:17]Read from MH i2c: E2 17 00 69 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 90 00 38 [21:34:17]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 90 00 [21:34:17]wFMCommunicate OK [21:34:17]CreateOFDProtocolMessage done [21:34:17]OFDSenderStorePacket 63725 [21:34:17]StoreOFDPacket docnum=63725 [21:34:17]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 4B 01 00 00 22 93 43 01 92 BE 5A 03 01 00 03 00 37 01 1E 04 01 00 01 23 04 89 00 8A 04 0D 00 34 36 30 31 30 32 35 31 31 33 39 36 34 06 04 45 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A4 D1 80 D1 83 D1 82 D0 BC D0 BE D1 82 D0 B8 D0 B2 20 D1 82 D1 80 D0 BE D0 BF D0 B8 D1 87 D0 B5 D1 81 D0 BA D0 B8 D0 B9 20 D0 BC D0 B8 D0 BA D1 81 20 30 2C 39 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 78 69 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 78 69 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EF 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 33 0B 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 78 69 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 71 00 00 00 F4 03 04 00 57 E5 5C 66 0E 04 04 00 74 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 10 04 04 00 ED F8 00 00 35 04 06 00 90 5D 5D 59 65 77 45 2C 13 48 31 08 5A 57 [21:34:17]CheckFolder [21:34:17]dirname=/storage/ofd_packets [21:34:17]CheckFolder done [21:34:17]ProducePacketName [21:34:17]name=ofd_packets/00063725 [21:34:17]NVStorageSaveData ofd_packets/00063725 [21:34:17]File name is /storage/ofd_packets/00063725 [21:34:17]Write 361 bytes [21:34:17]NVStorageSaveData done [21:34:17]OFDSenderStorePacket done [21:34:17]KKMCreateOFDPacket done [21:34:17]NVStorageSaveData kkm_last_timestamp [21:34:17]File name is /storage/kkm_last_timestamp [21:34:17]Write 4 bytes [21:34:17]NVStorageSaveData done [21:34:17]ExternCall_PrintAddStr [21:34:17]wPrintStart [21:34:17]Write to MH i2c: 01 00 00 6A 03 6D [21:34:17]Write i2c OK [21:34:17]MH_I2C_Read... [21:34:17]Read from MH i2c: 01 [21:34:17]MH_I2C_Read... [21:34:17]Read from MH i2c: 01 07 00 [21:34:17]MH_I2C_Read... [21:34:17]Read from MH i2c: 01 07 00 6A 03 00 00 00 00 00 FF 0F 82 [21:34:17]RasterBufferAndPrint [21:34:17]line Счет N : (3)73316 [21:34:17]line ИНН: 02508201610067 [21:34:17]line Контрольно-Кассовый Чек [21:34:17]line ПРОДАЖА [21:34:17]line Товар: 4601025113964 [21:34:17]line Напиток Фрутмотив тропический микс 0,9 [21:34:17]line 2.000 * 135.00 [21:34:17]line = 270.00 [21:34:17]line НДС 12% НСП 1% [21:34:17]line > о реализуемом товаре [21:34:17]line ИТОГО: 270.00 [21:34:17]line НСП 1% : 2.39 [21:34:17]line НДС 12% : 28.67 [21:34:17]line Наличными: 0.00 [21:34:17]line Безнал.: 270.00 [21:34:17]line Место: АЗС № 117 "Партнер Нефть" [21:34:17]line Адрес: 720001, г. Каракол, ул. Прежевальского 101/1 (кольцо), 42.500140, 78.386597 [21:34:17]line СНО: Общий режим [21:34:17]line Чек 113 02.06.2024 21:34 [21:34:17]line Смена: 372 ФФД: 1.0 [21:34:17]line ЗНМ: 0300000031 [21:34:17]line РНМ: 0000000000092737 [21:34:17]line Версия ККМ: 001 [21:34:17]OFD Sender: Processing packet 63725 [packets to send 14, broken 13] [21:34:17]line Платежная система: АКБ Кыргызстан [21:34:17]ProducePacketName [21:34:17]line ФМ: 0000000000875074 [21:34:17]name=ofd_packets/00063725 [21:34:17]line ФД: 63725 [21:34:17]OFD Sender: To server: pG, [21:34:17]line ФПД: 158730672498039 [21:34:17]CommunicateWithHost lk.salyk.kg:30040 [21:34:17]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240602T213415&type=1&operation_type=1&fn_number=0000000000875074&fd_number=63725&fm=158730672498039&tin=02508201610067®Number=0000000000092737&sum=27000 [21:34:17]ConnectInit lk.salyk.kg [21:34:17]line 0 [21:34:17]written 0, free lines is 4095 [21:34:17]Connected sock=11 [21:34:17]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 4B 01 00 00 22 93 43 01 92 BE 5A 03 01 00 03 00 37 01 1E 04 01 00 01 23 04 89 00 8A 04 0D 00 34 36 30 31 30 32 35 31 31 33 39 36 34 06 04 45 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A4 D1 80 D1 83 D1 82 D0 BC D0 BE D1 82 D0 B8 D0 B2 20 D1 82 D1 80 D0 BE D0 BF D0 B8 D1 87 D0 B5 D1 81 D0 BA D0 B8 D0 B9 20 D0 BC D0 B8 D0 BA D1 81 20 30 2C 39 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 78 69 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 78 69 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EF 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 33 0B 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 78 69 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 71 00 00 00 F4 03 04 00 57 E5 5C 66 0E 04 04 00 74 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 10 04 04 00 ED F8 00 00 35 04 06 00 90 5D 5D 59 65 77 45 2C 13 48 31 08 5A 57 [21:34:18]Write to MH i2c: 01 00 00 95 03 98 [21:34:18]Write i2c OK [21:34:18]MH_I2C_Read... [21:34:18]Read from MH i2c: 01 [21:34:18]MH_I2C_Read... [21:34:18]Read from MH i2c: 01 07 00 [21:34:18]MH_I2C_Read... [21:34:18]Read from MH i2c: 01 07 00 95 03 00 00 00 00 00 E1 0C 8C [21:34:18]RasterBufferAndPrint [21:34:18]line [21:34:18]line [21:34:18]line [21:34:18]line [21:34:18]line [21:34:18]written 0, free lines is 3353 [21:34:18]MH_Cut [21:34:18]Write to MH i2c: D1 01 00 9C 03 01 71 [21:34:18]Write i2c OK [21:34:18]MH_I2C_Read... [21:34:18]Read from MH i2c: D1 [21:34:18]MH_I2C_Read... [21:34:18]Read from MH i2c: D1 01 00 [21:34:18]MH_I2C_Read... [21:34:18]Read from MH i2c: D1 01 00 9C 03 00 70 [21:34:18]Write to MH i2c: 01 00 00 9D 03 A0 [21:34:18]Write i2c OK [21:34:18]MH_I2C_Read... [21:34:18]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 4F 00 00 00 C3 F6 47 00 1A 0A A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 10 04 04 00 ED F8 00 00 F4 03 04 00 2C 91 5C 66 B6 04 01 00 00 FE 5B 12 88 86 EC 39 9F [21:34:18]CommunicateWithHost err = 0 [21:34:18]CheckOFDResponse [21:34:18]1017 (14) - 77093643461234 [21:34:18]1041 (16) - 0000000000875074 [21:34:18]1040 (4) - 63725 [21:34:18]1012 (4) - 02.06.2024 15:35 [21:34:18]1206 (1) - 0 [21:34:18]OFD Sender: Remove packet 63725 [21:34:18]ProducePacketName [21:34:18]name=ofd_packets/00063725 [21:34:18]NVStorageDeleteData [21:34:19]*** Cut start [21:34:19]*** Partial cut [21:34:19]*** CUTSNS_PIN = 1 [21:34:19]OFD Sender: No OFD packet to send [21:34:19]*** CUTSNS_PIN = 0 [21:34:19]*** Brake cut motor [21:34:19]Read from MH i2c: 01 [21:34:19]MH_I2C_Read... [21:34:19]*** Stop cut motor [21:34:19]*** Cut end [21:34:19]Read from MH i2c: 01 07 00 [21:34:19]MH_I2C_Read... [21:34:19]Read from MH i2c: 01 07 00 9D 03 00 00 00 00 00 FF 0F B5 [21:34:19]process_action close_receipt done [21:34:19]requested_data is exist [21:34:19]produce_requested_data [21:34:19]requested_item fm.sn is exist - process it [21:34:19]wFMCommunicate request_size=4 [21:34:19]MH_SAM_APDU [21:34:19]CAPDU: 80 11 00 00 [21:34:19]Write to MH i2c: E2 08 00 9E 03 80 11 00 00 00 00 00 00 1B [21:34:19]Write i2c OK [21:34:19]MH_I2C_Read... [21:34:19]Read from MH i2c: E2 [21:34:19]MH_I2C_Read... [21:34:19]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:34:19]Read from MH i2c: E2 17 00 [21:34:19]MH_I2C_Read... [21:34:19]Read from MH i2c: E2 17 00 9E 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 90 00 6D [21:34:19]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 90 00 [21:34:19]wFMCommunicate OK [21:34:19]requested_item fd.num is exist - process it [21:34:19]SAM_PROTO_GetFieldsCounters [21:34:19]wFMCommunicate request_size=4 [21:34:19]MH_SAM_APDU [21:34:19]CAPDU: 80 13 00 00 [21:34:19]Write to MH i2c: E2 08 00 9F 03 80 13 00 00 00 00 00 00 1E [21:34:19]Write i2c OK [21:34:19]MH_I2C_Read... [21:34:20]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:34:20]Read from MH i2c: E2 [21:34:20]MH_I2C_Read... [21:34:20]Read from MH i2c: E2 62 00 [21:34:20]MH_I2C_Read... [21:34:20]Read from MH i2c: E2 62 00 9F 03 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 33 37 10 04 04 00 ED F8 00 00 0E 04 04 00 74 01 00 00 12 04 04 00 71 00 00 00 5E 04 04 00 71 00 00 00 57 04 04 00 72 00 00 00 19 04 04 00 00 00 00 00 90 00 EE [21:34:20]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 33 37 10 04 04 00 ED F8 00 00 0E 04 04 00 74 01 00 00 12 04 04 00 71 00 00 00 5E 04 04 00 71 00 00 00 57 04 04 00 72 00 00 00 19 04 04 00 00 00 00 00 90 00 [21:34:20]wFMCommunicate OK [21:34:20]SAM_PROTO_GetFieldsCounters done [21:34:20]requested_item shift.num is exist - process it [21:34:20]requested_item shift.opened is exist - process it [21:34:20]req_shift_opened [21:34:20]FM_GetShiftState [21:34:20]SAM_PROTO_GetShiftState [21:34:20]wFMCommunicate request_size=4 [21:34:20]MH_SAM_APDU [21:34:20]CAPDU: 80 13 01 00 [21:34:20]Write to MH i2c: E2 08 00 A0 03 80 13 01 00 00 00 00 00 20 [21:34:20]Write i2c OK [21:34:20]MH_I2C_Read... [21:34:20]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:34:20]Read from MH i2c: E2 [21:34:20]MH_I2C_Read... [21:34:20]Read from MH i2c: E2 0E 00 [21:34:20]MH_I2C_Read... [21:34:20]Read from MH i2c: E2 0E 00 A0 03 00 09 00 01 76 BD 5B 66 00 00 00 00 90 00 20 [21:34:20]RAPDU: 09 00 01 76 BD 5B 66 00 00 00 00 90 00 [21:34:20]wFMCommunicate OK [21:34:20]SAM_PROTO_GetShiftState done [21:34:20]FM_GetShiftState done [21:34:20]req_shift_opened done [21:34:20]requested_item shift.open_date is exist - process it [21:34:20]req_shift_open_date [21:34:20]req_shift_open_date done [21:34:20]produce_requested_data done [21:34:20]produce_requested_data return {"fm.sn":"0000000000875074","fd.num":63725,"shift.num":372,"shift.opened":1,"shift.open_date":1717288310} [21:34:20]process_action_free close_receipt [21:34:20]json_value_free [21:34:20]json_value_free done [21:34:20]process_json_proto returns [21:34:20]Send response to host [21:34:20]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875074","fd.num":63725,"shift.num":372,"shift.opened":1,"shift.open_date":1717288310}}} [21:34:20]free response buf [21:34:20]execute_script done [21:34:20]execute_script returns [21:34:20]free content buf [21:34:20]Sock 10.Close socket [21:34:20]Sock 10.Thread stoped [21:34:24]OFD Sender: No OFD packet to send [21:34:29]OFD Sender: No OFD packet to send [21:34:34]OFD Sender: No OFD packet to send [21:34:39]OFD Sender: No OFD packet to send [21:34:44]OFD Sender: No OFD packet to send [21:34:49]OFD Sender: No OFD packet to send [21:34:54]OFD Sender: No OFD packet to send [21:34:59]OFD Sender: No OFD packet to send [21:35:04]OFD Sender: No OFD packet to send [21:35:09]OFD Sender: No OFD packet to send [21:35:14]OFD Sender: No OFD packet to send [21:35:19]OFD Sender: No OFD packet to send [21:35:24]OFD Sender: No OFD packet to send [21:35:29]OFD Sender: No OFD packet to send [21:35:34]OFD Sender: No OFD packet to send [21:35:39]OFD Sender: No OFD packet to send [21:35:44]OFD Sender: No OFD packet to send [21:35:49]OFD Sender: No OFD packet to send [21:35:54]OFD Sender: No OFD packet to send [21:35:59]OFD Sender: No OFD packet to send [21:36:04]OFD Sender: No OFD packet to send [21:36:09]OFD Sender: No OFD packet to send [21:36:14]OFD Sender: No OFD packet to send [21:36:19]OFD Sender: No OFD packet to send [21:36:19]ConnectInit Can't connect to host [21:36:24]OFD Sender: No OFD packet to send [21:36:29]OFD Sender: No OFD packet to send [21:36:34]OFD Sender: No OFD packet to send [21:36:39]OFD Sender: No OFD packet to send [21:36:44]OFD Sender: No OFD packet to send [21:36:49]OFD Sender: No OFD packet to send [21:36:54]OFD Sender: No OFD packet to send [21:36:59]OFD Sender: No OFD packet to send [21:37:04]OFD Sender: No OFD packet to send [21:37:09]OFD Sender: No OFD packet to send [21:37:14]OFD Sender: No OFD packet to send [21:37:19]OFD Sender: No OFD packet to send [21:37:24]OFD Sender: No OFD packet to send [21:37:29]OFD Sender: No OFD packet to send [21:37:34]OFD Sender: No OFD packet to send [21:37:39]OFD Sender: No OFD packet to send [21:37:44]OFD Sender: No OFD packet to send [21:37:49]OFD Sender: No OFD packet to send [21:37:54]OFD Sender: No OFD packet to send [21:37:59]OFD Sender: No OFD packet to send [21:38:04]OFD Sender: No OFD packet to send [21:38:09]OFD Sender: No OFD packet to send [21:38:14]OFD Sender: No OFD packet to send [21:38:19]OFD Sender: No OFD packet to send [21:38:24]OFD Sender: No OFD packet to send [21:38:29]OFD Sender: No OFD packet to send [21:38:34]OFD Sender: No OFD packet to send [21:38:38]ConnectInit Can't connect to host [21:38:39]OFD Sender: No OFD packet to send [21:38:44]OFD Sender: No OFD packet to send [21:38:49]OFD Sender: No OFD packet to send [21:38:54]OFD Sender: No OFD packet to send [21:38:59]OFD Sender: No OFD packet to send [21:39:04]OFD Sender: No OFD packet to send [21:39:09]OFD Sender: No OFD packet to send [21:39:14]OFD Sender: No OFD packet to send [21:39:19]OFD Sender: No OFD packet to send [21:39:24]OFD Sender: No OFD packet to send [21:39:29]OFD Sender: No OFD packet to send [21:39:34]OFD Sender: No OFD packet to send [21:39:39]OFD Sender: No OFD packet to send [21:39:44]OFD Sender: No OFD packet to send [21:39:49]OFD Sender: No OFD packet to send [21:39:54]OFD Sender: No OFD packet to send [21:39:59]OFD Sender: No OFD packet to send [21:40:04]OFD Sender: No OFD packet to send [21:40:09]OFD Sender: No OFD packet to send [21:40:14]OFD Sender: No OFD packet to send [21:40:19]OFD Sender: No OFD packet to send [21:40:24]OFD Sender: No OFD packet to send [21:40:29]OFD Sender: No OFD packet to send [21:40:34]OFD Sender: No OFD packet to send [21:40:39]OFD Sender: No OFD packet to send [21:40:44]OFD Sender: No OFD packet to send [21:40:49]OFD Sender: No OFD packet to send [21:40:54]OFD Sender: No OFD packet to send [21:40:56]ConnectInit Can't connect to host [21:40:59]OFD Sender: No OFD packet to send [21:41:04]OFD Sender: No OFD packet to send [21:41:09]OFD Sender: No OFD packet to send [21:41:14]OFD Sender: No OFD packet to send [21:41:19]OFD Sender: No OFD packet to send [21:41:24]OFD Sender: No OFD packet to send [21:41:29]OFD Sender: No OFD packet to send [21:41:34]OFD Sender: No OFD packet to send [21:41:39]OFD Sender: No OFD packet to send [21:41:44]OFD Sender: No OFD packet to send [21:41:49]OFD Sender: No OFD packet to send [21:41:54]OFD Sender: No OFD packet to send [21:41:59]OFD Sender: No OFD packet to send [21:42:04]OFD Sender: No OFD packet to send [21:42:09]OFD Sender: No OFD packet to send [21:42:14]OFD Sender: No OFD packet to send [21:42:19]OFD Sender: No OFD packet to send [21:42:24]OFD Sender: No OFD packet to send [21:42:29]OFD Sender: No OFD packet to send [21:42:34]OFD Sender: No OFD packet to send [21:42:39]OFD Sender: No OFD packet to send [21:42:44]OFD Sender: No OFD packet to send [21:42:49]OFD Sender: No OFD packet to send [21:42:54]OFD Sender: No OFD packet to send [21:42:59]OFD Sender: No OFD packet to send [21:43:04]OFD Sender: No OFD packet to send [21:43:09]OFD Sender: No OFD packet to send [21:43:14]ConnectInit Can't connect to host [21:43:14]OFD Sender: No OFD packet to send [21:43:19]OFD Sender: No OFD packet to send [21:43:24]OFD Sender: No OFD packet to send [21:43:29]OFD Sender: No OFD packet to send [21:43:34]OFD Sender: No OFD packet to send [21:43:39]OFD Sender: No OFD packet to send [21:43:44]OFD Sender: No OFD packet to send [21:43:49]OFD Sender: No OFD packet to send [21:43:54]OFD Sender: No OFD packet to send [21:43:59]OFD Sender: No OFD packet to send [21:44:04]OFD Sender: No OFD packet to send [21:44:09]OFD Sender: No OFD packet to send [21:44:14]OFD Sender: No OFD packet to send [21:44:19]OFD Sender: No OFD packet to send [21:44:24]OFD Sender: No OFD packet to send [21:44:29]OFD Sender: No OFD packet to send [21:44:34]OFD Sender: No OFD packet to send [21:44:39]OFD Sender: No OFD packet to send [21:44:44]OFD Sender: No OFD packet to send [21:44:49]OFD Sender: No OFD packet to send [21:44:54]OFD Sender: No OFD packet to send [21:44:59]OFD Sender: No OFD packet to send [21:45:04]OFD Sender: No OFD packet to send [21:45:09]OFD Sender: No OFD packet to send [21:45:14]OFD Sender: No OFD packet to send [21:45:19]OFD Sender: No OFD packet to send [21:45:24]OFD Sender: No OFD packet to send [21:45:29]OFD Sender: No OFD packet to send [21:45:32]ConnectInit Can't connect to host [21:45:34]OFD Sender: No OFD packet to send [21:45:39]OFD Sender: No OFD packet to send [21:45:44]OFD Sender: No OFD packet to send [21:45:49]OFD Sender: No OFD packet to send [21:45:54]OFD Sender: No OFD packet to send [21:45:59]OFD Sender: No OFD packet to send [21:46:04]OFD Sender: No OFD packet to send [21:46:09]OFD Sender: No OFD packet to send [21:46:14]OFD Sender: No OFD packet to send [21:46:19]OFD Sender: No OFD packet to send [21:46:24]OFD Sender: No OFD packet to send [21:46:29]OFD Sender: No OFD packet to send [21:46:34]OFD Sender: No OFD packet to send [21:46:39]OFD Sender: No OFD packet to send [21:46:44]OFD Sender: No OFD packet to send [21:46:49]OFD Sender: No OFD packet to send [21:46:54]OFD Sender: No OFD packet to send [21:46:59]OFD Sender: No OFD packet to send [21:47:04]OFD Sender: No OFD packet to send [21:47:09]OFD Sender: No OFD packet to send [21:47:14]OFD Sender: No OFD packet to send [21:47:19]OFD Sender: No OFD packet to send [21:47:24]OFD Sender: No OFD packet to send [21:47:29]OFD Sender: No OFD packet to send [21:47:34]OFD Sender: No OFD packet to send [21:47:39]OFD Sender: No OFD packet to send [21:47:44]OFD Sender: No OFD packet to send [21:47:49]OFD Sender: No OFD packet to send [21:47:51]ConnectInit Can't connect to host [21:47:54]OFD Sender: No OFD packet to send [21:47:59]OFD Sender: No OFD packet to send [21:48:04]OFD Sender: No OFD packet to send [21:48:09]OFD Sender: No OFD packet to send [21:48:14]OFD Sender: No OFD packet to send [21:48:19]OFD Sender: No OFD packet to send [21:48:24]OFD Sender: No OFD packet to send [21:48:29]OFD Sender: No OFD packet to send [21:48:34]OFD Sender: No OFD packet to send [21:48:39]OFD Sender: No OFD packet to send [21:48:44]OFD Sender: No OFD packet to send [21:48:49]OFD Sender: No OFD packet to send [21:48:54]OFD Sender: No OFD packet to send [21:48:59]OFD Sender: No OFD packet to send [21:49:04]OFD Sender: No OFD packet to send [21:49:09]OFD Sender: No OFD packet to send [21:49:15]OFD Sender: No OFD packet to send [21:49:20]OFD Sender: No OFD packet to send [21:49:25]OFD Sender: No OFD packet to send [21:49:30]OFD Sender: No OFD packet to send [21:49:35]OFD Sender: No OFD packet to send [21:49:40]OFD Sender: No OFD packet to send [21:49:45]OFD Sender: No OFD packet to send [21:49:50]OFD Sender: No OFD packet to send [21:49:55]OFD Sender: No OFD packet to send [21:50:00]OFD Sender: No OFD packet to send [21:50:05]OFD Sender: No OFD packet to send [21:50:09]ConnectInit Can't connect to host [21:50:10]OFD Sender: No OFD packet to send [21:50:15]OFD Sender: No OFD packet to send [21:50:20]OFD Sender: No OFD packet to send [21:50:25]OFD Sender: No OFD packet to send [21:50:30]OFD Sender: No OFD packet to send [21:50:35]OFD Sender: No OFD packet to send [21:50:40]OFD Sender: No OFD packet to send [21:50:45]OFD Sender: No OFD packet to send [21:50:50]OFD Sender: No OFD packet to send [21:50:55]OFD Sender: No OFD packet to send [21:51:00]OFD Sender: No OFD packet to send [21:51:05]OFD Sender: No OFD packet to send [21:51:10]OFD Sender: No OFD packet to send [21:51:15]OFD Sender: No OFD packet to send [21:51:20]OFD Sender: No OFD packet to send [21:51:25]OFD Sender: No OFD packet to send [21:51:30]OFD Sender: No OFD packet to send [21:51:35]OFD Sender: No OFD packet to send [21:51:40]OFD Sender: No OFD packet to send [21:51:45]OFD Sender: No OFD packet to send [21:51:50]OFD Sender: No OFD packet to send [21:51:55]OFD Sender: No OFD packet to send [21:52:00]OFD Sender: No OFD packet to send [21:52:05]OFD Sender: No OFD packet to send [21:52:10]OFD Sender: No OFD packet to send [21:52:15]OFD Sender: No OFD packet to send [21:52:20]OFD Sender: No OFD packet to send [21:52:25]OFD Sender: No OFD packet to send [21:52:27]ConnectInit Can't connect to host [21:52:30]OFD Sender: No OFD packet to send [21:52:35]OFD Sender: No OFD packet to send [21:52:40]OFD Sender: No OFD packet to send [21:52:45]OFD Sender: No OFD packet to send [21:52:50]OFD Sender: No OFD packet to send [21:52:55]OFD Sender: No OFD packet to send [21:53:00]OFD Sender: No OFD packet to send [21:53:05]OFD Sender: No OFD packet to send [21:53:10]OFD Sender: No OFD packet to send [21:53:15]OFD Sender: No OFD packet to send [21:53:20]OFD Sender: No OFD packet to send [21:53:25]OFD Sender: No OFD packet to send [21:53:30]OFD Sender: No OFD packet to send [21:53:35]OFD Sender: No OFD packet to send [21:53:40]OFD Sender: No OFD packet to send [21:53:45]OFD Sender: No OFD packet to send [21:53:50]OFD Sender: No OFD packet to send [21:53:55]OFD Sender: No OFD packet to send [21:54:00]OFD Sender: No OFD packet to send [21:54:05]OFD Sender: No OFD packet to send [21:54:10]OFD Sender: No OFD packet to send [21:54:15]OFD Sender: No OFD packet to send [21:54:20]OFD Sender: No OFD packet to send [21:54:25]OFD Sender: No OFD packet to send [21:54:30]OFD Sender: No OFD packet to send [21:54:35]OFD Sender: No OFD packet to send [21:54:40]OFD Sender: No OFD packet to send [21:54:45]OFD Sender: No OFD packet to send [21:54:45]ConnectInit Can't connect to host [21:54:50]OFD Sender: No OFD packet to send [21:54:55]OFD Sender: No OFD packet to send [21:55:00]OFD Sender: No OFD packet to send [21:55:05]OFD Sender: No OFD packet to send [21:55:10]OFD Sender: No OFD packet to send [21:55:15]OFD Sender: No OFD packet to send [21:55:20]OFD Sender: No OFD packet to send [21:55:25]OFD Sender: No OFD packet to send [21:55:30]OFD Sender: No OFD packet to send [21:55:35]OFD Sender: No OFD packet to send [21:55:40]OFD Sender: No OFD packet to send [21:55:45]OFD Sender: No OFD packet to send [21:55:50]OFD Sender: No OFD packet to send [21:55:55]OFD Sender: No OFD packet to send [21:56:00]OFD Sender: No OFD packet to send [21:56:05]OFD Sender: No OFD packet to send [21:56:06]accept exits with 9 [21:56:06]New connection [21:56:06]New thread 3067415908 created [21:56:06]Thread 3067272548 joined [21:56:06]Waiting for new connection... [21:56:06] Sock 9.Parse request [21:56:06]Sock 9.Check first char [21:56:06]Sock 9.First char is OK [21:56:06]request: POST /json_proto HTTP/1.0 [21:56:06]Method: POST [21:56:06]URL: /json_proto [21:56:06]Method is POST - this is cgi request [21:56:06]url: /json_proto [21:56:06]query_string will be loaded in cgi processing [21:56:06]execute_cgi json_proto POST (null) [21:56:06]execute_cgi path=json_proto method=POST [21:56:06]POST find Content-Length [21:56:06]Host: 172.17.60.69:8080 [21:56:06]Content-Length: 1155 [21:56:06]Content-Type: application/json [21:56:06] [21:56:06]POST finish read [21:56:06]Found Content-Length = 1155 [21:56:06]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)73317", "tax_sys" : 0, "items" : [ { "code": "2000036210013", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E (GABB TRADE)", "price" : 115.00, "quantity" : 1.000, "sum" : 115.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000039210055", "name": "\u0410\u041A\u0426\u0418\u042F \u0424\u0440\u0435\u043D\u0447-\u0434\u043E\u0433 Sib \u043A\u0443\u0440\u0438\u043D\u0430\u044F 180\u0433", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 255.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:56:06]execute_script... [21:56:06]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)73317", "tax_sys" : 0, "items" : [ { "code": "2000036210013", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E (GABB TRADE)", "price" : 115.00, "quantity" : 1.000, "sum" : 115.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000039210055", "name": "\u0410\u041A\u0426\u0418\u042F \u0424\u0440\u0435\u043D\u0447-\u0434\u043E\u0433 Sib \u043A\u0443\u0440\u0438\u043D\u0430\u044F 180\u0433", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 255.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:56:06]POST & json_proto [21:56:06]process_json_proto [21:56:06]json parsed OK: [21:56:06]protocol is kg_v1.0 [21:56:06]action value=close_receipt [21:56:06]process_action close_receipt [21:56:06]cmd_close_receipt [21:56:06]MH_GetDate [21:56:06]Write to MH i2c: F0 00 00 A1 03 93 [21:56:06]Write i2c OK [21:56:06]MH_I2C_Read... [21:56:06]Read from MH i2c: F0 [21:56:06]MH_I2C_Read... [21:56:06]Read from MH i2c: F0 09 00 [21:56:06]MH_I2C_Read... [21:56:06]Read from MH i2c: F0 09 00 A1 03 00 77 EA 5C 66 6A 96 4A 66 6F [21:56:06]GetLastDocTimeStamp 1717364055 [21:56:06]current date 1717365367 [21:56:06]FM_GetShiftState [21:56:06]SAM_PROTO_GetShiftState [21:56:06]wFMCommunicate request_size=4 [21:56:06]MH_SAM_APDU [21:56:06]CAPDU: 80 13 01 00 [21:56:06]Write to MH i2c: E2 08 00 A2 03 80 13 01 00 00 00 00 00 22 [21:56:06]Write i2c OK [21:56:06]MH_I2C_Read... [21:56:06]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:56:06]Read from MH i2c: E2 [21:56:06]MH_I2C_Read... [21:56:06]Read from MH i2c: E2 0E 00 [21:56:06]MH_I2C_Read... [21:56:06]Read from MH i2c: E2 0E 00 A2 03 00 09 00 01 76 BD 5B 66 00 00 00 00 90 00 22 [21:56:06]RAPDU: 09 00 01 76 BD 5B 66 00 00 00 00 90 00 [21:56:06]wFMCommunicate OK [21:56:06]SAM_PROTO_GetShiftState done [21:56:06]FM_GetShiftState done [21:56:06]opened in 1717288310 [21:56:06]opened+sec_in_day 1717374710 [21:56:06]quantity*price = 11500 [21:56:06]sum+1 = 11501 [21:56:06]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 2000039210055 АКЦИЯ Френч-дог Sib куриная 180г 1.000 * 140.00 = 140.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 255.00 НСП 1% : 2.26 НДС 12% : 27.08 Наличными: 0.00 Безнал.: 255.00 Место: АЗС № 117 "Партнер Нефть" Адрес: 720001, г. Каракол, ул. Прежевальского 101/1 (кольцо), 42.500140, 78.386597 СНО: Общий режим Чек 114 02.06.2024 21:56 Смена: 372 ФФД: 1.0 ЗНМ: 0300000031 РНМ: 0000000000092737 Версия ККМ: 001 Платежная система: АКБ Кыргызстан ФМ: 0000000000875074 ФД: 63726 ФПД: 255485838303124 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240602T215607&type=1&operation_type=1&fn_number=0000000000875074&fd_number=63726&fm=255485838303124&tin=02508201610067®Number=0000000000092737&sum=25500 0 [21:56:08]StoreToDocumentArchive [21:56:08]shift 372 fd 63726 [21:56:08]save to /storage/0372/doc_00063726 [21:56:08]save last doc name /storage/0372/doc_00063726 to /storage/kkm_last_doc_name [21:56:08]save OK [21:56:08]Clear old archive folders... [21:56:08]ProcessDocumentItem done err = 0, tmpTLVsize=405 [21:56:08]tlvbuf is 00B792B0 [21:56:08]SAM_PROTO_ClearQueue [21:56:08]wFMCommunicate request_size=4 [21:56:08]MH_SAM_APDU [21:56:08]CAPDU: 80 09 00 00 [21:56:08]Write to MH i2c: E2 08 00 AF 03 80 09 00 00 00 00 00 00 24 [21:56:08]Write i2c OK [21:56:08]MH_I2C_Read... [21:56:08]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:56:08]Read from MH i2c: E2 [21:56:08]MH_I2C_Read... [21:56:08]Read from MH i2c: E2 03 00 [21:56:08]MH_I2C_Read... [21:56:08]Read from MH i2c: E2 03 00 AF 03 00 90 00 26 [21:56:08]RAPDU: 90 00 [21:56:08]wFMCommunicate OK [21:56:08]SAM_PROTO_ClearQueue done [21:56:08]KKMCreateOFDPacket [21:56:08]OFDProtocolAddRootSTLVToBuf [21:56:08]FM_MakeSignedData [21:56:08]FM_MakeSignedData [21:56:08]SAM_PROTO_SignData [21:56:08]wFMCommunicate request_size=4 [21:56:08]MH_SAM_APDU [21:56:08]CAPDU: 80 0D 01 02 [21:56:08]Write to MH i2c: E2 08 00 B0 03 80 0D 01 02 00 00 00 00 2C [21:56:08]Write i2c OK [21:56:08]MH_I2C_Read... [21:56:08]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:56:08]Read from MH i2c: E2 [21:56:08]MH_I2C_Read... [21:56:08]Read from MH i2c: E2 03 00 [21:56:08]MH_I2C_Read... [21:56:08]Read from MH i2c: E2 03 00 B0 03 00 90 00 27 [21:56:08]RAPDU: 90 00 [21:56:08]wFMCommunicate OK [21:56:08]wFMCommunicate request_size=255 [21:56:08]MH_SAM_APDU [21:56:08]CAPDU: 80 0D 02 02 FA 03 00 95 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 79 00 8A 04 0D 00 32 30 30 30 30 33 39 32 31 30 30 35 35 06 04 35 00 D0 90 D0 9A D0 A6 D0 98 D0 AF 20 D0 A4 D1 80 D0 B5 D0 BD D1 87 2D D0 B4 D0 BE D0 B3 20 53 69 62 20 D0 BA D1 83 D1 80 D0 B8 D0 BD D0 B0 D1 8F 20 31 38 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 9C 63 [21:56:08]Write to MH i2c: E2 02 01 B1 03 80 0D 02 02 FA 00 03 00 95 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 79 00 8A 04 0D 00 32 30 30 30 30 33 39 32 31 30 30 35 35 06 04 35 00 D0 90 D0 9A D0 A6 D0 98 D0 AF 20 D0 A4 D1 80 D0 B5 D0 BD D1 87 2D D0 B4 D0 BE D0 B3 20 53 69 62 20 D0 BA D1 83 D1 80 D0 B8 D0 BD D0 B0 D1 8F 20 31 38 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 9C 63 00 00 94 [21:56:08]Write i2c OK [21:56:08]MH_I2C_Read... [21:56:09]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:56:09]Read from MH i2c: E2 [21:56:09]MH_I2C_Read... [21:56:09]Read from MH i2c: E2 03 00 [21:56:09]MH_I2C_Read... [21:56:09]Read from MH i2c: E2 03 00 B1 03 00 90 00 28 [21:56:09]RAPDU: 90 00 [21:56:09]wFMCommunicate OK [21:56:09]wFMCommunicate request_size=164 [21:56:09]MH_SAM_APDU [21:56:09]CAPDU: 80 0D 02 02 9F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E2 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 94 0A 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 9C 63 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 72 00 00 00 F4 03 04 00 77 EA 5C 66 0E 04 04 00 74 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 10 04 04 00 EE F8 00 00 35 04 06 00 E8 5C EE A3 1F 94 [21:56:09]Write to MH i2c: E2 A7 00 B2 03 80 0D 02 02 9F 00 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E2 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 94 0A 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 9C 63 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 72 00 00 00 F4 03 04 00 77 EA 5C 66 0E 04 04 00 74 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 10 04 04 00 EE F8 00 00 35 04 06 00 E8 5C EE A3 1F 94 00 00 A3 [21:56:09]Write i2c OK [21:56:09]MH_I2C_Read... [21:56:09]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:56:09]Read from MH i2c: E2 [21:56:09]MH_I2C_Read... [21:56:09]Read from MH i2c: E2 03 00 [21:56:09]MH_I2C_Read... [21:56:09]Read from MH i2c: E2 03 00 B2 03 00 90 00 29 [21:56:09]RAPDU: 90 00 [21:56:09]wFMCommunicate OK [21:56:09]wFMCommunicate request_size=4 [21:56:09]MH_SAM_APDU [21:56:09]CAPDU: 80 0D 03 02 [21:56:09]Write to MH i2c: E2 08 00 B3 03 80 0D 03 02 00 00 00 00 31 [21:56:09]Write i2c OK [21:56:09]MH_I2C_Read... [21:56:09]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:56:09]Read from MH i2c: E2 [21:56:09]MH_I2C_Read... [21:56:09]Read from MH i2c: E2 0B 00 [21:56:09]MH_I2C_Read... [21:56:09]Read from MH i2c: E2 0B 00 B3 03 00 73 53 F9 CC EC 38 96 9F 90 00 16 [21:56:09]RAPDU: 73 53 F9 CC EC 38 96 9F 90 00 [21:56:09]wFMCommunicate OK [21:56:09]SAM_PROTO_SignData done [21:56:09]FM_MakeSignedData done [21:56:09]CreateOFDProtocolMessage [21:56:09]wFMCommunicate request_size=4 [21:56:09]MH_SAM_APDU [21:56:09]CAPDU: 80 11 00 00 [21:56:09]Write to MH i2c: E2 08 00 B4 03 80 11 00 00 00 00 00 00 31 [21:56:09]Write i2c OK [21:56:09]MH_I2C_Read... [21:56:09]Read from MH i2c: E2 [21:56:09]MH_I2C_Read... [21:56:09]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:56:09]Read from MH i2c: E2 17 00 [21:56:09]MH_I2C_Read... [21:56:09]Read from MH i2c: E2 17 00 B4 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 90 00 83 [21:56:09]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 90 00 [21:56:09]wFMCommunicate OK [21:56:09]CreateOFDProtocolMessage done [21:56:09]OFDSenderStorePacket 63726 [21:56:09]StoreOFDPacket docnum=63726 [21:56:09]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 A9 01 00 00 0F C0 A1 01 91 3A 5A 03 01 00 03 00 95 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 79 00 8A 04 0D 00 32 30 30 30 30 33 39 32 31 30 30 35 35 06 04 35 00 D0 90 D0 9A D0 A6 D0 98 D0 AF 20 D0 A4 D1 80 D0 B5 D0 BD D1 87 2D D0 B4 D0 BE D0 B3 20 53 69 62 20 D0 BA D1 83 D1 80 D0 B8 D0 BD D0 B0 D1 8F 20 31 38 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 9C 63 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E2 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 94 0A 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 9C 63 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 72 00 00 00 F4 03 04 00 77 EA 5C 66 0E 04 04 00 74 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 10 04 04 00 EE F8 00 00 35 04 06 00 E8 5C EE A3 1F 94 73 53 F9 CC EC 38 96 9F [21:56:09]CheckFolder [21:56:09]dirname=/storage/ofd_packets [21:56:09]CheckFolder done [21:56:09]ProducePacketName [21:56:09]name=ofd_packets/00063726 [21:56:09]NVStorageSaveData ofd_packets/00063726 [21:56:09]File name is /storage/ofd_packets/00063726 [21:56:09]Write 455 bytes [21:56:09]NVStorageSaveData done [21:56:09]OFDSenderStorePacket done [21:56:09]KKMCreateOFDPacket done [21:56:09]NVStorageSaveData kkm_last_timestamp [21:56:09]File name is /storage/kkm_last_timestamp [21:56:09]Write 4 bytes [21:56:09]NVStorageSaveData done [21:56:09]ExternCall_PrintAddStr [21:56:09]wPrintStart [21:56:09]Write to MH i2c: 01 00 00 B5 03 B8 [21:56:09]Write i2c OK [21:56:09]MH_I2C_Read... [21:56:09]Read from MH i2c: 01 [21:56:09]MH_I2C_Read... [21:56:09]Read from MH i2c: 01 07 00 [21:56:09]MH_I2C_Read... [21:56:09]Read from MH i2c: 01 07 00 B5 03 00 00 00 00 00 FF 0F CD [21:56:09]RasterBufferAndPrint [21:56:09]line Счет N : (3)73317 [21:56:09]line ИНН: 02508201610067 [21:56:09]line Контрольно-Кассовый Чек [21:56:09]line ПРОДАЖА [21:56:09]line Товар: 2000036210013 [21:56:09]line Кофе Капучино (GABB TRADE) [21:56:09]line 1.000 * 115.00 [21:56:09]line = 115.00 [21:56:09]line НДС 12% НСП 1% [21:56:09]line > о реализуемом товаре [21:56:09]line Товар: 2000039210055 [21:56:09]line АКЦИЯ Френч-дог Sib куриная 180г [21:56:09]line 1.000 * 140.00 [21:56:09]line = 140.00 [21:56:09]line НДС 12% НСП 1% [21:56:09]line > о реализуемом товаре [21:56:09]line ИТОГО: 255.00 [21:56:09]line НСП 1% : 2.26 [21:56:09]line НДС 12% : 27.08 [21:56:09]line Наличными: 0.00 [21:56:09]line Безнал.: 255.00 [21:56:09]line Место: АЗС № 117 "Партнер Нефть" [21:56:09]line Адрес: 720001, г. Каракол, ул. Прежевальского 101/1 (кольцо), 42.500140, 78.386597 [21:56:09]line СНО: Общий режим [21:56:09]line Чек 114 02.06.2024 21:56 [21:56:09]line Смена: 372 ФФД: 1.0 [21:56:09]line ЗНМ: 0300000031 [21:56:09]line РНМ: 0000000000092737 [21:56:09]line Версия ККМ: 001 [21:56:09]line Платежная система: АКБ Кыргызстан [21:56:09]line ФМ: 0000000000875074 [21:56:09]line ФД: 63726 [21:56:09]line ФПД: 255485838303124 [21:56:09]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240602T215607&type=1&operation_type=1&fn_number=0000000000875074&fd_number=63726&fm=255485838303124&tin=02508201610067®Number=0000000000092737&sum=25500 [21:56:09]line 0 [21:56:09]OFD Sender: Processing packet 63726 [packets to send 14, broken 13] [21:56:09]ProducePacketName [21:56:09]name=ofd_packets/00063726 [21:56:09]OFD Sender: To server: pG, [21:56:09]CommunicateWithHost lk.salyk.kg:30040 [21:56:09]ConnectInit lk.salyk.kg [21:56:09]written 0, free lines is 4095 [21:56:09]Connected sock=11 [21:56:09]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 A9 01 00 00 0F C0 A1 01 91 3A 5A 03 01 00 03 00 95 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 79 00 8A 04 0D 00 32 30 30 30 30 33 39 32 31 30 30 35 35 06 04 35 00 D0 90 D0 9A D0 A6 D0 98 D0 AF 20 D0 A4 D1 80 D0 B5 D0 BD D1 87 2D D0 B4 D0 BE D0 B3 20 53 69 62 20 D0 BA D1 83 D1 80 D0 B8 D0 BD D0 B0 D1 8F 20 31 38 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 9C 63 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E2 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 94 0A 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 9C 63 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 72 00 00 00 F4 03 04 00 77 EA 5C 66 0E 04 04 00 74 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 10 04 04 00 EE F8 00 00 35 04 06 00 E8 5C EE A3 1F 94 73 53 F9 CC EC 38 96 9F [21:56:10]Write to MH i2c: 01 00 00 E6 03 E9 [21:56:10]Write i2c OK [21:56:10]MH_I2C_Read... [21:56:10]Read from MH i2c: 01 [21:56:10]MH_I2C_Read... [21:56:10]Read from MH i2c: 01 07 00 [21:56:10]MH_I2C_Read... [21:56:10]Read from MH i2c: 01 07 00 E6 03 00 00 00 00 00 B6 0C B2 [21:56:10]RasterBufferAndPrint [21:56:10]line [21:56:10]line [21:56:10]line [21:56:10]line [21:56:10]line [21:56:10]written 0, free lines is 3305 [21:56:10]MH_Cut [21:56:10]Write to MH i2c: D1 01 00 ED 03 01 C2 [21:56:10]Write i2c OK [21:56:10]MH_I2C_Read... [21:56:10]Read from MH i2c: D1 [21:56:10]MH_I2C_Read... [21:56:10]Read from MH i2c: D1 01 00 [21:56:10]MH_I2C_Read... [21:56:10]Read from MH i2c: D1 01 00 ED 03 00 C1 [21:56:10]Write to MH i2c: 01 00 00 EE 03 F1 [21:56:10]Write i2c OK [21:56:10]MH_I2C_Read... [21:56:10]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 4F 00 00 00 2A 13 47 00 17 C9 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 10 04 04 00 EE F8 00 00 F4 03 04 00 4C 96 5C 66 B6 04 01 00 00 59 6F 6E 1D 53 DE 55 8A [21:56:10]CommunicateWithHost err = 0 [21:56:10]CheckOFDResponse [21:56:10]1017 (14) - 77093643461234 [21:56:10]1041 (16) - 0000000000875074 [21:56:10]1040 (4) - 63726 [21:56:10]1012 (4) - 02.06.2024 15:57 [21:56:10]1206 (1) - 0 [21:56:10]OFD Sender: Remove packet 63726 [21:56:10]ProducePacketName [21:56:10]name=ofd_packets/00063726 [21:56:10]NVStorageDeleteData [21:56:11]*** Cut start [21:56:11]*** Partial cut [21:56:11]*** CUTSNS_PIN = 1 [21:56:11]OFD Sender: No OFD packet to send [21:56:11]*** CUTSNS_PIN = 0 [21:56:11]*** Brake cut motor [21:56:11]Read from MH i2c: 01 [21:56:11]MH_I2C_Read... [21:56:11]*** Stop cut motor [21:56:11]*** Cut end [21:56:11]Read from MH i2c: 01 07 00 [21:56:11]MH_I2C_Read... [21:56:11]Read from MH i2c: 01 07 00 EE 03 00 00 00 00 00 FF 0F 06 [21:56:11]process_action close_receipt done [21:56:11]requested_data is exist [21:56:11]produce_requested_data [21:56:11]requested_item fm.sn is exist - process it [21:56:11]wFMCommunicate request_size=4 [21:56:11]MH_SAM_APDU [21:56:11]CAPDU: 80 11 00 00 [21:56:11]Write to MH i2c: E2 08 00 EF 03 80 11 00 00 00 00 00 00 6C [21:56:11]Write i2c OK [21:56:11]MH_I2C_Read... [21:56:12]Read from MH i2c: E2 [21:56:12]MH_I2C_Read... [21:56:12]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:56:12]Read from MH i2c: E2 17 00 [21:56:12]MH_I2C_Read... [21:56:12]Read from MH i2c: E2 17 00 EF 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 90 00 BE [21:56:12]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 90 00 [21:56:12]wFMCommunicate OK [21:56:12]requested_item fd.num is exist - process it [21:56:12]SAM_PROTO_GetFieldsCounters [21:56:12]wFMCommunicate request_size=4 [21:56:12]MH_SAM_APDU [21:56:12]CAPDU: 80 13 00 00 [21:56:12]Write to MH i2c: E2 08 00 F0 03 80 13 00 00 00 00 00 00 6F [21:56:12]Write i2c OK [21:56:12]MH_I2C_Read... [21:56:12]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:56:12]Read from MH i2c: E2 [21:56:12]MH_I2C_Read... [21:56:12]Read from MH i2c: E2 62 00 [21:56:12]MH_I2C_Read... [21:56:12]Read from MH i2c: E2 62 00 F0 03 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 33 37 10 04 04 00 EE F8 00 00 0E 04 04 00 74 01 00 00 12 04 04 00 72 00 00 00 5E 04 04 00 72 00 00 00 57 04 04 00 73 00 00 00 19 04 04 00 00 00 00 00 90 00 43 [21:56:12]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 33 37 10 04 04 00 EE F8 00 00 0E 04 04 00 74 01 00 00 12 04 04 00 72 00 00 00 5E 04 04 00 72 00 00 00 57 04 04 00 73 00 00 00 19 04 04 00 00 00 00 00 90 00 [21:56:12]wFMCommunicate OK [21:56:12]SAM_PROTO_GetFieldsCounters done [21:56:12]requested_item shift.num is exist - process it [21:56:12]requested_item shift.opened is exist - process it [21:56:12]req_shift_opened [21:56:12]FM_GetShiftState [21:56:12]SAM_PROTO_GetShiftState [21:56:12]wFMCommunicate request_size=4 [21:56:12]MH_SAM_APDU [21:56:12]CAPDU: 80 13 01 00 [21:56:12]Write to MH i2c: E2 08 00 F1 03 80 13 01 00 00 00 00 00 71 [21:56:12]Write i2c OK [21:56:12]MH_I2C_Read... [21:56:12]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:56:12]Read from MH i2c: E2 [21:56:12]MH_I2C_Read... [21:56:12]Read from MH i2c: E2 0E 00 [21:56:12]MH_I2C_Read... [21:56:12]Read from MH i2c: E2 0E 00 F1 03 00 09 00 01 76 BD 5B 66 00 00 00 00 90 00 71 [21:56:12]RAPDU: 09 00 01 76 BD 5B 66 00 00 00 00 90 00 [21:56:12]wFMCommunicate OK [21:56:12]SAM_PROTO_GetShiftState done [21:56:12]FM_GetShiftState done [21:56:12]req_shift_opened done [21:56:12]requested_item shift.open_date is exist - process it [21:56:12]req_shift_open_date [21:56:12]req_shift_open_date done [21:56:12]produce_requested_data done [21:56:12]produce_requested_data return {"fm.sn":"0000000000875074","fd.num":63726,"shift.num":372,"shift.opened":1,"shift.open_date":1717288310} [21:56:12]process_action_free close_receipt [21:56:12]json_value_free [21:56:12]json_value_free done [21:56:12]process_json_proto returns [21:56:12]Send response to host [21:56:12]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875074","fd.num":63726,"shift.num":372,"shift.opened":1,"shift.open_date":1717288310}}} [21:56:12]free response buf [21:56:12]execute_script done [21:56:12]execute_script returns [21:56:12]free content buf [21:56:12]Sock 9.Close socket [21:56:12]Sock 9.Thread stoped [21:56:16]OFD Sender: No OFD packet to send [21:56:21]OFD Sender: No OFD packet to send [21:56:26]OFD Sender: No OFD packet to send [21:56:31]OFD Sender: No OFD packet to send [21:56:36]OFD Sender: No OFD packet to send [21:56:41]OFD Sender: No OFD packet to send [21:56:46]OFD Sender: No OFD packet to send [21:56:51]OFD Sender: No OFD packet to send [21:56:56]OFD Sender: No OFD packet to send [21:57:01]OFD Sender: No OFD packet to send [21:57:04]ConnectInit Can't connect to host [21:57:06]OFD Sender: No OFD packet to send [21:57:11]OFD Sender: No OFD packet to send [21:57:16]OFD Sender: No OFD packet to send [21:57:21]OFD Sender: No OFD packet to send [21:57:26]OFD Sender: No OFD packet to send [21:57:31]OFD Sender: No OFD packet to send [21:57:36]OFD Sender: No OFD packet to send [21:57:41]OFD Sender: No OFD packet to send [21:57:46]OFD Sender: No OFD packet to send [21:57:51]OFD Sender: No OFD packet to send [21:57:54]accept exits with 10 [21:57:54]New connection [21:57:54]New thread 3067272548 created [21:57:54]Thread 3067415908 joined [21:57:54]Waiting for new connection... [21:57:54] Sock 10.Parse request [21:57:54]Sock 10.Check first char [21:57:54]Sock 10.First char is OK [21:57:54]request: POST /json_proto HTTP/1.0 [21:57:54]Method: POST [21:57:54]URL: /json_proto [21:57:54]Method is POST - this is cgi request [21:57:54]url: /json_proto [21:57:54]query_string will be loaded in cgi processing [21:57:54]execute_cgi json_proto POST (null) [21:57:54]execute_cgi path=json_proto method=POST [21:57:54]POST find Content-Length [21:57:54]Host: 172.17.60.69:8080 [21:57:54]Content-Length: 827 [21:57:54]Content-Type: application/json [21:57:54] [21:57:54]POST finish read [21:57:54]Found Content-Length = 827 [21:57:54]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)73318", "tax_sys" : 0, "items" : [ { "code": "4870001150099", "name": "\u0421\u043E\u043A Da-Da 1\u043B \u043F\u0435\u0440\u0441\u0438\u043A", "price" : 150.00, "quantity" : 1.000, "sum" : 150.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 150.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:57:54]execute_script... [21:57:54]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)73318", "tax_sys" : 0, "items" : [ { "code": "4870001150099", "name": "\u0421\u043E\u043A Da-Da 1\u043B \u043F\u0435\u0440\u0441\u0438\u043A", "price" : 150.00, "quantity" : 1.000, "sum" : 150.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 150.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:57:54]POST & json_proto [21:57:54]process_json_proto [21:57:54]json parsed OK: [21:57:54]protocol is kg_v1.0 [21:57:54]action value=close_receipt [21:57:54]process_action close_receipt [21:57:54]cmd_close_receipt [21:57:54]MH_GetDate [21:57:54]Write to MH i2c: F0 00 00 F2 03 E4 [21:57:54]Write i2c OK [21:57:54]MH_I2C_Read... [21:57:54]Read from MH i2c: F0 [21:57:54]MH_I2C_Read... [21:57:54]Read from MH i2c: F0 09 00 [21:57:54]MH_I2C_Read... [21:57:54]Read from MH i2c: F0 09 00 F2 03 00 E3 EA 5C 66 6A 96 4A 66 2C [21:57:54]GetLastDocTimeStamp 1717365367 [21:57:54]current date 1717365475 [21:57:54]FM_GetShiftState [21:57:54]SAM_PROTO_GetShiftState [21:57:54]wFMCommunicate request_size=4 [21:57:54]MH_SAM_APDU [21:57:54]CAPDU: 80 13 01 00 [21:57:54]Write to MH i2c: E2 08 00 F3 03 80 13 01 00 00 00 00 00 73 [21:57:54]Write i2c OK [21:57:54]MH_I2C_Read... [21:57:54]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:57:54]Read from MH i2c: E2 [21:57:54]MH_I2C_Read... [21:57:54]Read from MH i2c: E2 0E 00 [21:57:54]MH_I2C_Read... [21:57:54]Read from MH i2c: E2 0E 00 F3 03 00 09 00 01 76 BD 5B 66 00 00 00 00 90 00 73 [21:57:54]RAPDU: 09 00 01 76 BD 5B 66 00 00 00 00 90 00 [21:57:54]wFMCommunicate OK [21:57:54]SAM_PROTO_GetShiftState done [21:57:54]FM_GetShiftState done [21:57:54]opened in 1717288310 [21:57:54]opened+sec_in_day 1717374710 [21:57:54]quantity*price = 15000 [21:57:54]sum+1 = 15001 [21:57:54]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 150.00 НСП 1% : 1.33 НДС 12% : 15.93 Наличными: 0.00 Безнал.: 150.00 Место: АЗС № 117 "Партнер Нефть" Адрес: 720001, г. Каракол, ул. Прежевальского 101/1 (кольцо), 42.500140, 78.386597 СНО: Общий режим Чек 115 02.06.2024 21:57 Смена: 372 ФФД: 1.0 ЗНМ: 0300000031 РНМ: 0000000000092737 Версия ККМ: 001 Платежная система: АКБ Кыргызстан ФМ: 0000000000875074 ФД: 63727 ФПД: 249779094047607 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240602T215755&type=1&operation_type=1&fn_number=0000000000875074&fd_number=63727&fm=249779094047607&tin=02508201610067®Number=0000000000092737&sum=15000 0 [21:57:56]StoreToDocumentArchive [21:57:56]shift 372 fd 63727 [21:57:56]save to /storage/0372/doc_00063727 [21:57:56]save last doc name /storage/0372/doc_00063727 to /storage/kkm_last_doc_name [21:57:56]save OK [21:57:56]Clear old archive folders... [21:57:56]ProcessDocumentItem done err = 0, tmpTLVsize=271 [21:57:56]tlvbuf is 00CA4C30 [21:57:56]SAM_PROTO_ClearQueue [21:57:56]wFMCommunicate request_size=4 [21:57:56]MH_SAM_APDU [21:57:56]CAPDU: 80 09 00 00 [21:57:56]Write to MH i2c: E2 08 00 00 04 80 09 00 00 00 00 00 00 76 [21:57:56]Write i2c OK [21:57:56]MH_I2C_Read... [21:57:56]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:57:56]Read from MH i2c: E2 [21:57:56]MH_I2C_Read... [21:57:56]Read from MH i2c: E2 03 00 [21:57:56]MH_I2C_Read... [21:57:56]Read from MH i2c: E2 03 00 00 04 00 90 00 78 [21:57:56]RAPDU: 90 00 [21:57:56]wFMCommunicate OK [21:57:56]SAM_PROTO_ClearQueue done [21:57:56]KKMCreateOFDPacket [21:57:56]OFDProtocolAddRootSTLVToBuf [21:57:56]FM_MakeSignedData [21:57:56]FM_MakeSignedData [21:57:56]SAM_PROTO_SignData [21:57:56]wFMCommunicate request_size=4 [21:57:56]MH_SAM_APDU [21:57:56]CAPDU: 80 0D 01 02 [21:57:56]Write to MH i2c: E2 08 00 01 04 80 0D 01 02 00 00 00 00 7E [21:57:56]Write i2c OK [21:57:56]MH_I2C_Read... [21:57:56]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:57:56]Read from MH i2c: E2 [21:57:56]MH_I2C_Read... [21:57:56]Read from MH i2c: E2 03 00 [21:57:56]MH_I2C_Read... [21:57:56]Read from MH i2c: E2 03 00 01 04 00 90 00 79 [21:57:56]RAPDU: 90 00 [21:57:56]wFMCommunicate OK [21:57:56]wFMCommunicate request_size=255 [21:57:56]MH_SAM_APDU [21:57:56]CAPDU: 80 0D 02 02 FA 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 38 37 30 30 30 31 31 35 30 30 39 39 06 04 1D 00 D0 A1 D0 BE D0 BA 20 44 61 2D 44 61 20 31 D0 BB 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 85 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 06 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 98 3A 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 73 00 00 00 F4 03 04 00 E3 EA 5C 66 0E 04 04 00 74 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 [21:57:56]Write to MH i2c: E2 02 01 02 04 80 0D 02 02 FA 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 38 37 30 30 30 31 31 35 30 30 39 39 06 04 1D 00 D0 A1 D0 BE D0 BA 20 44 61 2D 44 61 20 31 D0 BB 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA FF 03 08 00 03 E8 03 00 00 00 00 00 37 OFD Sender: No OFD packet to send [21:57:56]04 06 00 98 3A 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 85 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 06 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 98 3A 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 73 00 00 00 F4 03 04 00 E3 EA 5C 66 0E 04 04 00 74 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 00 00 82 [21:57:56]Write i2c OK [21:57:56]MH_I2C_Read... [21:57:56]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:57:56]Read from MH i2c: E2 [21:57:56]MH_I2C_Read... [21:57:56]Read from MH i2c: E2 03 00 [21:57:56]MH_I2C_Read... [21:57:56]Read from MH i2c: E2 03 00 02 04 00 90 00 7A [21:57:56]RAPDU: 90 00 [21:57:56]wFMCommunicate OK [21:57:56]wFMCommunicate request_size=30 [21:57:56]MH_SAM_APDU [21:57:57]CAPDU: 80 0D 02 02 19 30 38 37 35 30 37 34 10 04 04 00 EF F8 00 00 35 04 06 00 E3 2C 3A 2C 4B 77 [21:57:57]Write to MH i2c: E2 21 00 03 04 80 0D 02 02 19 00 30 38 37 35 30 37 34 10 04 04 00 EF F8 00 00 35 04 06 00 E3 2C 3A 2C 4B 77 00 00 97 [21:57:57]Write i2c OK [21:57:57]MH_I2C_Read... [21:57:57]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:57:57]Read from MH i2c: E2 [21:57:57]MH_I2C_Read... [21:57:57]Read from MH i2c: E2 03 00 [21:57:57]MH_I2C_Read... [21:57:57]Read from MH i2c: E2 03 00 03 04 00 90 00 7B [21:57:57]RAPDU: 90 00 [21:57:57]wFMCommunicate OK [21:57:57]wFMCommunicate request_size=4 [21:57:57]MH_SAM_APDU [21:57:57]CAPDU: 80 0D 03 02 [21:57:57]Write to MH i2c: E2 08 00 04 04 80 0D 03 02 00 00 00 00 83 [21:57:57]Write i2c OK [21:57:57]MH_I2C_Read... [21:57:57]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:57:57]Read from MH i2c: E2 [21:57:57]MH_I2C_Read... [21:57:57]Read from MH i2c: E2 0B 00 [21:57:57]MH_I2C_Read... [21:57:57]Read from MH i2c: E2 0B 00 04 04 00 BB 06 00 74 D5 DB D0 90 90 00 C9 [21:57:57]RAPDU: BB 06 00 74 D5 DB D0 90 90 00 [21:57:57]wFMCommunicate OK [21:57:57]SAM_PROTO_SignData done [21:57:57]FM_MakeSignedData done [21:57:57]CreateOFDProtocolMessage [21:57:57]wFMCommunicate request_size=4 [21:57:57]MH_SAM_APDU [21:57:57]CAPDU: 80 11 00 00 [21:57:57]Write to MH i2c: E2 08 00 05 04 80 11 00 00 00 00 00 00 83 [21:57:57]Write i2c OK [21:57:57]MH_I2C_Read... [21:57:57]Read from MH i2c: E2 [21:57:57]MH_I2C_Read... [21:57:57]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:57:57]Read from MH i2c: E2 17 00 [21:57:57]MH_I2C_Read... [21:57:57]Read from MH i2c: E2 17 00 05 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 90 00 D5 [21:57:57]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 90 00 [21:57:57]wFMCommunicate OK [21:57:57]CreateOFDProtocolMessage done [21:57:57]OFDSenderStorePacket 63727 [21:57:57]StoreOFDPacket docnum=63727 [21:57:57]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 23 01 00 00 4A A6 1B 01 6A 82 5A 03 01 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 38 37 30 30 30 31 31 35 30 30 39 39 06 04 1D 00 D0 A1 D0 BE D0 BA 20 44 61 2D 44 61 20 31 D0 BB 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 85 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 06 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 98 3A 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 73 00 00 00 F4 03 04 00 E3 EA 5C 66 0E 04 04 00 74 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 10 04 04 00 EF F8 00 00 35 04 06 00 E3 2C 3A 2C 4B 77 BB 06 00 74 D5 DB D0 90 [21:57:57]CheckFolder [21:57:57]dirname=/storage/ofd_packets [21:57:57]CheckFolder done [21:57:57]ProducePacketName [21:57:57]name=ofd_packets/00063727 [21:57:57]NVStorageSaveData ofd_packets/00063727 [21:57:57]File name is /storage/ofd_packets/00063727 [21:57:57]Write 321 bytes [21:57:57]NVStorageSaveData done [21:57:57]OFDSenderStorePacket done [21:57:57]KKMCreateOFDPacket done [21:57:57]NVStorageSaveData kkm_last_timestamp [21:57:57]File name is /storage/kkm_last_timestamp [21:57:57]Write 4 bytes [21:57:57]NVStorageSaveData done [21:57:57]ExternCall_PrintAddStr [21:57:57]wPrintStart [21:57:57]Write to MH i2c: 01 00 00 06 04 0A [21:57:57]Write i2c OK [21:57:57]MH_I2C_Read... [21:57:57]Read from MH i2c: 01 [21:57:57]MH_I2C_Read... [21:57:57]Read from MH i2c: 01 07 00 [21:57:57]MH_I2C_Read... [21:57:57]Read from MH i2c: 01 07 00 06 04 00 00 00 00 00 FF 0F 1F [21:57:57]RasterBufferAndPrint [21:57:57]line Счет N : (3)73318 [21:57:57]line ИНН: 02508201610067 [21:57:57]line Контрольно-Кассовый Чек [21:57:57]line ПРОДАЖА [21:57:57]line Товар: 4870001150099 [21:57:57]line Сок Da-Da 1л персик [21:57:57]line 1.000 * 150.00 [21:57:57]line = 150.00 [21:57:57]line НДС 12% НСП 1% [21:57:57]line > о реализуемом товаре [21:57:57]line ИТОГО: 150.00 [21:57:57]line НСП 1% : 1.33 [21:57:57]line НДС 12% : 15.93 [21:57:57]line Наличными: 0.00 [21:57:57]line Безнал.: 150.00 [21:57:57]line Место: АЗС № 117 "Партнер Нефть" [21:57:57]line Адрес: 720001, г. Каракол, ул. Прежевальского 101/1 (кольцо), 42.500140, 78.386597 [21:57:57]line СНО: Общий режим [21:57:57]line Чек 115 02.06.2024 21:57 [21:57:57]line Смена: 372 ФФД: 1.0 [21:57:57]line ЗНМ: 0300000031 [21:57:57]line РНМ: 0000000000092737 [21:57:57]line Версия ККМ: 001 [21:57:57]line Платежная система: АКБ Кыргызстан [21:57:57]line ФМ: 0000000000875074 [21:57:57]line ФД: 63727 [21:57:57]line ФПД: 249779094047607 [21:57:57]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240602T215755&type=1&operation_type=1&fn_number=0000000000875074&fd_number=63727&fm=249779094047607&tin=02508201610067®Number=0000000000092737&sum=15000 [21:57:57]OFD Sender: Processing packet 63727 [packets to send 14, broken 13] [21:57:57]ProducePacketName [21:57:57]name=ofd_packets/00063727 [21:57:57]OFD Sender: To server: pG, [21:57:57]CommunicateWithHost lk.salyk.kg:30040 [21:57:57]ConnectInit lk.salyk.kg [21:57:57]line 0 [21:57:57]written 0, free lines is 4095 [21:57:57]Connected sock=11 [21:57:57]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 23 01 00 00 4A A6 1B 01 6A 82 5A 03 01 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 38 37 30 30 30 31 31 35 30 30 39 39 06 04 1D 00 D0 A1 D0 BE D0 BA 20 44 61 2D 44 61 20 31 D0 BB 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 85 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 06 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 98 3A 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 73 00 00 00 F4 03 04 00 E3 EA 5C 66 0E 04 04 00 74 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 10 04 04 00 EF F8 00 00 35 04 06 00 E3 2C 3A 2C 4B 77 BB 06 00 74 D5 DB D0 90 [21:57:58]Write to MH i2c: 01 00 00 30 04 34 [21:57:58]Write i2c OK [21:57:58]MH_I2C_Read... [21:57:58]Read from MH i2c: 01 [21:57:58]MH_I2C_Read... [21:57:58]Read from MH i2c: 01 07 00 [21:57:58]MH_I2C_Read... [21:57:58]Read from MH i2c: 01 07 00 30 04 00 00 00 00 00 00 0D 48 [21:57:58]RasterBufferAndPrint [21:57:58]line [21:57:58]line [21:57:58]line [21:57:58]line [21:57:58]line [21:57:58]written 0, free lines is 3373 [21:57:58]MH_Cut [21:57:58]Write to MH i2c: D1 01 00 37 04 01 0D [21:57:58]Write i2c OK [21:57:58]MH_I2C_Read... [21:57:58]Read from MH i2c: D1 [21:57:58]MH_I2C_Read... [21:57:58]Read from MH i2c: D1 01 00 [21:57:58]MH_I2C_Read... [21:57:58]Read from MH i2c: D1 01 00 37 04 00 0C [21:57:58]Write to MH i2c: 01 00 00 38 04 3C [21:57:58]Write i2c OK [21:57:58]MH_I2C_Read... [21:57:58]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 4F 00 00 00 C1 F4 47 00 1F 9F A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 10 04 04 00 EF F8 00 00 F4 03 04 00 B8 96 5C 66 B6 04 01 00 00 25 AD 06 04 C8 45 FC AC [21:57:58]CommunicateWithHost err = 0 [21:57:58]CheckOFDResponse [21:57:58]1017 (14) - 77093643461234 [21:57:58]1041 (16) - 0000000000875074 [21:57:58]1040 (4) - 63727 [21:57:58]1012 (4) - 02.06.2024 15:58 [21:57:58]1206 (1) - 0 [21:57:58]OFD Sender: Remove packet 63727 [21:57:58]ProducePacketName [21:57:58]name=ofd_packets/00063727 [21:57:58]NVStorageDeleteData [21:57:58]*** Cut start [21:57:58]*** Partial cut [21:57:58]*** CUTSNS_PIN = 1 [21:57:58]*** CUTSNS_PIN = 0 [21:57:58]OFD Sender: No OFD packet to send [21:57:59]*** Brake cut motor [21:57:59]Read from MH i2c: 01 [21:57:59]MH_I2C_Read... [21:57:59]*** Stop cut motor [21:57:59]*** Cut end [21:57:59]Read from MH i2c: 01 07 00 [21:57:59]MH_I2C_Read... [21:57:59]Read from MH i2c: 01 07 00 38 04 00 00 00 00 00 FF 0F 51 [21:57:59]process_action close_receipt done [21:57:59]requested_data is exist [21:57:59]produce_requested_data [21:57:59]requested_item fm.sn is exist - process it [21:57:59]wFMCommunicate request_size=4 [21:57:59]MH_SAM_APDU [21:57:59]CAPDU: 80 11 00 00 [21:57:59]Write to MH i2c: E2 08 00 39 04 80 11 00 00 00 00 00 00 B7 [21:57:59]Write i2c OK [21:57:59]MH_I2C_Read... [21:57:59]Read from MH i2c: E2 [21:57:59]MH_I2C_Read... [21:57:59]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:57:59]Read from MH i2c: E2 17 00 [21:57:59]MH_I2C_Read... [21:57:59]Read from MH i2c: E2 17 00 39 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 90 00 09 [21:57:59]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 90 00 [21:57:59]wFMCommunicate OK [21:57:59]requested_item fd.num is exist - process it [21:57:59]SAM_PROTO_GetFieldsCounters [21:57:59]wFMCommunicate request_size=4 [21:57:59]MH_SAM_APDU [21:57:59]CAPDU: 80 13 00 00 [21:57:59]Write to MH i2c: E2 08 00 3A 04 80 13 00 00 00 00 00 00 BA [21:57:59]Write i2c OK [21:57:59]MH_I2C_Read... [21:57:59]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:57:59]Read from MH i2c: E2 [21:57:59]MH_I2C_Read... [21:57:59]Read from MH i2c: E2 62 00 [21:57:59]MH_I2C_Read... [21:57:59]Read from MH i2c: E2 62 00 3A 04 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 33 37 10 04 04 00 EF F8 00 00 0E 04 04 00 74 01 00 00 12 04 04 00 73 00 00 00 5E 04 04 00 73 00 00 00 57 04 04 00 74 00 00 00 19 04 04 00 00 00 00 00 90 00 92 [21:57:59]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 33 37 10 04 04 00 EF F8 00 00 0E 04 04 00 74 01 00 00 12 04 04 00 73 00 00 00 5E 04 04 00 73 00 00 00 57 04 04 00 74 00 00 00 19 04 04 00 00 00 00 00 90 00 [21:57:59]wFMCommunicate OK [21:57:59]SAM_PROTO_GetFieldsCounters done [21:57:59]requested_item shift.num is exist - process it [21:57:59]requested_item shift.opened is exist - process it [21:57:59]req_shift_opened [21:57:59]FM_GetShiftState [21:57:59]SAM_PROTO_GetShiftState [21:57:59]wFMCommunicate request_size=4 [21:57:59]MH_SAM_APDU [21:57:59]CAPDU: 80 13 01 00 [21:57:59]Write to MH i2c: E2 08 00 3B 04 80 13 01 00 00 00 00 00 BC [21:57:59]Write i2c OK [21:57:59]MH_I2C_Read... [21:58:00]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:58:00]Read from MH i2c: E2 [21:58:00]MH_I2C_Read... [21:58:00]Read from MH i2c: E2 0E 00 [21:58:00]MH_I2C_Read... [21:58:00]Read from MH i2c: E2 0E 00 3B 04 00 09 00 01 76 BD 5B 66 00 00 00 00 90 00 BC [21:58:00]RAPDU: 09 00 01 76 BD 5B 66 00 00 00 00 90 00 [21:58:00]wFMCommunicate OK [21:58:00]SAM_PROTO_GetShiftState done [21:58:00]FM_GetShiftState done [21:58:00]req_shift_opened done [21:58:00]requested_item shift.open_date is exist - process it [21:58:00]req_shift_open_date [21:58:00]req_shift_open_date done [21:58:00]produce_requested_data done [21:58:00]produce_requested_data return {"fm.sn":"0000000000875074","fd.num":63727,"shift.num":372,"shift.opened":1,"shift.open_date":1717288310} [21:58:00]process_action_free close_receipt [21:58:00]json_value_free [21:58:00]json_value_free done [21:58:00]process_json_proto returns [21:58:00]Send response to host [21:58:00]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875074","fd.num":63727,"shift.num":372,"shift.opened":1,"shift.open_date":1717288310}}} [21:58:00]free response buf [21:58:00]execute_script done [21:58:00]execute_script returns [21:58:00]free content buf [21:58:00]Sock 10.Close socket [21:58:00]Sock 10.Thread stoped [21:58:03]OFD Sender: No OFD packet to send [21:58:08]OFD Sender: No OFD packet to send [21:58:13]OFD Sender: No OFD packet to send [21:58:18]OFD Sender: No OFD packet to send [21:58:23]OFD Sender: No OFD packet to send [21:58:28]OFD Sender: No OFD packet to send [21:58:33]OFD Sender: No OFD packet to send [21:58:38]OFD Sender: No OFD packet to send [21:58:43]OFD Sender: No OFD packet to send [21:58:48]OFD Sender: No OFD packet to send [21:58:53]OFD Sender: No OFD packet to send [21:58:58]OFD Sender: No OFD packet to send [21:59:04]OFD Sender: No OFD packet to send [21:59:09]OFD Sender: No OFD packet to send [21:59:14]OFD Sender: No OFD packet to send [21:59:19]OFD Sender: No OFD packet to send [21:59:22]ConnectInit Can't connect to host [21:59:24]OFD Sender: No OFD packet to send [21:59:29]OFD Sender: No OFD packet to send [21:59:34]OFD Sender: No OFD packet to send [21:59:39]OFD Sender: No OFD packet to send [21:59:44]OFD Sender: No OFD packet to send [21:59:49]OFD Sender: No OFD packet to send [21:59:54]OFD Sender: No OFD packet to send [21:59:59]OFD Sender: No OFD packet to send [22:00:04]OFD Sender: No OFD packet to send [22:00:09]OFD Sender: No OFD packet to send [22:00:14]OFD Sender: No OFD packet to send [22:00:19]OFD Sender: No OFD packet to send [22:00:24]OFD Sender: No OFD packet to send [22:00:29]OFD Sender: No OFD packet to send [22:00:34]OFD Sender: No OFD packet to send [22:00:39]OFD Sender: No OFD packet to send [22:00:44]OFD Sender: No OFD packet to send [22:00:49]OFD Sender: No OFD packet to send [22:00:54]OFD Sender: No OFD packet to send [22:00:59]OFD Sender: No OFD packet to send [22:01:04]OFD Sender: No OFD packet to send [22:01:09]OFD Sender: No OFD packet to send [22:01:14]OFD Sender: No OFD packet to send [22:01:19]OFD Sender: No OFD packet to send [22:01:24]OFD Sender: No OFD packet to send [22:01:29]OFD Sender: No OFD packet to send [22:01:34]OFD Sender: No OFD packet to send [22:01:39]OFD Sender: No OFD packet to send [22:01:40]ConnectInit Can't connect to host [22:01:44]OFD Sender: No OFD packet to send [22:01:49]OFD Sender: No OFD packet to send [22:01:54]OFD Sender: No OFD packet to send [22:01:59]OFD Sender: No OFD packet to send [22:02:04]OFD Sender: No OFD packet to send [22:02:09]OFD Sender: No OFD packet to send [22:02:14]OFD Sender: No OFD packet to send [22:02:19]OFD Sender: No OFD packet to send [22:02:24]OFD Sender: No OFD packet to send [22:02:29]OFD Sender: No OFD packet to send [22:02:34]OFD Sender: No OFD packet to send [22:02:39]OFD Sender: No OFD packet to send [22:02:44]OFD Sender: No OFD packet to send [22:02:49]OFD Sender: No OFD packet to send [22:02:54]OFD Sender: No OFD packet to send [22:02:59]OFD Sender: No OFD packet to send [22:03:04]OFD Sender: No OFD packet to send [22:03:09]OFD Sender: No OFD packet to send [22:03:14]OFD Sender: No OFD packet to send [22:03:19]OFD Sender: No OFD packet to send [22:03:24]OFD Sender: No OFD packet to send [22:03:29]OFD Sender: No OFD packet to send [22:03:34]OFD Sender: No OFD packet to send [22:03:39]OFD Sender: No OFD packet to send [22:03:44]OFD Sender: No OFD packet to send [22:03:49]OFD Sender: No OFD packet to send [22:03:54]OFD Sender: No OFD packet to send [22:03:58]ConnectInit Can't connect to host [22:03:59]OFD Sender: No OFD packet to send [22:04:04]OFD Sender: No OFD packet to send [22:04:09]OFD Sender: No OFD packet to send [22:04:14]OFD Sender: No OFD packet to send [22:04:19]OFD Sender: No OFD packet to send [22:04:24]OFD Sender: No OFD packet to send [22:04:29]OFD Sender: No OFD packet to send [22:04:34]OFD Sender: No OFD packet to send [22:04:39]OFD Sender: No OFD packet to send [22:04:44]OFD Sender: No OFD packet to send [22:04:49]OFD Sender: No OFD packet to send [22:04:54]OFD Sender: No OFD packet to send [22:04:59]OFD Sender: No OFD packet to send [22:05:04]OFD Sender: No OFD packet to send [22:05:09]OFD Sender: No OFD packet to send [22:05:14]OFD Sender: No OFD packet to send [22:05:19]OFD Sender: No OFD packet to send [22:05:24]OFD Sender: No OFD packet to send [22:05:29]OFD Sender: No OFD packet to send [22:05:34]OFD Sender: No OFD packet to send [22:05:39]OFD Sender: No OFD packet to send [22:05:44]OFD Sender: No OFD packet to send [22:05:49]OFD Sender: No OFD packet to send [22:05:54]OFD Sender: No OFD packet to send [22:05:59]OFD Sender: No OFD packet to send [22:06:04]OFD Sender: No OFD packet to send [22:06:09]OFD Sender: No OFD packet to send [22:06:14]OFD Sender: No OFD packet to send [22:06:17]ConnectInit Can't connect to host [22:06:19]OFD Sender: No OFD packet to send [22:06:24]OFD Sender: No OFD packet to send [22:06:29]OFD Sender: No OFD packet to send [22:06:34]OFD Sender: No OFD packet to send [22:06:39]OFD Sender: No OFD packet to send [22:06:44]OFD Sender: No OFD packet to send [22:06:49]OFD Sender: No OFD packet to send [22:06:54]OFD Sender: No OFD packet to send [22:06:59]OFD Sender: No OFD packet to send [22:07:04]OFD Sender: No OFD packet to send [22:07:09]OFD Sender: No OFD packet to send [22:07:14]OFD Sender: No OFD packet to send [22:07:19]OFD Sender: No OFD packet to send [22:07:24]OFD Sender: No OFD packet to send [22:07:29]OFD Sender: No OFD packet to send [22:07:34]OFD Sender: No OFD packet to send [22:07:39]OFD Sender: No OFD packet to send [22:07:44]OFD Sender: No OFD packet to send [22:07:49]OFD Sender: No OFD packet to send [22:07:54]OFD Sender: No OFD packet to send [22:07:59]OFD Sender: No OFD packet to send [22:08:04]OFD Sender: No OFD packet to send [22:08:09]OFD Sender: No OFD packet to send [22:08:14]OFD Sender: No OFD packet to send [22:08:19]OFD Sender: No OFD packet to send [22:08:24]OFD Sender: No OFD packet to send [22:08:29]OFD Sender: No OFD packet to send [22:08:34]OFD Sender: No OFD packet to send [22:08:35]ConnectInit Can't connect to host [22:08:39]OFD Sender: No OFD packet to send [22:08:44]OFD Sender: No OFD packet to send [22:08:49]OFD Sender: No OFD packet to send [22:08:54]OFD Sender: No OFD packet to send [22:08:59]OFD Sender: No OFD packet to send [22:09:04]OFD Sender: No OFD packet to send [22:09:09]OFD Sender: No OFD packet to send [22:09:14]OFD Sender: No OFD packet to send [22:09:19]OFD Sender: No OFD packet to send [22:09:24]OFD Sender: No OFD packet to send [22:09:29]OFD Sender: No OFD packet to send [22:09:34]OFD Sender: No OFD packet to send [22:09:39]OFD Sender: No OFD packet to send [22:09:44]OFD Sender: No OFD packet to send [22:09:49]OFD Sender: No OFD packet to send [22:09:54]OFD Sender: No OFD packet to send [22:09:59]OFD Sender: No OFD packet to send [22:10:04]OFD Sender: No OFD packet to send [22:10:09]OFD Sender: No OFD packet to send [22:10:14]OFD Sender: No OFD packet to send [22:10:19]OFD Sender: No OFD packet to send [22:10:24]OFD Sender: No OFD packet to send [22:10:29]OFD Sender: No OFD packet to send [22:10:32]accept exits with 9 [22:10:32]New connection [22:10:32]New thread 3067415908 created [22:10:32]Thread 3067272548 joined [22:10:32]Waiting for new connection... [22:10:32] Sock 9.Parse request [22:10:32]Sock 9.Check first char [22:10:32]Sock 9.First char is OK [22:10:32]request: POST /json_proto HTTP/1.0 [22:10:32]Method: POST [22:10:32]URL: /json_proto [22:10:32]Method is POST - this is cgi request [22:10:32]url: /json_proto [22:10:32]query_string will be loaded in cgi processing [22:10:32]execute_cgi json_proto POST (null) [22:10:32]execute_cgi path=json_proto method=POST [22:10:32]POST find Content-Length [22:10:32]Host: 172.17.60.69:8080 [22:10:32]Content-Length: 933 [22:10:32]Content-Type: application/json [22:10:32] [22:10:32]POST finish read [22:10:32]Found Content-Length = 933 [22:10:32]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)73319", "tax_sys" : 0, "items" : [ { "code": "2000053020015", "name": "\u0411\u0443\u043C\u0430\u0436\u043D\u044B\u0435 \u0441\u0442\u0430\u043A\u0430\u043D\u044B 250\u043C\u043B 1\u0448\u0442", "price" : 7.00, "quantity" : 2.000, "sum" : 14.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4607065001445", "name": "\u0428\u043E\u043A \u0431\u0430\u0442\u043E\u043D\u0447\u0438\u043A Snickers 50,5\u0433", "price" : 59.00, "quantity" : 1.000, "sum" : 59.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 73.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:10:32]execute_script... [22:10:32]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)73319", "tax_sys" : 0, "items" : [ { "code": "2000053020015", "name": "\u0411\u0443\u043C\u0430\u0436\u043D\u044B\u0435 \u0441\u0442\u0430\u043A\u0430\u043D\u044B 250\u043C\u043B 1\u0448\u0442", "price" : 7.00, "quantity" : 2.000, "sum" : 14.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4607065001445", "name": "\u0428\u043E\u043A \u0431\u0430\u0442\u043E\u043D\u0447\u0438\u043A Snickers 50,5\u0433", "price" : 59.00, "quantity" : 1.000, "sum" : 59.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 73.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:10:32]POST & json_proto [22:10:32]process_json_proto [22:10:32]json parsed OK: [22:10:32]protocol is kg_v1.0 [22:10:32]action value=close_receipt [22:10:32]process_action close_receipt [22:10:32]cmd_close_receipt [22:10:32]MH_GetDate [22:10:32]Write to MH i2c: F0 00 00 3C 04 2F [22:10:32]Write i2c OK [22:10:32]MH_I2C_Read... [22:10:32]Read from MH i2c: F0 [22:10:32]MH_I2C_Read... [22:10:32]Read from MH i2c: F0 09 00 [22:10:32]MH_I2C_Read... [22:10:32]Read from MH i2c: F0 09 00 3C 04 00 D9 ED 5C 66 6A 96 4A 66 70 [22:10:32]GetLastDocTimeStamp 1717365475 [22:10:32]current date 1717366233 [22:10:32]FM_GetShiftState [22:10:32]SAM_PROTO_GetShiftState [22:10:32]wFMCommunicate request_size=4 [22:10:32]MH_SAM_APDU [22:10:32]CAPDU: 80 13 01 00 [22:10:32]Write to MH i2c: E2 08 00 3D 04 80 13 01 00 00 00 00 00 BE [22:10:32]Write i2c OK [22:10:32]MH_I2C_Read... [22:10:32]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:10:32]Read from MH i2c: E2 [22:10:32]MH_I2C_Read... [22:10:32]Read from MH i2c: E2 0E 00 [22:10:32]MH_I2C_Read... [22:10:32]Read from MH i2c: E2 0E 00 3D 04 00 09 00 01 76 BD 5B 66 00 00 00 00 90 00 BE [22:10:32]RAPDU: 09 00 01 76 BD 5B 66 00 00 00 00 90 00 [22:10:32]wFMCommunicate OK [22:10:32]SAM_PROTO_GetShiftState done [22:10:32]FM_GetShiftState done [22:10:32]opened in 1717288310 [22:10:32]opened+sec_in_day 1717374710 [22:10:32]quantity*price = 1400 [22:10:32]sum+1 = 1401 [22:10:32]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4607065001445 Шок батончик Snickers 50,5г 1.000 * 59.00 = 59.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 73.00 НСП 1% : 0.64 НДС 12% : 7.75 Наличными: 73.00 Безнал.: 0.00 Место: АЗС № 117 "Партнер Нефть" Адрес: 720001, г. Каракол, ул. Прежевальского 101/1 (кольцо), 42.500140, 78.386597 СНО: Общий режим Чек 116 02.06.2024 22:10 Смена: 372 ФФД: 1.0 ЗНМ: 0300000031 РНМ: 0000000000092737 Версия ККМ: 001 ФМ: 0000000000875074 ФД: 63728 ФПД: 132413712900719 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240602T221033&type=1&operation_type=1&fn_number=0000000000875074&fd_number=63728&fm=132413712900719&tin=02508201610067®Number=0000000000092737&sum=7300 0 [22:10:34]StoreToDocumentArchive [22:10:34]shift 372 fd 63728 [22:10:34]save to /storage/0372/doc_00063728 [22:10:34]save last doc name /storage/0372/doc_00063728 to /storage/kkm_last_doc_name [22:10:34]save OK [22:10:34]Clear old archive folders... [22:10:34]ProcessDocumentItem done err = 0, tmpTLVsize=398 [22:10:34]tlvbuf is 00BF94A0 [22:10:34]SAM_PROTO_ClearQueue [22:10:34]wFMCommunicate request_size=4 [22:10:34]MH_SAM_APDU [22:10:34]CAPDU: 80 09 00 00 [22:10:34]Write to MH i2c: E2 08 00 4A 04 80 09 00 00 00 00 00 00 C0 [22:10:34]Write i2c OK [22:10:34]MH_I2C_Read... [22:10:34]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:10:34]Read from MH i2c: E2 [22:10:34]MH_I2C_Read... [22:10:34]Read from MH i2c: E2 03 00 [22:10:34]MH_I2C_Read... [22:10:34]Read from MH i2c: E2 03 00 4A 04 00 90 00 C2 [22:10:34]RAPDU: 90 00 [22:10:34]wFMCommunicate OK [22:10:34]SAM_PROTO_ClearQueue done [22:10:34]KKMCreateOFDPacket [22:10:34]OFDProtocolAddRootSTLVToBuf [22:10:34]FM_MakeSignedData [22:10:34]FM_MakeSignedData [22:10:34]SAM_PROTO_SignData [22:10:34]wFMCommunicate request_size=4 [22:10:34]MH_SAM_APDU [22:10:34]CAPDU: 80 0D 01 02 [22:10:34]Write to MH i2c: E2 08 00 4B 04 80 0D 01 02 00 00 00 00 C8 [22:10:34]Write i2c OK [22:10:34]MH_I2C_Read... [22:10:34]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:10:34]Read from MH i2c: E2 [22:10:34]MH_I2C_Read... [22:10:34]Read from MH i2c: E2 03 00 [22:10:34]MH_I2C_Read... [22:10:34]Read from MH i2c: E2 03 00 4B 04 00 90 00 C3 [22:10:34]RAPDU: 90 00 [22:10:34]wFMCommunicate OK [22:10:34]wFMCommunicate request_size=255 [22:10:34]MH_SAM_APDU [22:10:34]CAPDU: 80 0D 02 02 FA 03 00 8E 01 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 32 30 30 30 30 35 33 30 32 30 30 31 35 06 04 2D 00 D0 91 D1 83 D0 BC D0 B0 D0 B6 D0 BD D1 8B D0 B5 20 D1 81 D1 82 D0 B0 D0 BA D0 B0 D0 BD D1 8B 20 32 35 30 D0 BC D0 BB 20 31 D1 88 D1 82 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 BC 02 00 00 00 00 13 04 06 00 78 05 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 36 30 37 30 36 35 30 30 31 34 34 35 06 04 27 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 53 6E 69 63 6B 65 72 73 20 35 30 2C 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 0C 17 00 00 00 00 13 04 06 00 0C 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 84 1C 00 00 00 00 EB 03 26 [22:10:34]Write to MH i2c: E2 02 01 4C 04 80 0D 02 02 FA 00 03 00 8E 01 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 32 OFD Sender: No OFD packet to send [22:10:34]30 30 30 30 35 33 30 32 30 30 31 35 06 04 2D 00 D0 91 D1 83 D0 BC D0 B0 D0 B6 D0 BD D1 8B D0 B5 20 D1 81 D1 82 D0 B0 D0 BA D0 B0 D0 BD D1 8B 20 32 35 30 D0 BC D0 BB 20 31 D1 88 D1 82 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 BC 02 00 00 00 00 13 04 06 00 78 05 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 36 30 37 30 36 35 30 30 31 34 34 35 06 04 27 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 53 6E 69 63 6B 65 72 73 20 35 30 2C 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 0C 17 00 00 00 00 13 04 06 00 0C 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 84 1C 00 00 00 00 EB 03 26 00 00 9F [22:10:35]Write i2c OK [22:10:35]MH_I2C_Read... [22:10:35]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:10:35]Read from MH i2c: E2 [22:10:35]MH_I2C_Read... [22:10:35]Read from MH i2c: E2 03 00 [22:10:35]MH_I2C_Read... [22:10:35]Read from MH i2c: E2 03 00 4C 04 00 90 00 C4 [22:10:35]RAPDU: 90 00 [22:10:35]wFMCommunicate OK [22:10:35]wFMCommunicate request_size=157 [22:10:35]MH_SAM_APDU [22:10:35]CAPDU: 80 0D 02 02 98 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 40 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 07 03 00 00 00 00 07 04 06 00 84 1C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 74 00 00 00 F4 03 04 00 D9 ED 5C 66 0E 04 04 00 74 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 10 04 04 00 F0 F8 00 00 35 04 06 00 78 6D F8 52 22 6F [22:10:35]Write to MH i2c: E2 A0 00 4D 04 80 0D 02 02 98 00 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 40 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 07 03 00 00 00 00 07 04 06 00 84 1C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 74 00 00 00 F4 03 04 00 D9 ED 5C 66 0E 04 04 00 74 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 10 04 04 00 F0 F8 00 00 35 04 06 00 78 6D F8 52 22 6F 00 00 29 [22:10:35]Write i2c OK [22:10:35]MH_I2C_Read... [22:10:35]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:10:35]Read from MH i2c: E2 [22:10:35]MH_I2C_Read... [22:10:35]Read from MH i2c: E2 03 00 [22:10:35]MH_I2C_Read... [22:10:35]Read from MH i2c: E2 03 00 4D 04 00 90 00 C5 [22:10:35]RAPDU: 90 00 [22:10:35]wFMCommunicate OK [22:10:35]wFMCommunicate request_size=4 [22:10:35]MH_SAM_APDU [22:10:35]CAPDU: 80 0D 03 02 [22:10:35]Write to MH i2c: E2 08 00 4E 04 80 0D 03 02 00 00 00 00 CD [22:10:35]Write i2c OK [22:10:35]MH_I2C_Read... [22:10:35]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:10:35]Read from MH i2c: E2 [22:10:35]MH_I2C_Read... [22:10:35]Read from MH i2c: E2 0B 00 [22:10:35]MH_I2C_Read... [22:10:35]Read from MH i2c: E2 0B 00 4E 04 00 1D D9 F2 D6 B1 E8 A5 93 90 00 5D [22:10:35]RAPDU: 1D D9 F2 D6 B1 E8 A5 93 90 00 [22:10:35]wFMCommunicate OK [22:10:35]SAM_PROTO_SignData done [22:10:35]FM_MakeSignedData done [22:10:35]CreateOFDProtocolMessage [22:10:35]wFMCommunicate request_size=4 [22:10:35]MH_SAM_APDU [22:10:35]CAPDU: 80 11 00 00 [22:10:35]Write to MH i2c: E2 08 00 4F 04 80 11 00 00 00 00 00 00 CD [22:10:35]Write i2c OK [22:10:35]MH_I2C_Read... [22:10:35]Read from MH i2c: E2 [22:10:35]MH_I2C_Read... [22:10:35]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:10:35]Read from MH i2c: E2 17 00 [22:10:35]MH_I2C_Read... [22:10:35]Read from MH i2c: E2 17 00 4F 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 90 00 1F [22:10:35]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 90 00 [22:10:36]wFMCommunicate OK [22:10:36]CreateOFDProtocolMessage done [22:10:36]OFDSenderStorePacket 63728 [22:10:36]StoreOFDPacket docnum=63728 [22:10:36]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 A2 01 00 00 9B 4D 9A 01 67 87 5A 03 01 00 03 00 8E 01 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 32 30 30 30 30 35 33 30 32 30 30 31 35 06 04 2D 00 D0 91 D1 83 D0 BC D0 B0 D0 B6 D0 BD D1 8B D0 B5 20 D1 81 D1 82 D0 B0 D0 BA D0 B0 D0 BD D1 8B 20 32 35 30 D0 BC D0 BB 20 31 D1 88 D1 82 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 BC 02 00 00 00 00 13 04 06 00 78 05 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 36 30 37 30 36 35 30 30 31 34 34 35 06 04 27 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 53 6E 69 63 6B 65 72 73 20 35 30 2C 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 0C 17 00 00 00 00 13 04 06 00 0C 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 84 1C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 40 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 07 03 00 00 00 00 07 04 06 00 84 1C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 74 00 00 00 F4 03 04 00 D9 ED 5C 66 0E 04 04 00 74 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 10 04 04 00 F0 F8 00 00 35 04 06 00 78 6D F8 52 22 6F 1D D9 F2 D6 B1 E8 A5 93 [22:10:36]CheckFolder [22:10:36]dirname=/storage/ofd_packets [22:10:36]CheckFolder done [22:10:36]ProducePacketName [22:10:36]name=ofd_packets/00063728 [22:10:36]NVStorageSaveData ofd_packets/00063728 [22:10:36]File name is /storage/ofd_packets/00063728 [22:10:36]Write 448 bytes [22:10:36]NVStorageSaveData done [22:10:36]OFDSenderStorePacket done [22:10:36]KKMCreateOFDPacket done [22:10:36]NVStorageSaveData kkm_last_timestamp [22:10:36]File name is /storage/kkm_last_timestamp [22:10:36]Write 4 bytes [22:10:36]NVStorageSaveData done [22:10:36]ExternCall_PrintAddStr [22:10:36]wPrintStart [22:10:36]Write to MH i2c: 01 00 00 50 04 54 [22:10:36]Write i2c OK [22:10:36]MH_I2C_Read... [22:10:36]Read from MH i2c: 01 [22:10:36]MH_I2C_Read... [22:10:36]Read from MH i2c: 01 07 00 [22:10:36]MH_I2C_Read... [22:10:36]Read from MH i2c: 01 07 00 50 04 00 00 00 00 00 FF 0F 69 [22:10:36]RasterBufferAndPrint [22:10:36]line Счет N : (3)73319 [22:10:36]line ИНН: 02508201610067 [22:10:36]line Контрольно-Кассовый Чек [22:10:36]line ПРОДАЖА [22:10:36]line Товар: 2000053020015 [22:10:36]line Бумажные стаканы 250мл 1шт [22:10:36]OFD Sender: Processing packet 63728 [packets to send 14, broken 13] [22:10:36]ProducePacketName [22:10:36]name=ofd_packets/00063728 [22:10:36]OFD Sender: To server: pG, [22:10:36]CommunicateWithHost lk.salyk.kg:30040 [22:10:36]ConnectInit lk.salyk.kg [22:10:36]line 2.000 * 7.00 [22:10:36]line = 14.00 [22:10:36]line НДС 12% НСП 1% [22:10:36]line > о реализуемом товаре [22:10:36]line Товар: 4607065001445 [22:10:36]line Шок батончик Snickers 50,5г [22:10:36]line 1.000 * 59.00 [22:10:36]line = 59.00 [22:10:36]line НДС 12% НСП 1% [22:10:36]line > о реализуемом товаре [22:10:36]line ИТОГО: 73.00 [22:10:36]line НСП 1% : 0.64 [22:10:36]line НДС 12% : 7.75 [22:10:36]line Наличными: 73.00 [22:10:36]line Безнал.: 0.00 [22:10:36]line Место: АЗС № 117 "Партнер Нефть" [22:10:36]line Адрес: 720001, г. Каракол, ул. Прежевальского 101/1 (кольцо), 42.500140, 78.386597 [22:10:36]line СНО: Общий режим [22:10:36]line Чек 116 02.06.2024 22:10 [22:10:36]line Смена: 372 ФФД: 1.0 [22:10:36]line ЗНМ: 0300000031 [22:10:36]line РНМ: 0000000000092737 [22:10:36]line Версия ККМ: 001 [22:10:36]line ФМ: 0000000000875074 [22:10:36]line ФД: 63728 [22:10:36]line ФПД: 132413712900719 [22:10:36]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240602T221033&type=1&operation_type=1&fn_number=0000000000875074&fd_number=63728&fm=132413712900719&tin=02508201610067®Number=0000000000092737&sum=7300 [22:10:36]line 0 [22:10:36]written 0, free lines is 4095 [22:10:36]Connected sock=11 [22:10:36]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 A2 01 00 00 9B 4D 9A 01 67 87 5A 03 01 00 03 00 8E 01 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 32 30 30 30 30 35 33 30 32 30 30 31 35 06 04 2D 00 D0 91 D1 83 D0 BC D0 B0 D0 B6 D0 BD D1 8B D0 B5 20 D1 81 D1 82 D0 B0 D0 BA D0 B0 D0 BD D1 8B 20 32 35 30 D0 BC D0 BB 20 31 D1 88 D1 82 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 BC 02 00 00 00 00 13 04 06 00 78 05 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 36 30 37 30 36 35 30 30 31 34 34 35 06 04 27 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 53 6E 69 63 6B 65 72 73 20 35 30 2C 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 0C 17 00 00 00 00 13 04 06 00 0C 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 84 1C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 40 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 07 03 00 00 00 00 07 04 06 00 84 1C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 74 00 00 00 F4 03 04 00 D9 ED 5C 66 0E 04 04 00 74 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 10 04 04 00 F0 F8 00 00 35 04 06 00 78 6D F8 52 22 6F 1D D9 F2 D6 B1 E8 A5 93 [22:10:36]Write to MH i2c: 01 00 00 7F 04 83 [22:10:36]Write i2c OK [22:10:36]MH_I2C_Read... [22:10:36]Read from MH i2c: 01 [22:10:36]MH_I2C_Read... [22:10:36]Read from MH i2c: 01 07 00 [22:10:36]MH_I2C_Read... [22:10:36]Read from MH i2c: 01 07 00 7F 04 00 00 00 00 00 E1 0C 77 [22:10:36]RasterBufferAndPrint [22:10:36]line [22:10:36]line [22:10:36]line [22:10:36]line [22:10:36]line [22:10:36]written 0, free lines is 3348 [22:10:36]MH_Cut [22:10:36]Write to MH i2c: D1 01 00 86 04 01 5C [22:10:36]Write i2c OK [22:10:36]MH_I2C_Read... [22:10:36]Read from MH i2c: D1 [22:10:36]MH_I2C_Read... [22:10:36]Read from MH i2c: D1 01 00 [22:10:36]MH_I2C_Read... [22:10:36]Read from MH i2c: D1 01 00 86 04 00 5B [22:10:36]Write to MH i2c: 01 00 00 87 04 8B [22:10:36]Write i2c OK [22:10:36]MH_I2C_Read... [22:10:36]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 4F 00 00 00 35 28 47 00 3A AF A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 10 04 04 00 F0 F8 00 00 F4 03 04 00 AE 99 5C 66 B6 04 01 00 00 CF 83 FA C0 26 B0 E7 97 [22:10:37]CommunicateWithHost err = 0 [22:10:37]CheckOFDResponse [22:10:37]1017 (14) - 77093643461234 [22:10:37]1041 (16) - 0000000000875074 [22:10:37]1040 (4) - 63728 [22:10:37]1012 (4) - 02.06.2024 16:11 [22:10:37]1206 (1) - 0 [22:10:37]OFD Sender: Remove packet 63728 [22:10:37]ProducePacketName [22:10:37]name=ofd_packets/00063728 [22:10:37]NVStorageDeleteData [22:10:37]*** Cut start [22:10:37]*** Partial cut [22:10:37]*** CUTSNS_PIN = 1 [22:10:37]*** CUTSNS_PIN = 0 [22:10:37]OFD Sender: No OFD packet to send [22:10:37]*** Brake cut motor [22:10:38]Read from MH i2c: 01 [22:10:38]MH_I2C_Read... [22:10:38]*** Stop cut motor [22:10:38]*** Cut end [22:10:38]Read from MH i2c: 01 07 00 [22:10:38]MH_I2C_Read... [22:10:38]Read from MH i2c: 01 07 00 87 04 00 00 00 00 00 FF 0F A0 [22:10:38]process_action close_receipt done [22:10:38]requested_data is exist [22:10:38]produce_requested_data [22:10:38]requested_item fm.sn is exist - process it [22:10:38]wFMCommunicate request_size=4 [22:10:38]MH_SAM_APDU [22:10:38]CAPDU: 80 11 00 00 [22:10:38]Write to MH i2c: E2 08 00 88 04 80 11 00 00 00 00 00 00 06 [22:10:38]Write i2c OK [22:10:38]MH_I2C_Read... [22:10:38]Read from MH i2c: E2 [22:10:38]MH_I2C_Read... [22:10:38]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:10:38]Read from MH i2c: E2 17 00 [22:10:38]MH_I2C_Read... [22:10:38]Read from MH i2c: E2 17 00 88 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 90 00 58 [22:10:38]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 90 00 [22:10:38]wFMCommunicate OK [22:10:38]requested_item fd.num is exist - process it [22:10:38]SAM_PROTO_GetFieldsCounters [22:10:38]wFMCommunicate request_size=4 [22:10:38]MH_SAM_APDU [22:10:38]CAPDU: 80 13 00 00 [22:10:38]Write to MH i2c: E2 08 00 89 04 80 13 00 00 00 00 00 00 09 [22:10:38]Write i2c OK [22:10:38]MH_I2C_Read... [22:10:38]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:10:38]Read from MH i2c: E2 [22:10:38]MH_I2C_Read... [22:10:38]Read from MH i2c: E2 62 00 [22:10:38]MH_I2C_Read... [22:10:38]Read from MH i2c: E2 62 00 89 04 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 33 37 10 04 04 00 F0 F8 00 00 0E 04 04 00 74 01 00 00 12 04 04 00 74 00 00 00 5E 04 04 00 74 00 00 00 57 04 04 00 75 00 00 00 19 04 04 00 00 00 00 00 90 00 E5 [22:10:38]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 33 37 10 04 04 00 F0 F8 00 00 0E 04 04 00 74 01 00 00 12 04 04 00 74 00 00 00 5E 04 04 00 74 00 00 00 57 04 04 00 75 00 00 00 19 04 04 00 00 00 00 00 90 00 [22:10:38]wFMCommunicate OK [22:10:38]SAM_PROTO_GetFieldsCounters done [22:10:38]requested_item shift.num is exist - process it [22:10:38]requested_item shift.opened is exist - process it [22:10:38]req_shift_opened [22:10:38]FM_GetShiftState [22:10:38]SAM_PROTO_GetShiftState [22:10:38]wFMCommunicate request_size=4 [22:10:38]MH_SAM_APDU [22:10:38]CAPDU: 80 13 01 00 [22:10:38]Write to MH i2c: E2 08 00 8A 04 80 13 01 00 00 00 00 00 0B [22:10:38]Write i2c OK [22:10:38]MH_I2C_Read... [22:10:38]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:10:38]Read from MH i2c: E2 [22:10:38]MH_I2C_Read... [22:10:38]Read from MH i2c: E2 0E 00 [22:10:38]MH_I2C_Read... [22:10:38]Read from MH i2c: E2 0E 00 8A 04 00 09 00 01 76 BD 5B 66 00 00 00 00 90 00 0B [22:10:38]RAPDU: 09 00 01 76 BD 5B 66 00 00 00 00 90 00 [22:10:38]wFMCommunicate OK [22:10:38]SAM_PROTO_GetShiftState done [22:10:38]FM_GetShiftState done [22:10:38]req_shift_opened done [22:10:38]requested_item shift.open_date is exist - process it [22:10:38]req_shift_open_date [22:10:38]req_shift_open_date done [22:10:38]produce_requested_data done [22:10:38]produce_requested_data return {"fm.sn":"0000000000875074","fd.num":63728,"shift.num":372,"shift.opened":1,"shift.open_date":1717288310} [22:10:38]process_action_free close_receipt [22:10:38]json_value_free [22:10:38]json_value_free done [22:10:38]process_json_proto returns [22:10:38]Send response to host [22:10:38]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875074","fd.num":63728,"shift.num":372,"shift.opened":1,"shift.open_date":1717288310}}} [22:10:38]free response buf [22:10:38]execute_script done [22:10:38]execute_script returns [22:10:38]free content buf [22:10:38]Sock 9.Close socket [22:10:38]Sock 9.Thread stoped [22:10:42]OFD Sender: No OFD packet to send [22:10:47]OFD Sender: No OFD packet to send [22:10:52]OFD Sender: No OFD packet to send [22:10:53]ConnectInit Can't connect to host [22:10:57]OFD Sender: No OFD packet to send [22:11:02]OFD Sender: No OFD packet to send [22:11:07]OFD Sender: No OFD packet to send [22:11:12]OFD Sender: No OFD packet to send [22:11:17]OFD Sender: No OFD packet to send [22:11:22]OFD Sender: No OFD packet to send [22:11:27]OFD Sender: No OFD packet to send [22:11:32]OFD Sender: No OFD packet to send [22:11:37]OFD Sender: No OFD packet to send [22:11:42]OFD Sender: No OFD packet to send [22:11:47]OFD Sender: No OFD packet to send [22:11:52]OFD Sender: No OFD packet to send [22:11:57]OFD Sender: No OFD packet to send [22:12:02]OFD Sender: No OFD packet to send [22:12:07]OFD Sender: No OFD packet to send [22:12:12]OFD Sender: No OFD packet to send [22:12:17]OFD Sender: No OFD packet to send [22:12:22]OFD Sender: No OFD packet to send [22:12:27]OFD Sender: No OFD packet to send [22:12:32]OFD Sender: No OFD packet to send [22:12:37]OFD Sender: No OFD packet to send [22:12:42]OFD Sender: No OFD packet to send [22:12:47]OFD Sender: No OFD packet to send [22:12:52]OFD Sender: No OFD packet to send [22:12:57]OFD Sender: No OFD packet to send [22:13:02]OFD Sender: No OFD packet to send [22:13:07]OFD Sender: No OFD packet to send [22:13:11]ConnectInit Can't connect to host [22:13:12]OFD Sender: No OFD packet to send [22:13:17]OFD Sender: No OFD packet to send [22:13:22]OFD Sender: No OFD packet to send [22:13:27]OFD Sender: No OFD packet to send [22:13:32]OFD Sender: No OFD packet to send [22:13:37]OFD Sender: No OFD packet to send [22:13:42]OFD Sender: No OFD packet to send [22:13:47]OFD Sender: No OFD packet to send [22:13:52]OFD Sender: No OFD packet to send [22:13:57]OFD Sender: No OFD packet to send [22:14:02]OFD Sender: No OFD packet to send [22:14:07]OFD Sender: No OFD packet to send [22:14:12]OFD Sender: No OFD packet to send [22:14:17]OFD Sender: No OFD packet to send [22:14:22]OFD Sender: No OFD packet to send [22:14:27]OFD Sender: No OFD packet to send [22:14:32]OFD Sender: No OFD packet to send [22:14:37]OFD Sender: No OFD packet to send [22:14:42]OFD Sender: No OFD packet to send [22:14:47]OFD Sender: No OFD packet to send [22:14:52]OFD Sender: No OFD packet to send [22:14:57]OFD Sender: No OFD packet to send [22:15:02]OFD Sender: No OFD packet to send [22:15:07]OFD Sender: No OFD packet to send [22:15:12]OFD Sender: No OFD packet to send [22:15:17]OFD Sender: No OFD packet to send [22:15:22]OFD Sender: No OFD packet to send [22:15:27]OFD Sender: No OFD packet to send [22:15:29]ConnectInit Can't connect to host [22:15:32]OFD Sender: No OFD packet to send [22:15:37]OFD Sender: No OFD packet to send [22:15:42]OFD Sender: No OFD packet to send [22:15:47]OFD Sender: No OFD packet to send [22:15:52]OFD Sender: No OFD packet to send [22:15:57]OFD Sender: No OFD packet to send [22:16:02]OFD Sender: No OFD packet to send [22:16:07]OFD Sender: No OFD packet to send [22:16:12]OFD Sender: No OFD packet to send [22:16:17]OFD Sender: No OFD packet to send [22:16:22]OFD Sender: No OFD packet to send [22:16:27]OFD Sender: No OFD packet to send [22:16:32]OFD Sender: No OFD packet to send [22:16:37]OFD Sender: No OFD packet to send [22:16:42]OFD Sender: No OFD packet to send [22:16:47]OFD Sender: No OFD packet to send [22:16:52]OFD Sender: No OFD packet to send [22:16:57]OFD Sender: No OFD packet to send [22:17:02]OFD Sender: No OFD packet to send [22:17:07]OFD Sender: No OFD packet to send [22:17:12]OFD Sender: No OFD packet to send [22:17:17]OFD Sender: No OFD packet to send [22:17:22]OFD Sender: No OFD packet to send [22:17:27]OFD Sender: No OFD packet to send [22:17:32]OFD Sender: No OFD packet to send [22:17:38]OFD Sender: No OFD packet to send [22:17:43]OFD Sender: No OFD packet to send [22:17:48]OFD Sender: No OFD packet to send [22:17:48]ConnectInit Can't connect to host [22:17:53]OFD Sender: No OFD packet to send [22:17:58]OFD Sender: No OFD packet to send [22:18:03]OFD Sender: No OFD packet to send [22:18:08]OFD Sender: No OFD packet to send [22:18:13]OFD Sender: No OFD packet to send [22:18:18]OFD Sender: No OFD packet to send [22:18:23]OFD Sender: No OFD packet to send [22:18:28]OFD Sender: No OFD packet to send [22:18:33]OFD Sender: No OFD packet to send [22:18:38]OFD Sender: No OFD packet to send [22:18:43]OFD Sender: No OFD packet to send [22:18:48]OFD Sender: No OFD packet to send [22:18:53]OFD Sender: No OFD packet to send [22:18:58]OFD Sender: No OFD packet to send [22:19:03]OFD Sender: No OFD packet to send [22:19:08]OFD Sender: No OFD packet to send [22:19:13]OFD Sender: No OFD packet to send [22:19:18]OFD Sender: No OFD packet to send [22:19:23]OFD Sender: No OFD packet to send [22:19:28]OFD Sender: No OFD packet to send [22:19:33]OFD Sender: No OFD packet to send [22:19:38]OFD Sender: No OFD packet to send [22:19:43]OFD Sender: No OFD packet to send [22:19:48]OFD Sender: No OFD packet to send [22:19:53]OFD Sender: No OFD packet to send [22:19:58]OFD Sender: No OFD packet to send [22:20:03]OFD Sender: No OFD packet to send [22:20:06]ConnectInit Can't connect to host [22:20:08]OFD Sender: No OFD packet to send [22:20:13]OFD Sender: No OFD packet to send [22:20:18]OFD Sender: No OFD packet to send [22:20:23]OFD Sender: No OFD packet to send [22:20:28]OFD Sender: No OFD packet to send [22:20:33]OFD Sender: No OFD packet to send [22:20:38]OFD Sender: No OFD packet to send [22:20:43]OFD Sender: No OFD packet to send [22:20:48]OFD Sender: No OFD packet to send [22:20:53]OFD Sender: No OFD packet to send [22:20:58]OFD Sender: No OFD packet to send [22:21:03]OFD Sender: No OFD packet to send [22:21:08]OFD Sender: No OFD packet to send [22:21:13]OFD Sender: No OFD packet to send [22:21:18]OFD Sender: No OFD packet to send [22:21:23]OFD Sender: No OFD packet to send [22:21:28]OFD Sender: No OFD packet to send [22:21:33]OFD Sender: No OFD packet to send [22:21:38]OFD Sender: No OFD packet to send [22:21:43]OFD Sender: No OFD packet to send [22:21:48]OFD Sender: No OFD packet to send [22:21:53]OFD Sender: No OFD packet to send [22:21:58]OFD Sender: No OFD packet to send [22:22:03]OFD Sender: No OFD packet to send [22:22:08]OFD Sender: No OFD packet to send [22:22:13]OFD Sender: No OFD packet to send [22:22:18]OFD Sender: No OFD packet to send [22:22:23]OFD Sender: No OFD packet to send [22:22:28]OFD Sender: No OFD packet to send [22:22:33]OFD Sender: No OFD packet to send [22:22:38]OFD Sender: No OFD packet to send [22:22:43]OFD Sender: No OFD packet to send [22:22:48]OFD Sender: No OFD packet to send [22:22:53]OFD Sender: No OFD packet to send [22:22:58]OFD Sender: No OFD packet to send [22:23:03]OFD Sender: No OFD packet to send [22:23:08]OFD Sender: No OFD packet to send [22:23:13]OFD Sender: No OFD packet to send [22:23:18]OFD Sender: No OFD packet to send [22:23:23]OFD Sender: No OFD packet to send [22:23:28]OFD Sender: No OFD packet to send [22:23:33]OFD Sender: No OFD packet to send [22:23:38]OFD Sender: No OFD packet to send [22:23:43]OFD Sender: No OFD packet to send [22:23:48]OFD Sender: No OFD packet to send [22:23:53]OFD Sender: No OFD packet to send [22:23:58]OFD Sender: No OFD packet to send [22:24:03]OFD Sender: No OFD packet to send [22:24:08]OFD Sender: No OFD packet to send [22:24:13]OFD Sender: No OFD packet to send [22:24:18]OFD Sender: No OFD packet to send [22:24:23]OFD Sender: No OFD packet to send [22:24:28]OFD Sender: No OFD packet to send [22:24:33]OFD Sender: No OFD packet to send [22:24:38]OFD Sender: No OFD packet to send [22:24:43]OFD Sender: No OFD packet to send [22:24:48]OFD Sender: No OFD packet to send [22:24:53]OFD Sender: No OFD packet to send [22:24:58]OFD Sender: No OFD packet to send [22:25:03]OFD Sender: No OFD packet to send [22:25:08]OFD Sender: No OFD packet to send [22:25:13]OFD Sender: No OFD packet to send [22:25:18]OFD Sender: No OFD packet to send [22:25:23]OFD Sender: No OFD packet to send [22:25:28]OFD Sender: No OFD packet to send [22:25:33]OFD Sender: No OFD packet to send [22:25:38]OFD Sender: No OFD packet to send [22:25:43]OFD Sender: No OFD packet to send [22:25:48]OFD Sender: No OFD packet to send [22:25:53]OFD Sender: No OFD packet to send [22:25:58]OFD Sender: No OFD packet to send [22:26:03]OFD Sender: No OFD packet to send [22:26:08]OFD Sender: No OFD packet to send [22:26:13]OFD Sender: No OFD packet to send [22:26:18]OFD Sender: No OFD packet to send [22:26:23]OFD Sender: No OFD packet to send [22:26:28]OFD Sender: No OFD packet to send [22:26:33]OFD Sender: No OFD packet to send [22:26:38]OFD Sender: No OFD packet to send [22:26:43]OFD Sender: No OFD packet to send [22:26:48]OFD Sender: No OFD packet to send [22:26:53]OFD Sender: No OFD packet to send [22:26:58]OFD Sender: No OFD packet to send [22:27:03]OFD Sender: No OFD packet to send [22:27:08]OFD Sender: No OFD packet to send [22:27:13]OFD Sender: No OFD packet to send [22:27:18]OFD Sender: No OFD packet to send [22:27:23]OFD Sender: No OFD packet to send [22:27:28]OFD Sender: No OFD packet to send [22:27:33]OFD Sender: No OFD packet to send [22:27:38]OFD Sender: No OFD packet to send [22:27:43]OFD Sender: No OFD packet to send [22:27:48]OFD Sender: No OFD packet to send [22:27:53]OFD Sender: No OFD packet to send [22:27:58]OFD Sender: No OFD packet to send [22:28:03]OFD Sender: No OFD packet to send [22:28:08]OFD Sender: No OFD packet to send [22:28:13]OFD Sender: No OFD packet to send [22:28:18]OFD Sender: No OFD packet to send [22:28:23]OFD Sender: No OFD packet to send [22:28:28]OFD Sender: No OFD packet to send [22:28:33]OFD Sender: No OFD packet to send [22:28:38]OFD Sender: No OFD packet to send [22:28:43]OFD Sender: No OFD packet to send [22:28:48]OFD Sender: No OFD packet to send [22:28:53]OFD Sender: No OFD packet to send [22:28:58]OFD Sender: No OFD packet to send [22:29:03]OFD Sender: No OFD packet to send [22:29:08]OFD Sender: No OFD packet to send [22:29:13]OFD Sender: No OFD packet to send [22:29:18]OFD Sender: No OFD packet to send [22:29:23]OFD Sender: No OFD packet to send [22:29:28]OFD Sender: No OFD packet to send [22:29:33]OFD Sender: No OFD packet to send [22:29:38]OFD Sender: No OFD packet to send [22:29:43]OFD Sender: No OFD packet to send [22:29:48]OFD Sender: No OFD packet to send [22:29:53]OFD Sender: No OFD packet to send [22:29:58]OFD Sender: No OFD packet to send [22:30:03]OFD Sender: No OFD packet to send [22:30:08]OFD Sender: No OFD packet to send [22:30:13]OFD Sender: No OFD packet to send [22:30:18]OFD Sender: No OFD packet to send [22:30:23]OFD Sender: No OFD packet to send [22:30:28]OFD Sender: No OFD packet to send [22:30:33]OFD Sender: No OFD packet to send [22:30:38]OFD Sender: No OFD packet to send [22:30:43]OFD Sender: No OFD packet to send [22:30:48]OFD Sender: No OFD packet to send [22:30:53]OFD Sender: No OFD packet to send [22:30:58]OFD Sender: No OFD packet to send [22:31:03]OFD Sender: No OFD packet to send [22:31:08]OFD Sender: No OFD packet to send [22:31:13]OFD Sender: No OFD packet to send [22:31:18]OFD Sender: No OFD packet to send [22:31:23]OFD Sender: No OFD packet to send [22:31:28]OFD Sender: No OFD packet to send [22:31:33]OFD Sender: No OFD packet to send [22:31:38]OFD Sender: No OFD packet to send [22:31:43]OFD Sender: No OFD packet to send [22:31:48]OFD Sender: No OFD packet to send [22:31:53]OFD Sender: No OFD packet to send [22:31:58]OFD Sender: No OFD packet to send [22:32:03]OFD Sender: No OFD packet to send [22:32:08]OFD Sender: No OFD packet to send [22:32:13]OFD Sender: No OFD packet to send [22:32:18]OFD Sender: No OFD packet to send [22:32:23]OFD Sender: No OFD packet to send [22:32:28]OFD Sender: No OFD packet to send [22:32:33]OFD Sender: No OFD packet to send [22:32:38]OFD Sender: No OFD packet to send [22:32:43]OFD Sender: No OFD packet to send [22:32:48]OFD Sender: No OFD packet to send [22:32:53]OFD Sender: No OFD packet to send [22:32:58]OFD Sender: No OFD packet to send [22:33:03]OFD Sender: No OFD packet to send [22:33:08]OFD Sender: No OFD packet to send [22:33:13]OFD Sender: No OFD packet to send [22:33:18]OFD Sender: No OFD packet to send [22:33:23]OFD Sender: No OFD packet to send [22:33:28]OFD Sender: No OFD packet to send [22:33:33]OFD Sender: No OFD packet to send [22:33:38]OFD Sender: No OFD packet to send [22:33:43]OFD Sender: No OFD packet to send [22:33:48]OFD Sender: No OFD packet to send [22:33:53]OFD Sender: No OFD packet to send [22:33:58]OFD Sender: No OFD packet to send [22:34:03]OFD Sender: No OFD packet to send [22:34:08]OFD Sender: No OFD packet to send [22:34:13]OFD Sender: No OFD packet to send [22:34:18]OFD Sender: No OFD packet to send [22:34:23]OFD Sender: No OFD packet to send [22:34:28]OFD Sender: No OFD packet to send [22:34:33]OFD Sender: No OFD packet to send [22:34:38]OFD Sender: No OFD packet to send [22:34:43]OFD Sender: No OFD packet to send [22:34:48]OFD Sender: No OFD packet to send [22:34:53]OFD Sender: No OFD packet to send [22:34:58]OFD Sender: No OFD packet to send [22:35:03]OFD Sender: No OFD packet to send [22:35:08]OFD Sender: No OFD packet to send [22:35:13]OFD Sender: No OFD packet to send [22:35:18]OFD Sender: No OFD packet to send [22:35:23]OFD Sender: No OFD packet to send [22:35:28]OFD Sender: No OFD packet to send [22:35:33]OFD Sender: No OFD packet to send [22:35:38]OFD Sender: No OFD packet to send [22:35:43]OFD Sender: No OFD packet to send [22:35:48]OFD Sender: No OFD packet to send [22:35:53]OFD Sender: No OFD packet to send [22:35:58]OFD Sender: No OFD packet to send [22:36:03]OFD Sender: No OFD packet to send [22:36:08]OFD Sender: No OFD packet to send [22:36:13]OFD Sender: No OFD packet to send [22:36:18]OFD Sender: No OFD packet to send [22:36:23]OFD Sender: No OFD packet to send [22:36:28]OFD Sender: No OFD packet to send [22:36:33]OFD Sender: No OFD packet to send [22:36:38]OFD Sender: No OFD packet to send [22:36:43]OFD Sender: No OFD packet to send [22:36:48]OFD Sender: No OFD packet to send [22:36:53]OFD Sender: No OFD packet to send [22:36:58]OFD Sender: No OFD packet to send [22:37:03]OFD Sender: No OFD packet to send [22:37:08]OFD Sender: No OFD packet to send [22:37:13]OFD Sender: No OFD packet to send [22:37:18]OFD Sender: No OFD packet to send [22:37:23]OFD Sender: No OFD packet to send [22:37:28]OFD Sender: No OFD packet to send [22:37:33]OFD Sender: No OFD packet to send [22:37:38]OFD Sender: No OFD packet to send [22:37:43]OFD Sender: No OFD packet to send [22:37:49]OFD Sender: No OFD packet to send [22:37:54]OFD Sender: No OFD packet to send [22:37:59]OFD Sender: No OFD packet to send [22:38:04]OFD Sender: No OFD packet to send [22:38:09]OFD Sender: No OFD packet to send [22:38:14]OFD Sender: No OFD packet to send [22:38:19]OFD Sender: No OFD packet to send [22:38:24]OFD Sender: No OFD packet to send [22:38:29]OFD Sender: No OFD packet to send [22:38:34]OFD Sender: No OFD packet to send [22:38:39]OFD Sender: No OFD packet to send [22:38:44]OFD Sender: No OFD packet to send [22:38:49]OFD Sender: No OFD packet to send [22:38:54]OFD Sender: No OFD packet to send [22:38:59]OFD Sender: No OFD packet to send [22:39:04]OFD Sender: No OFD packet to send [22:39:09]OFD Sender: No OFD packet to send [22:39:14]OFD Sender: No OFD packet to send [22:39:19]OFD Sender: No OFD packet to send [22:39:24]OFD Sender: No OFD packet to send [22:39:29]OFD Sender: No OFD packet to send [22:39:32]accept exits with 10 [22:39:32]New connection [22:39:32]New thread 3067272548 created [22:39:32]Thread 3067415908 joined [22:39:32]Waiting for new connection... [22:39:32] Sock 10.Parse request [22:39:32]Sock 10.Check first char [22:39:32]Sock 10.First char is OK [22:39:32]request: POST /json_proto HTTP/1.0 [22:39:32]Method: POST [22:39:32]URL: /json_proto [22:39:32]Method is POST - this is cgi request [22:39:32]url: /json_proto [22:39:32]query_string will be loaded in cgi processing [22:39:32]execute_cgi json_proto POST (null) [22:39:32]execute_cgi path=json_proto method=POST [22:39:32]POST find Content-Length [22:39:32]Host: 172.17.60.69:8080 [22:39:32]Content-Length: 897 [22:39:32]Content-Type: application/json [22:39:32] [22:39:32]POST finish read [22:39:32]Found Content-Length = 897 [22:39:32]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)73320", "tax_sys" : 0, "items" : [ { "code": "2000036240010", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 (GABB TRADE)", "price" : 115.00, "quantity" : 1.000, "sum" : 115.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000034250011", "name": "\u0413\u043E\u0440\u044F\u0447\u0438\u0439 \u0448\u043E\u043A\u043E\u043B\u0430\u0434 (GABB trade)", "price" : 110.00, "quantity" : 1.000, "sum" : 110.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 225.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:39:32]execute_script... [22:39:32]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)73320", "tax_sys" : 0, "items" : [ { "code": "2000036240010", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 (GABB TRADE)", "price" : 115.00, "quantity" : 1.000, "sum" : 115.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000034250011", "name": "\u0413\u043E\u0440\u044F\u0447\u0438\u0439 \u0448\u043E\u043A\u043E\u043B\u0430\u0434 (GABB trade)", "price" : 110.00, "quantity" : 1.000, "sum" : 110.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 225.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:39:32]POST & json_proto [22:39:32]process_json_proto [22:39:32]json parsed OK: [22:39:32]protocol is kg_v1.0 [22:39:32]action value=close_receipt [22:39:32]process_action close_receipt [22:39:32]cmd_close_receipt [22:39:32]MH_GetDate [22:39:32]Write to MH i2c: F0 00 00 8B 04 7E [22:39:32]Write i2c OK [22:39:32]MH_I2C_Read... [22:39:32]Read from MH i2c: F0 [22:39:32]MH_I2C_Read... [22:39:32]Read from MH i2c: F0 09 00 [22:39:32]MH_I2C_Read... [22:39:32]Read from MH i2c: F0 09 00 8B 04 00 A5 F4 5C 66 6A 96 4A 66 92 [22:39:32]GetLastDocTimeStamp 1717366233 [22:39:32]current date 1717367973 [22:39:32]FM_GetShiftState [22:39:32]SAM_PROTO_GetShiftState [22:39:32]wFMCommunicate request_size=4 [22:39:32]MH_SAM_APDU [22:39:32]CAPDU: 80 13 01 00 [22:39:32]Write to MH i2c: E2 08 00 8C 04 80 13 01 00 00 00 00 00 0D [22:39:32]Write i2c OK [22:39:32]MH_I2C_Read... [22:39:32]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:39:32]Read from MH i2c: E2 [22:39:32]MH_I2C_Read... [22:39:32]Read from MH i2c: E2 0E 00 [22:39:32]MH_I2C_Read... [22:39:32]Read from MH i2c: E2 0E 00 8C 04 00 09 00 01 76 BD 5B 66 00 00 00 00 90 00 0D [22:39:32]RAPDU: 09 00 01 76 BD 5B 66 00 00 00 00 90 00 [22:39:32]wFMCommunicate OK [22:39:32]SAM_PROTO_GetShiftState done [22:39:32]FM_GetShiftState done [22:39:32]opened in 1717288310 [22:39:32]opened+sec_in_day 1717374710 [22:39:32]quantity*price = 11500 [22:39:32]sum+1 = 11501 [22:39:32]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 2000034250011 Горячий шоколад (GABB trade) 1.000 * 110.00 = 110.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 225.00 НСП 1% : 1.99 НДС 12% : 23.89 Наличными: 225.00 Безнал.: 0.00 Место: АЗС № 117 "Партнер Нефть" Адрес: 720001, г. Каракол, ул. Прежевальского 101/1 (кольцо), 42.500140, 78.386597 СНО: Общий режим Чек 117 02.06.2024 22:39 Смена: 372 ФФД: 1.0 ЗНМ: 0300000031 РНМ: 0000000000092737 Версия ККМ: 001 ФМ: 0000000000875074 ФД: 63729 ФПД: 162714649040903 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240602T223933&type=1&operation_type=1&fn_number=0000000000875074&fd_number=63729&fm=162714649040903&tin=02508201610067®Number=0000000000092737&sum=22500 0 [22:39:33]StoreToDocumentArchive [22:39:33]shift 372 fd 63729 [22:39:33]save to /storage/0372/doc_00063729 [22:39:33]save last doc name /storage/0372/doc_00063729 to /storage/kkm_last_doc_name [22:39:33]save OK [22:39:33]Clear old archive folders... [22:39:33]ProcessDocumentItem done err = 0, tmpTLVsize=388 [22:39:33]tlvbuf is 00B5CAA0 [22:39:33]SAM_PROTO_ClearQueue [22:39:33]wFMCommunicate request_size=4 [22:39:33]MH_SAM_APDU [22:39:33]CAPDU: 80 09 00 00 [22:39:33]Write to MH i2c: E2 08 00 99 04 80 09 00 00 00 00 00 00 0F [22:39:33]Write i2c OK [22:39:33]MH_I2C_Read... [22:39:33]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:39:33]Read from MH i2c: E2 [22:39:33]MH_I2C_Read... [22:39:33]Read from MH i2c: E2 03 00 [22:39:33]MH_I2C_Read... [22:39:33]Read from MH i2c: E2 03 00 99 04 00 90 00 11 [22:39:33]RAPDU: 90 00 [22:39:33]wFMCommunicate OK [22:39:33]SAM_PROTO_ClearQueue done [22:39:33]KKMCreateOFDPacket [22:39:33]OFDProtocolAddRootSTLVToBuf [22:39:33]FM_MakeSignedData [22:39:33]FM_MakeSignedData [22:39:33]SAM_PROTO_SignData [22:39:33]wFMCommunicate request_size=4 [22:39:33]MH_SAM_APDU [22:39:33]CAPDU: 80 0D 01 02 [22:39:33]Write to MH i2c: E2 08 00 9A 04 80 0D 01 02 00 00 00 00 17 [22:39:33]Write i2c OK [22:39:33]MH_I2C_Read... [22:39:33]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:39:33]Read from MH i2c: E2 [22:39:33]MH_I2C_Read... [22:39:33]Read from MH i2c: E2 03 00 [22:39:33]MH_I2C_Read... [22:39:33]Read from MH i2c: E2 03 00 9A 04 00 90 00 12 [22:39:33]RAPDU: 90 00 [22:39:33]wFMCommunicate OK [22:39:33]wFMCommunicate request_size=255 [22:39:33]MH_SAM_APDU [22:39:33]CAPDU: 80 0D 02 02 FA 03 00 84 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6E 00 8A 04 0D 00 32 30 30 30 30 33 34 32 35 30 30 31 31 06 04 2A 00 D0 93 D0 BE D1 80 D1 8F D1 87 D0 B8 D0 B9 20 D1 88 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 20 28 47 41 42 42 20 74 72 61 64 65 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E4 57 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 [22:39:33]Write to MH i2c: E2 02 01 9B 04 80 0D 02 02 FA 00 03 00 84 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6E 00 8A 04 0D 00 32 30 30 30 30 33 34 32 35 30 30 31 31 06 04 2A 00 D0 93 D0 BE D1 80 D1 8F D1 87 D0 B8 D0 B9 20 D1 88 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 20 28 47 41 42 42 20 74 72 61 64 65 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E4 57 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 00 00 C5 [22:39:33]Write i2c OK [22:39:33]MH_I2C_Read... [22:39:33]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:39:33]Read from MH i2c: E2 [22:39:33]MH_I2C_Read... [22:39:33]Read from MH i2c: E2 03 00 [22:39:33]MH_I2C_Read... [22:39:33]Read from MH i2c: E2 03 00 9B 04 00 90 00 13 [22:39:33]RAPDU: 90 00 [22:39:33]wFMCommunicate OK [22:39:33]wFMCommunicate request_size=147 [22:39:33]MH_SAM_APDU [22:39:33]CAPDU: 80 0D 02 02 8E F7 03 06 00 C7 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 55 09 00 00 00 00 07 04 06 00 E4 57 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 75 00 00 00 F4 03 04 00 A5 F4 5C 66 0E 04 04 00 74 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 10 04 04 00 F1 F8 00 00 35 04 06 00 93 FC F4 DB 18 07 [22:39:33]Write to MH i2c: E2 96 00 9C 04 80 0D 02 02 8E 00 F7 03 06 00 C7 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 55 09 00 00 00 00 07 04 06 00 E4 57 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 75 00 00 00 F4 03 04 00 A5 F4 5C 66 0E 04 04 00 74 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 10 04 04 00 F1 F8 00 00 35 04 06 00 93 FC F4 DB 18 07 00 00 70 [22:39:33]Write i2c OK [22:39:33]MH_I2C_Read... [22:39:34]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:39:34]OFD Sender: No OFD packet to send [22:39:34]Read from MH i2c: E2 [22:39:34]MH_I2C_Read... [22:39:34]Read from MH i2c: E2 03 00 [22:39:34]MH_I2C_Read... [22:39:34]Read from MH i2c: E2 03 00 9C 04 00 90 00 14 [22:39:34]RAPDU: 90 00 [22:39:34]wFMCommunicate OK [22:39:34]wFMCommunicate request_size=4 [22:39:34]MH_SAM_APDU [22:39:34]CAPDU: 80 0D 03 02 [22:39:34]Write to MH i2c: E2 08 00 9D 04 80 0D 03 02 00 00 00 00 1C [22:39:34]Write i2c OK [22:39:34]MH_I2C_Read... [22:39:34]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:39:34]Read from MH i2c: E2 [22:39:34]MH_I2C_Read... [22:39:34]Read from MH i2c: E2 0B 00 [22:39:34]MH_I2C_Read... [22:39:34]Read from MH i2c: E2 0B 00 9D 04 00 5F 22 A5 AC 38 23 8A 0A 90 00 DE [22:39:34]RAPDU: 5F 22 A5 AC 38 23 8A 0A 90 00 [22:39:34]wFMCommunicate OK [22:39:34]SAM_PROTO_SignData done [22:39:34]FM_MakeSignedData done [22:39:34]CreateOFDProtocolMessage [22:39:34]wFMCommunicate request_size=4 [22:39:34]MH_SAM_APDU [22:39:34]CAPDU: 80 11 00 00 [22:39:34]Write to MH i2c: E2 08 00 9E 04 80 11 00 00 00 00 00 00 1C [22:39:34]Write i2c OK [22:39:34]MH_I2C_Read... [22:39:34]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:39:34]Read from MH i2c: E2 [22:39:34]MH_I2C_Read... [22:39:34]Read from MH i2c: E2 17 00 [22:39:34]MH_I2C_Read... [22:39:34]Read from MH i2c: E2 17 00 9E 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 90 00 6E [22:39:34]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 90 00 [22:39:34]wFMCommunicate OK [22:39:34]CreateOFDProtocolMessage done [22:39:34]OFDSenderStorePacket 63729 [22:39:34]StoreOFDPacket docnum=63729 [22:39:34]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 98 01 00 00 24 5E 90 01 E0 86 5A 03 01 00 03 00 84 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6E 00 8A 04 0D 00 32 30 30 30 30 33 34 32 35 30 30 31 31 06 04 2A 00 D0 93 D0 BE D1 80 D1 8F D1 87 D0 B8 D0 B9 20 D1 88 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 20 28 47 41 42 42 20 74 72 61 64 65 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E4 57 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C7 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 55 09 00 00 00 00 07 04 06 00 E4 57 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 75 00 00 00 F4 03 04 00 A5 F4 5C 66 0E 04 04 00 74 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 10 04 04 00 F1 F8 00 00 35 04 06 00 93 FC F4 DB 18 07 5F 22 A5 AC 38 23 8A 0A [22:39:34]CheckFolder [22:39:34]dirname=/storage/ofd_packets [22:39:34]CheckFolder done [22:39:34]ProducePacketName [22:39:34]name=ofd_packets/00063729 [22:39:34]NVStorageSaveData ofd_packets/00063729 [22:39:34]File name is /storage/ofd_packets/00063729 [22:39:34]Write 438 bytes [22:39:34]NVStorageSaveData done [22:39:34]OFDSenderStorePacket done [22:39:34]KKMCreateOFDPacket done [22:39:34]NVStorageSaveData kkm_last_timestamp [22:39:34]File name is /storage/kkm_last_timestamp [22:39:34]Write 4 bytes [22:39:34]NVStorageSaveData done [22:39:34]ExternCall_PrintAddStr [22:39:34]wPrintStart [22:39:34]Write to MH i2c: 01 00 00 9F 04 A3 [22:39:34]Write i2c OK [22:39:34]MH_I2C_Read... [22:39:34]OFD Sender: Processing packet 63729 [packets to send 14, broken 13] [22:39:34]ProducePacketName [22:39:34]name=ofd_packets/00063729 [22:39:34]OFD Sender: To server: pG, [22:39:34]CommunicateWithHost lk.salyk.kg:30040 [22:39:34]ConnectInit lk.salyk.kg [22:39:34]Read from MH i2c: 01 [22:39:34]MH_I2C_Read... [22:39:34]Read from MH i2c: 01 07 00 [22:39:34]MH_I2C_Read... [22:39:34]Read from MH i2c: 01 07 00 9F 04 00 00 00 00 00 FF 0F B8 [22:39:34]RasterBufferAndPrint [22:39:34]line Счет N : (3)73320 [22:39:34]line ИНН: 02508201610067 [22:39:34]line Контрольно-Кассовый Чек [22:39:34]line ПРОДАЖА [22:39:34]line Товар: 2000036240010 [22:39:34]line Кофе Латте (GABB TRADE) [22:39:34]line 1.000 * 115.00 [22:39:34]line = 115.00 [22:39:34]line НДС 12% НСП 1% [22:39:34]line > о реализуемом товаре [22:39:34]line Товар: 2000034250011 [22:39:34]line Горячий шоколад (GABB trade) [22:39:34]line 1.000 * 110.00 [22:39:34]line = 110.00 [22:39:34]line НДС 12% НСП 1% [22:39:34]line > о реализуемом товаре [22:39:34]line ИТОГО: 225.00 [22:39:34]line НСП 1% : 1.99 [22:39:34]line НДС 12% : 23.89 [22:39:34]line Наличными: 225.00 [22:39:34]line Безнал.: 0.00 [22:39:34]line Место: АЗС № 117 "Партнер Нефть" [22:39:34]line Адрес: 720001, г. Каракол, ул. Прежевальского 101/1 (кольцо), 42.500140, 78.386597 [22:39:34]line СНО: Общий режим [22:39:34]line Чек 117 02.06.2024 22:39 [22:39:34]line Смена: 372 ФФД: 1.0 [22:39:34]line ЗНМ: 0300000031 [22:39:34]line РНМ: 0000000000092737 [22:39:34]line Версия ККМ: 001 [22:39:34]line ФМ: 0000000000875074 [22:39:34]line ФД: 63729 [22:39:34]line ФПД: 162714649040903 [22:39:34]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240602T223933&type=1&operation_type=1&fn_number=0000000000875074&fd_number=63729&fm=162714649040903&tin=02508201610067®Number=0000000000092737&sum=22500 [22:39:34]line 0 [22:39:34]written 0, free lines is 4095 [22:39:35]Write to MH i2c: 01 00 00 CE 04 D2 [22:39:35]Write i2c OK [22:39:35]MH_I2C_Read... [22:39:35]Read from MH i2c: 01 [22:39:35]MH_I2C_Read... [22:39:35]Read from MH i2c: 01 07 00 [22:39:35]MH_I2C_Read... [22:39:35]Read from MH i2c: 01 07 00 CE 04 00 00 00 00 00 82 0C 67 [22:39:35]RasterBufferAndPrint [22:39:35]line [22:39:35]line [22:39:35]line [22:39:35]line [22:39:35]line [22:39:35]written 0, free lines is 3207 [22:39:35]MH_Cut [22:39:35]Write to MH i2c: D1 01 00 D5 04 01 AB [22:39:35]Write i2c OK [22:39:35]MH_I2C_Read... [22:39:35]Read from MH i2c: D1 [22:39:35]MH_I2C_Read... [22:39:35]Read from MH i2c: D1 01 00 [22:39:35]MH_I2C_Read... [22:39:35]Read from MH i2c: D1 01 00 D5 04 00 AA [22:39:35]Write to MH i2c: 01 00 00 D6 04 DA [22:39:35]Write i2c OK [22:39:35]MH_I2C_Read... [22:39:35]*** Cut start [22:39:35]*** Partial cut [22:39:35]*** CUTSNS_PIN = 1 [22:39:35]Connected sock=11 [22:39:35]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 98 01 00 00 24 5E 90 01 E0 86 5A 03 01 00 03 00 84 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6E 00 8A 04 0D 00 32 30 30 30 30 33 34 32 35 30 30 31 31 06 04 2A 00 D0 93 D0 BE D1 80 D1 8F D1 87 D0 B8 D0 B9 20 D1 88 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 20 28 47 41 42 42 20 74 72 61 64 65 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E4 57 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C7 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 55 09 00 00 00 00 07 04 06 00 E4 57 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 75 00 00 00 F4 03 04 00 A5 F4 5C 66 0E 04 04 00 74 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 10 04 04 00 F1 F8 00 00 35 04 06 00 93 FC F4 DB 18 07 5F 22 A5 AC 38 23 8A 0A [22:39:35]*** CUTSNS_PIN = 0 [22:39:36]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 4F 00 00 00 09 77 47 00 8D CC A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 10 04 04 00 F1 F8 00 00 F4 03 04 00 7A A0 5C 66 B6 04 01 00 00 91 2B 19 BC 69 03 38 23 [22:39:36]CommunicateWithHost err = 0 [22:39:36]CheckOFDResponse [22:39:36]1017 (14) - 77093643461234 [22:39:36]1041 (16) - 0000000000875074 [22:39:36]1040 (4) - 63729 [22:39:36]1012 (4) - 02.06.2024 16:40 [22:39:36]1206 (1) - 0 [22:39:36]OFD Sender: Remove packet 63729 [22:39:36]ProducePacketName [22:39:36]name=ofd_packets/00063729 [22:39:36]NVStorageDeleteData [22:39:36]*** Brake cut motor [22:39:36]Read from MH i2c: 01 [22:39:36]MH_I2C_Read... [22:39:36]*** Stop cut motor [22:39:36]*** Cut end [22:39:36]Read from MH i2c: 01 07 00 [22:39:36]MH_I2C_Read... [22:39:36]Read from MH i2c: 01 07 00 D6 04 00 00 00 00 00 FF 0F EF [22:39:36]process_action close_receipt done [22:39:36]requested_data is exist [22:39:36]produce_requested_data [22:39:36]requested_item fm.sn is exist - process it [22:39:36]wFMCommunicate request_size=4 [22:39:36]MH_SAM_APDU [22:39:36]CAPDU: 80 11 00 00 [22:39:36]Write to MH i2c: E2 08 00 D7 04 80 11 00 00 00 00 00 00 55 [22:39:36]Write i2c OK [22:39:36]MH_I2C_Read... [22:39:36]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:39:36]Read from MH i2c: E2 [22:39:36]MH_I2C_Read... [22:39:36]Read from MH i2c: E2 17 00 [22:39:36]MH_I2C_Read... [22:39:36]Read from MH i2c: E2 17 00 D7 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 90 00 A7 [22:39:36]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 90 00 [22:39:36]wFMCommunicate OK [22:39:36]requested_item fd.num is exist - process it [22:39:36]SAM_PROTO_GetFieldsCounters [22:39:36]wFMCommunicate request_size=4 [22:39:36]MH_SAM_APDU [22:39:36]CAPDU: 80 13 00 00 [22:39:36]Write to MH i2c: E2 08 00 D8 04 80 13 00 00 00 00 00 00 58 [22:39:36]Write i2c OK [22:39:36]MH_I2C_Read... [22:39:36]OFD Sender: No OFD packet to send [22:39:36]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:39:36]Read from MH i2c: E2 [22:39:36]MH_I2C_Read... [22:39:36]Read from MH i2c: E2 62 00 [22:39:36]MH_I2C_Read... [22:39:36]Read from MH i2c: E2 62 00 D8 04 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 33 37 10 04 04 00 F1 F8 00 00 0E 04 04 00 74 01 00 00 12 04 04 00 75 00 00 00 5E 04 04 00 75 00 00 00 57 04 04 00 76 00 00 00 19 04 04 00 00 00 00 00 90 00 38 [22:39:36]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 33 37 10 04 04 00 F1 F8 00 00 0E 04 04 00 74 01 00 00 12 04 04 00 75 00 00 00 5E 04 04 00 75 00 00 00 57 04 04 00 76 00 00 00 19 04 04 00 00 00 00 00 90 00 [22:39:36]wFMCommunicate OK [22:39:36]SAM_PROTO_GetFieldsCounters done [22:39:36]requested_item shift.num is exist - process it [22:39:36]requested_item shift.opened is exist - process it [22:39:36]req_shift_opened [22:39:36]FM_GetShiftState [22:39:36]SAM_PROTO_GetShiftState [22:39:36]wFMCommunicate request_size=4 [22:39:36]MH_SAM_APDU [22:39:36]CAPDU: 80 13 01 00 [22:39:36]Write to MH i2c: E2 08 00 D9 04 80 13 01 00 00 00 00 00 5A [22:39:36]Write i2c OK [22:39:36]MH_I2C_Read... [22:39:36]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:39:36]Read from MH i2c: E2 [22:39:36]MH_I2C_Read... [22:39:36]Read from MH i2c: E2 0E 00 [22:39:36]MH_I2C_Read... [22:39:36]Read from MH i2c: E2 0E 00 D9 04 00 09 00 01 76 BD 5B 66 00 00 00 00 90 00 5A [22:39:36]RAPDU: 09 00 01 76 BD 5B 66 00 00 00 00 90 00 [22:39:36]wFMCommunicate OK [22:39:36]SAM_PROTO_GetShiftState done [22:39:36]FM_GetShiftState done [22:39:36]req_shift_opened done [22:39:36]requested_item shift.open_date is exist - process it [22:39:36]req_shift_open_date [22:39:36]req_shift_open_date done [22:39:36]produce_requested_data done [22:39:36]produce_requested_data return {"fm.sn":"0000000000875074","fd.num":63729,"shift.num":372,"shift.opened":1,"shift.open_date":1717288310} [22:39:36]process_action_free close_receipt [22:39:36]json_value_free [22:39:36]json_value_free done [22:39:36]process_json_proto returns [22:39:36]Send response to host [22:39:36]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875074","fd.num":63729,"shift.num":372,"shift.opened":1,"shift.open_date":1717288310}}} [22:39:36]free response buf [22:39:36]execute_script done [22:39:36]execute_script returns [22:39:36]free content buf [22:39:36]Sock 10.Close socket [22:39:36]Sock 10.Thread stoped [22:39:41]OFD Sender: No OFD packet to send [22:39:46]OFD Sender: No OFD packet to send [22:39:51]OFD Sender: No OFD packet to send [22:39:56]OFD Sender: No OFD packet to send [22:40:01]OFD Sender: No OFD packet to send [22:40:06]OFD Sender: No OFD packet to send [22:40:11]OFD Sender: No OFD packet to send [22:40:16]OFD Sender: No OFD packet to send [22:40:21]OFD Sender: No OFD packet to send [22:40:26]OFD Sender: No OFD packet to send [22:40:31]OFD Sender: No OFD packet to send [22:40:36]OFD Sender: No OFD packet to send [22:40:41]OFD Sender: No OFD packet to send [22:40:46]OFD Sender: No OFD packet to send [22:40:51]OFD Sender: No OFD packet to send [22:40:56]OFD Sender: No OFD packet to send [22:41:01]OFD Sender: No OFD packet to send [22:41:06]OFD Sender: No OFD packet to send [22:41:11]OFD Sender: No OFD packet to send [22:41:16]OFD Sender: No OFD packet to send [22:41:21]OFD Sender: No OFD packet to send [22:41:26]OFD Sender: No OFD packet to send [22:41:31]OFD Sender: No OFD packet to send [22:41:36]OFD Sender: No OFD packet to send [22:41:41]OFD Sender: No OFD packet to send [22:41:46]OFD Sender: No OFD packet to send [22:41:51]OFD Sender: No OFD packet to send [22:41:56]OFD Sender: No OFD packet to send [22:42:01]OFD Sender: No OFD packet to send [22:42:06]OFD Sender: No OFD packet to send [22:42:11]OFD Sender: No OFD packet to send [22:42:16]OFD Sender: No OFD packet to send [22:42:21]OFD Sender: No OFD packet to send [22:42:26]OFD Sender: No OFD packet to send [22:42:31]OFD Sender: No OFD packet to send [22:42:36]OFD Sender: No OFD packet to send [22:42:41]OFD Sender: No OFD packet to send [22:42:46]OFD Sender: No OFD packet to send [22:42:51]OFD Sender: No OFD packet to send [22:42:56]OFD Sender: No OFD packet to send [22:43:01]OFD Sender: No OFD packet to send [22:43:06]OFD Sender: No OFD packet to send [22:43:11]OFD Sender: No OFD packet to send [22:43:16]OFD Sender: No OFD packet to send [22:43:21]OFD Sender: No OFD packet to send [22:43:26]OFD Sender: No OFD packet to send [22:43:31]OFD Sender: No OFD packet to send [22:43:36]OFD Sender: No OFD packet to send [22:43:41]OFD Sender: No OFD packet to send [22:43:46]OFD Sender: No OFD packet to send [22:43:51]OFD Sender: No OFD packet to send [22:43:56]OFD Sender: No OFD packet to send [22:44:01]OFD Sender: No OFD packet to send [22:44:06]OFD Sender: No OFD packet to send [22:44:11]OFD Sender: No OFD packet to send [22:44:16]OFD Sender: No OFD packet to send [22:44:21]OFD Sender: No OFD packet to send [22:44:26]OFD Sender: No OFD packet to send [22:44:31]OFD Sender: No OFD packet to send [22:44:36]OFD Sender: No OFD packet to send [22:44:41]OFD Sender: No OFD packet to send [22:44:46]OFD Sender: No OFD packet to send [22:44:51]OFD Sender: No OFD packet to send [22:44:56]OFD Sender: No OFD packet to send [22:45:01]OFD Sender: No OFD packet to send [22:45:06]OFD Sender: No OFD packet to send [22:45:11]OFD Sender: No OFD packet to send [22:45:16]OFD Sender: No OFD packet to send [22:45:21]OFD Sender: No OFD packet to send [22:45:26]OFD Sender: No OFD packet to send [22:45:31]OFD Sender: No OFD packet to send [22:45:36]OFD Sender: No OFD packet to send [22:45:41]OFD Sender: No OFD packet to send [22:45:46]OFD Sender: No OFD packet to send [22:45:51]OFD Sender: No OFD packet to send [22:45:56]OFD Sender: No OFD packet to send [22:46:01]OFD Sender: No OFD packet to send [22:46:06]OFD Sender: No OFD packet to send [22:46:11]OFD Sender: No OFD packet to send [22:46:16]OFD Sender: No OFD packet to send [22:46:21]OFD Sender: No OFD packet to send [22:46:26]OFD Sender: No OFD packet to send [22:46:31]OFD Sender: No OFD packet to send [22:46:36]OFD Sender: No OFD packet to send [22:46:41]OFD Sender: No OFD packet to send [22:46:47]OFD Sender: No OFD packet to send [22:46:52]OFD Sender: No OFD packet to send [22:46:57]OFD Sender: No OFD packet to send [22:47:02]OFD Sender: No OFD packet to send [22:47:07]OFD Sender: No OFD packet to send [22:47:12]OFD Sender: No OFD packet to send [22:47:17]OFD Sender: No OFD packet to send [22:47:22]OFD Sender: No OFD packet to send [22:47:27]OFD Sender: No OFD packet to send [22:47:32]OFD Sender: No OFD packet to send [22:47:37]OFD Sender: No OFD packet to send [22:47:42]OFD Sender: No OFD packet to send [22:47:47]OFD Sender: No OFD packet to send [22:47:52]OFD Sender: No OFD packet to send [22:47:57]OFD Sender: No OFD packet to send [22:48:02]OFD Sender: No OFD packet to send [22:48:07]OFD Sender: No OFD packet to send [22:48:12]OFD Sender: No OFD packet to send [22:48:17]OFD Sender: No OFD packet to send [22:48:22]OFD Sender: No OFD packet to send [22:48:27]OFD Sender: No OFD packet to send [22:48:32]OFD Sender: No OFD packet to send [22:48:37]OFD Sender: No OFD packet to send [22:48:42]OFD Sender: No OFD packet to send [22:48:47]OFD Sender: No OFD packet to send [22:48:52]OFD Sender: No OFD packet to send [22:48:57]OFD Sender: No OFD packet to send [22:49:02]OFD Sender: No OFD packet to send [22:49:07]OFD Sender: No OFD packet to send [22:49:12]OFD Sender: No OFD packet to send [22:49:17]OFD Sender: No OFD packet to send [22:49:22]OFD Sender: No OFD packet to send [22:49:27]OFD Sender: No OFD packet to send [22:49:32]OFD Sender: No OFD packet to send [22:49:37]OFD Sender: No OFD packet to send [22:49:42]OFD Sender: No OFD packet to send [22:49:47]OFD Sender: No OFD packet to send [22:49:52]OFD Sender: No OFD packet to send [22:49:57]OFD Sender: No OFD packet to send [22:50:02]OFD Sender: No OFD packet to send [22:50:07]OFD Sender: No OFD packet to send [22:50:12]OFD Sender: No OFD packet to send [22:50:17]OFD Sender: No OFD packet to send [22:50:18]accept exits with 8 [22:50:18]New connection [22:50:18]New thread 3067415908 created [22:50:18]Thread 3067272548 joined [22:50:18]Waiting for new connection... [22:50:18] Sock 8.Parse request [22:50:18]Sock 8.Check first char [22:50:18]Sock 8.First char is OK [22:50:18]request: POST /json_proto HTTP/1.0 [22:50:18]Method: POST [22:50:18]URL: /json_proto [22:50:18]Method is POST - this is cgi request [22:50:18]url: /json_proto [22:50:18]query_string will be loaded in cgi processing [22:50:18]execute_cgi json_proto POST (null) [22:50:18]execute_cgi path=json_proto method=POST [22:50:18]POST find Content-Length [22:50:18]Host: 172.17.60.69:8080 [22:50:18]Content-Length: 1748 [22:50:18]Content-Type: application/json [22:50:18] [22:50:18]POST finish read [22:50:18]Found Content-Length = 1748 [22:50:18]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)73321", "tax_sys" : 0, "items" : [ { "code": "2000032780025", "name": "\u0421\u043E\u0441\u0438\u0441\u043A\u0430 \u0432 \u0442\u0435\u0441\u0442\u0435 DC 110\u0433", "price" : 60.00, "quantity" : 2.000, "sum" : 120.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000032780015", "name": "\u0421\u043B\u043E\u0439\u043A\u0430 DC \u0442\u0440\u0435\u0443\u0433\u043E\u043B\u044C\u043D\u0430\u044F \u043A\u0443\u0440\u0438\u0446\u0430 110\u0433", "price" : 65.00, "quantity" : 2.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4607969940024", "name": "Bizon \u044D\u043D\u0435\u0440. \u043D\u0430\u043F\u0438\u0442\u043E\u043A Black", "price" : 85.00, "quantity" : 1.000, "sum" : 85.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870202521292", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u0421\u043E\u043A \u0431\u0435\u0440\u0435\u0437\u044B 1,2\u043B", "price" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48743587", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Silver", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 600.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:50:18]execute_script... [22:50:18]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)73321", "tax_sys" : 0, "items" : [ { "code": "2000032780025", "name": "\u0421\u043E\u0441\u0438\u0441\u043A\u0430 \u0432 \u0442\u0435\u0441\u0442\u0435 DC 110\u0433", "price" : 60.00, "quantity" : 2.000, "sum" : 120.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000032780015", "name": "\u0421\u043B\u043E\u0439\u043A\u0430 DC \u0442\u0440\u0435\u0443\u0433\u043E\u043B\u044C\u043D\u0430\u044F \u043A\u0443\u0440\u0438\u0446\u0430 110\u0433", "price" : 65.00, "quantity" : 2.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4607969940024", "name": "Bizon \u044D\u043D\u0435\u0440. \u043D\u0430\u043F\u0438\u0442\u043E\u043A Black", "price" : 85.00, "quantity" : 1.000, "sum" : 85.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870202521292", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u0421\u043E\u043A \u0431\u0435\u0440\u0435\u0437\u044B 1,2\u043B", "price" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48743587", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Silver", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 600.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:50:18]POST & json_proto [22:50:18]process_json_proto [22:50:18]json parsed OK: [22:50:18]protocol is kg_v1.0 [22:50:18]action value=close_receipt [22:50:18]process_action close_receipt [22:50:18]cmd_close_receipt [22:50:18]MH_GetDate [22:50:18]Write to MH i2c: F0 00 00 DA 04 CD [22:50:18]Write i2c OK [22:50:18]MH_I2C_Read... [22:50:18]Read from MH i2c: F0 [22:50:18]MH_I2C_Read... [22:50:18]Read from MH i2c: F0 09 00 [22:50:18]MH_I2C_Read... [22:50:18]Read from MH i2c: F0 09 00 DA 04 00 2B F7 5C 66 6A 96 4A 66 6A [22:50:18]GetLastDocTimeStamp 1717367973 [22:50:18]current date 1717368619 [22:50:18]FM_GetShiftState [22:50:18]SAM_PROTO_GetShiftState [22:50:18]wFMCommunicate request_size=4 [22:50:18]MH_SAM_APDU [22:50:18]CAPDU: 80 13 01 00 [22:50:18]Write to MH i2c: E2 08 00 DB 04 80 13 01 00 00 00 00 00 5C [22:50:18]Write i2c OK [22:50:18]MH_I2C_Read... [22:50:18]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:50:18]Read from MH i2c: E2 [22:50:18]MH_I2C_Read... [22:50:18]Read from MH i2c: E2 0E 00 [22:50:18]MH_I2C_Read... [22:50:18]Read from MH i2c: E2 0E 00 DB 04 00 09 00 01 76 BD 5B 66 00 00 00 00 90 00 5C [22:50:18]RAPDU: 09 00 01 76 BD 5B 66 00 00 00 00 90 00 [22:50:18]wFMCommunicate OK [22:50:18]SAM_PROTO_GetShiftState done [22:50:18]FM_GetShiftState done [22:50:18]opened in 1717288310 [22:50:18]opened+sec_in_day 1717374710 [22:50:18]quantity*price = 12000 [22:50:18]sum+1 = 12001 [22:50:18]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 2000032780015 Слойка DC треугольная курица 110г 2.000 * 65.00 = 130.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4607969940024 Bizon энер. напиток Black 1.000 * 85.00 = 85.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4870202521292 Напиток Сок березы 1,2л 1.000 * 125.00 = 125.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 48743587 Сигареты Winston XStyle Silver 1.000 * 140.00 = 140.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 600.00 НСП 1% : 5.31 НДС 12% : 63.71 Наличными: 600.00 Безнал.: 0.00 Место: АЗС № 117 "Партнер Нефть" Адрес: 720001, г. Каракол, ул. Прежевальского 101/1 (кольцо), 42.500140, 78.386597 СНО: Общий режим Чек 118 02.06.2024 22:50 Смена: 372 ФФД: 1.0 ЗНМ: 0300000031 РНМ: 0000000000092737 Версия ККМ: 001 ФМ: 0000000000875074 ФД: 63730 ФПД: 37746337064587 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240602T225019&type=1&operation_type=1&fn_number=0000000000875074&fd_number=63730&fm=37746337064587&tin=02508201610067®Number=0000000000092737&sum=60000 0 [22:50:19]StoreToDocumentArchive [22:50:19]shift 372 fd 63730 [22:50:19]save to /storage/0372/doc_00063730 [22:50:19]save last doc name /storage/0372/doc_00063730 to /storage/kkm_last_doc_name [22:50:19]save OK [22:50:19]Clear old archive folders... [22:50:19]ProcessDocumentItem done err = 0, tmpTLVsize=733 [22:50:19]tlvbuf is 00BF3480 [22:50:19]SAM_PROTO_ClearQueue [22:50:19]wFMCommunicate request_size=4 [22:50:19]MH_SAM_APDU [22:50:19]CAPDU: 80 09 00 00 [22:50:19]Write to MH i2c: E2 08 00 E8 04 80 09 00 00 00 00 00 00 5E [22:50:19]Write i2c OK [22:50:19]MH_I2C_Read... [22:50:19]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:50:19]Read from MH i2c: E2 [22:50:19]MH_I2C_Read... [22:50:19]Read from MH i2c: E2 03 00 [22:50:19]MH_I2C_Read... [22:50:19]Read from MH i2c: E2 03 00 E8 04 00 90 00 60 [22:50:19]RAPDU: 90 00 [22:50:19]wFMCommunicate OK [22:50:19]SAM_PROTO_ClearQueue done [22:50:19]KKMCreateOFDPacket [22:50:19]OFDProtocolAddRootSTLVToBuf [22:50:19]FM_MakeSignedData [22:50:19]FM_MakeSignedData [22:50:19]SAM_PROTO_SignData [22:50:19]wFMCommunicate request_size=4 [22:50:19]MH_SAM_APDU [22:50:19]CAPDU: 80 0D 01 02 [22:50:19]Write to MH i2c: E2 08 00 E9 04 80 0D 01 02 00 00 00 00 66 [22:50:19]Write i2c OK [22:50:19]MH_I2C_Read... [22:50:19]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:50:19]Read from MH i2c: E2 [22:50:19]MH_I2C_Read... [22:50:19]Read from MH i2c: E2 03 00 [22:50:19]MH_I2C_Read... [22:50:19]Read from MH i2c: E2 03 00 E9 04 00 90 00 61 [22:50:19]RAPDU: 90 00 [22:50:19]wFMCommunicate OK [22:50:19]wFMCommunicate request_size=255 [22:50:19]MH_SAM_APDU [22:50:19]CAPDU: 80 0D 02 02 FA 03 00 DD 02 1E 04 01 00 01 23 04 69 00 8A 04 0D 00 32 30 30 30 30 33 32 37 38 30 30 32 35 06 04 25 00 D0 A1 D0 BE D1 81 D0 B8 D1 81 D0 BA D0 B0 20 D0 B2 20 D1 82 D0 B5 D1 81 D1 82 D0 B5 20 44 43 20 31 31 30 D0 B3 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7D 00 8A 04 0D 00 32 30 30 30 30 33 32 37 38 30 30 31 35 06 04 39 00 D0 A1 D0 BB D0 BE D0 B9 D0 BA D0 B0 20 44 43 20 D1 82 D1 80 D0 B5 D1 83 D0 B3 D0 BE D0 BB D1 8C D0 BD D0 B0 D1 8F 20 D0 BA D1 83 D1 80 D0 B8 D1 86 D0 B0 20 31 31 30 D0 B3 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 68 [22:50:19]Write to MH i2c: E2 02 01 EA 04 80 0D 02 02 FA 00 03 00 DD 02 1E 04 01 00 01 23 04 69 00 8A 04 0D 00 32 30 30 30 30 33 32 37 38 30 30 32 35 06 04 25 00 D0 A1 D0 BE D1 81 D0 B8 D1 81 D0 BA D0 B0 20 D0 B2 20 D1 82 D0 B5 D1 81 D1 82 D0 B5 20 44 43 20 31 31 30 D0 B3 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7D 00 8A 04 0D 00 32 30 30 30 30 33 32 37 38 30 30 31 35 06 04 39 00 D0 A1 D0 BB D0 BE D0 B9 D0 BA D0 B0 20 44 43 20 D1 82 D1 80 D0 B5 D1 83 D0 B3 D0 BE D0 BB D1 8C D0 BD D0 B0 D1 8F 20 D0 BA D1 83 D1 80 D0 B8 D1 86 D0 B0 20 31 31 30 D0 B3 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 68 00 00 5E [22:50:19]Write i2c OK [22:50:19]MH_I2C_Read... [22:50:20]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:50:20]Read from MH i2c: E2 [22:50:20]MH_I2C_Read... [22:50:20]Read from MH i2c: E2 03 00 [22:50:20]MH_I2C_Read... [22:50:20]Read from MH i2c: E2 03 00 EA 04 00 90 00 62 [22:50:20]RAPDU: 90 00 [22:50:20]wFMCommunicate OK [22:50:20]wFMCommunicate request_size=255 [22:50:20]MH_SAM_APDU [22:50:20]CAPDU: 80 0D 02 02 FA 00 8A 04 0D 00 34 36 30 37 39 36 39 39 34 30 30 32 34 06 04 24 00 42 69 7A 6F 6E 20 D1 8D D0 BD D0 B5 D1 80 2E 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 42 6C 61 63 6B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6C 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 39 32 06 04 28 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A1 D0 BE D0 BA 20 D0 B1 D0 B5 D1 80 D0 B5 D0 B7 D1 8B 20 31 2C 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 [22:50:20]Write to MH i2c: E2 02 01 EB 04 80 0D 02 02 FA 00 00 8A 04 0D 00 34 36 30 37 39 36 39 39 34 30 30 32 34 06 04 24 00 42 69 7A 6F 6E 20 D1 8D D0 BD D0 B5 D1 80 2E 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 42 6C 61 63 6B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6C 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 39 32 06 04 28 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A1 D0 BE D0 BA 20 D0 B1 D0 B5 D1 80 D0 B5 D0 B7 D1 8B 20 31 2C 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 00 00 26 [22:50:20]Write i2c OK [22:50:20]MH_I2C_Read... [22:50:20]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:50:20]Read from MH i2c: E2 [22:50:20]MH_I2C_Read... [22:50:20]Read from MH i2c: E2 03 00 [22:50:20]MH_I2C_Read... [22:50:20]Read from MH i2c: E2 03 00 EB 04 00 90 00 63 [22:50:20]RAPDU: 90 00 [22:50:20]wFMCommunicate OK [22:50:20]wFMCommunicate request_size=242 [22:50:20]MH_SAM_APDU [22:50:20]CAPDU: 80 0D 02 02 ED 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 60 EA 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 13 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E3 18 00 00 00 00 07 04 06 00 60 EA 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 76 00 00 00 F4 03 04 00 2B F7 5C 66 0E 04 04 00 74 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 10 04 04 00 F2 F8 00 00 35 04 06 00 22 54 81 03 26 8B [22:50:20]Write to MH i2c: E2 F5 00 EC 04 80 0D 02 02 ED 00 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 60 EA 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 13 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E3 18 00 00 00 00 07 04 06 00 60 EA 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 76 00 00 00 F4 03 04 00 2B F7 5C 66 0E 04 04 00 74 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 10 04 04 00 F2 F8 00 00 35 04 06 00 22 54 81 03 26 8B 00 00 74 [22:50:20]Write i2c OK [22:50:20]MH_I2C_Read... [22:50:20]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:50:20]Read from MH i2c: E2 [22:50:20]MH_I2C_Read... [22:50:20]Read from MH i2c: E2 03 00 [22:50:20]MH_I2C_Read... [22:50:20]Read from MH i2c: E2 03 00 EC 04 00 90 00 64 [22:50:20]RAPDU: 90 00 [22:50:20]wFMCommunicate OK [22:50:20]wFMCommunicate request_size=4 [22:50:20]MH_SAM_APDU [22:50:20]CAPDU: 80 0D 03 02 [22:50:20]Write to MH i2c: E2 08 00 ED 04 80 0D 03 02 00 00 00 00 6C [22:50:20]Write i2c OK [22:50:20]MH_I2C_Read... [22:50:20]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:50:20]Read from MH i2c: E2 [22:50:20]MH_I2C_Read... [22:50:20]Read from MH i2c: E2 0B 00 [22:50:20]MH_I2C_Read... [22:50:20]Read from MH i2c: E2 0B 00 ED 04 00 9D F2 39 CB 96 28 85 A2 90 00 E5 [22:50:20]RAPDU: 9D F2 39 CB 96 28 85 A2 90 00 [22:50:20]wFMCommunicate OK [22:50:20]SAM_PROTO_SignData done [22:50:20]FM_MakeSignedData done [22:50:20]CreateOFDProtocolMessage [22:50:20]wFMCommunicate request_size=4 [22:50:20]MH_SAM_APDU [22:50:20]CAPDU: 80 11 00 00 [22:50:20]Write to MH i2c: E2 08 00 EE 04 80 11 00 00 00 00 00 00 6C [22:50:20]Write i2c OK [22:50:20]MH_I2C_Read... [22:50:20]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:50:20]Read from MH i2c: E2 [22:50:20]MH_I2C_Read... [22:50:20]Read from MH i2c: E2 17 00 [22:50:20]MH_I2C_Read... [22:50:20]Read from MH i2c: E2 17 00 EE 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 90 00 BE [22:50:20]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 90 00 [22:50:20]wFMCommunicate OK [22:50:20]CreateOFDProtocolMessage done [22:50:20]OFDSenderStorePacket 63730 [22:50:20]StoreOFDPacket docnum=63730 [22:50:21]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 F1 02 00 00 61 69 E9 02 A0 A0 5A 03 01 00 03 00 DD 02 1E 04 01 00 01 23 04 69 00 8A 04 0D 00 32 30 30 30 30 33 32 37 38 30 30 32 35 06 04 25 00 D0 A1 D0 BE D1 81 D0 B8 D1 81 D0 BA D0 B0 20 D0 B2 20 D1 82 D0 B5 D1 81 D1 82 D0 B5 20 44 43 20 31 31 30 D0 B3 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7D 00 8A 04 0D 00 32 30 30 30 30 33 32 37 38 30 30 31 35 06 04 39 00 D0 A1 D0 BB D0 BE D0 B9 D0 BA D0 B0 20 44 43 20 D1 82 D1 80 D0 B5 D1 83 D0 B3 D0 BE D0 BB D1 8C D0 BD D0 B0 D1 8F 20 D0 BA D1 83 D1 80 D0 B8 D1 86 D0 B0 20 31 31 30 D0 B3 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 68 00 8A 04 0D 00 34 36 30 37 39 36 39 39 34 30 30 32 34 06 04 24 00 42 69 7A 6F 6E 20 D1 8D D0 BD D0 B5 D1 80 2E 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 42 6C 61 63 6B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6C 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 39 32 06 04 28 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A1 D0 BE D0 BA 20 D0 B1 D0 B5 D1 80 D0 B5 D0 B7 D1 8B 20 31 2C 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 60 EA 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 13 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E3 18 00 00 00 00 07 04 06 00 60 EA 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 76 00 00 00 F4 03 04 00 2B F7 5C 66 0E 04 04 00 74 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 10 04 04 00 F2 F8 00 00 35 04 06 00 22 54 81 03 26 8B 9D F2 39 CB 96 28 85 A2 [22:50:21]CheckFolder [22:50:21]dirname=/storage/ofd_packets [22:50:21]CheckFolder done [22:50:21]ProducePacketName [22:50:21]name=ofd_packets/00063730 [22:50:21]NVStorageSaveData ofd_packets/00063730 [22:50:21]File name is /storage/ofd_packets/00063730 [22:50:21]Write 783 bytes [22:50:21]NVStorageSaveData done [22:50:21]OFDSenderStorePacket done [22:50:21]KKMCreateOFDPacket done [22:50:21]NVStorageSaveData kkm_last_timestamp [22:50:21]File name is /storage/kkm_last_timestamp [22:50:21]Write 4 bytes [22:50:21]NVStorageSaveData done [22:50:21]ExternCall_PrintAddStr [22:50:21]wPrintStart [22:50:21]Write to MH i2c: 01 00 00 EF 04 F3 [22:50:21]Write i2c OK [22:50:21]MH_I2C_Read... [22:50:21]Read from MH i2c: 01 [22:50:21]MH_I2C_Read... [22:50:21]Read from MH i2c: 01 07 00 [22:50:21]MH_I2C_Read... [22:50:21]Read from MH i2c: 01 07 00 EF 04 00 00 00 00 00 FF 0F 08 [22:50:21]RasterBufferAndPrint [22:50:21]line Счет N : (3)73321 [22:50:21]line ИНН: 02508201610067 [22:50:21]line Контрольно-Кассовый Чек [22:50:21]line ПРОДАЖА [22:50:21]line Товар: 2000032780025 [22:50:21]line Сосиска в тесте DC 110г [22:50:21]line 2.000 * 60.00 [22:50:21]line = 120.00 [22:50:21]line НДС 12% НСП 1% [22:50:21]line > о реализуемом товаре [22:50:21]line Товар: 2000032780015 [22:50:21]line Слойка DC треугольная курица 110г [22:50:21]line 2.000 * 65.00 [22:50:21]line = 130.00 [22:50:21]line НДС 12% НСП 1% [22:50:21]line > о реализуемом товаре [22:50:21]line Товар: 4607969940024 [22:50:21]line Bizon энер. напиток Black [22:50:21]line 1.000 * 85.00 [22:50:21]line = 85.00 [22:50:21]line НДС 12% НСП 1% [22:50:21]line > о реализуемом товаре [22:50:21]line Товар: 4870202521292 [22:50:21]line Напиток Сок березы 1,2л [22:50:21]line 1.000 * 125.00 [22:50:21]line = 125.00 [22:50:21]line НДС 12% НСП 1% [22:50:21]line > о реализуемом товаре [22:50:21]line Товар: 48743587 [22:50:21]line Сигареты Winston XStyle Silver [22:50:21]line 1.000 * 140.00 [22:50:21]line = 140.00 [22:50:21]line НДС 12% НСП 1% [22:50:21]line > о реализуемом товаре [22:50:21]line ИТОГО: 600.00 [22:50:21]line НСП 1% : 5.31 [22:50:21]line НДС 12% : 63.71 [22:50:21]line Наличными: 600.00 [22:50:21]line Безнал.: 0.00 [22:50:21]line Место: АЗС № 117 "Партнер Нефть" [22:50:21]line Адрес: 720001, г. Каракол, ул. Прежевальского 101/1 (кольцо), 42.500140, 78.386597 [22:50:21]line СНО: Общий режим [22:50:21]line Чек 118 02.06.2024 22:50 [22:50:21]line Смена: 372 ФФД: 1.0 [22:50:21]line ЗНМ: 0300000031 [22:50:21]line РНМ: 0000000000092737 [22:50:21]line Версия ККМ: 001 [22:50:21]line ФМ: 0000000000875074 [22:50:21]line ФД: 63730 [22:50:21]line ФПД: 37746337064587 [22:50:21]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240602T225019&type=1&operation_type=1&fn_number=0000000000875074&fd_number=63730&fm=37746337064587&tin=02508201610067®Number=0000000000092737&sum=60000 [22:50:21]line 0 [22:50:21]OFD Sender: Processing packet 63730 [packets to send 14, broken 13] [22:50:21]ProducePacketName [22:50:21]name=ofd_packets/00063730 [22:50:21]OFD Sender: To server: pG, [22:50:21]CommunicateWithHost lk.salyk.kg:30040 [22:50:21]ConnectInit lk.salyk.kg [22:50:21]written 0, free lines is 4095 [22:50:21]Connected sock=10 [22:50:21]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 F1 02 00 00 61 69 E9 02 A0 A0 5A 03 01 00 03 00 DD 02 1E 04 01 00 01 23 04 69 00 8A 04 0D 00 32 30 30 30 30 33 32 37 38 30 30 32 35 06 04 25 00 D0 A1 D0 BE D1 81 D0 B8 D1 81 D0 BA D0 B0 20 D0 B2 20 D1 82 D0 B5 D1 81 D1 82 D0 B5 20 44 43 20 31 31 30 D0 B3 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7D 00 8A 04 0D 00 32 30 30 30 30 33 32 37 38 30 30 31 35 06 04 39 00 D0 A1 D0 BB D0 BE D0 B9 D0 BA D0 B0 20 44 43 20 D1 82 D1 80 D0 B5 D1 83 D0 B3 D0 BE D0 BB D1 8C D0 BD D0 B0 D1 8F 20 D0 BA D1 83 D1 80 D0 B8 D1 86 D0 B0 20 31 31 30 D0 B3 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 68 00 8A 04 0D 00 34 36 30 37 39 36 39 39 34 30 30 32 34 06 04 24 00 42 69 7A 6F 6E 20 D1 8D D0 BD D0 B5 D1 80 2E 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 42 6C 61 63 6B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6C 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 39 32 06 04 28 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A1 D0 BE D0 BA 20 D0 B1 D0 B5 D1 80 D0 B5 D0 B7 D1 8B 20 31 2C 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 60 EA 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 13 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E3 18 00 00 00 00 07 04 06 00 60 EA 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 76 00 00 00 F4 03 04 00 2B F7 5C 66 0E 04 04 00 74 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 10 04 04 00 F2 F8 00 00 35 04 06 00 22 54 81 03 26 8B 9D F2 39 CB 96 28 85 A2 [22:50:21]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 4F 00 00 00 C7 D5 47 00 29 04 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 10 04 04 00 F2 F8 00 00 F4 03 04 00 FF A2 5C 66 B6 04 01 00 00 09 79 AC D5 C0 B4 A6 A4 [22:50:21]CommunicateWithHost err = 0 [22:50:21]CheckOFDResponse [22:50:21]1017 (14) - 77093643461234 [22:50:21]1041 (16) - 0000000000875074 [22:50:21]1040 (4) - 63730 [22:50:21]1012 (4) - 02.06.2024 16:51 [22:50:21]1206 (1) - 0 [22:50:21]OFD Sender: Remove packet 63730 [22:50:21]ProducePacketName [22:50:21]name=ofd_packets/00063730 [22:50:21]NVStorageDeleteData [22:50:21]Write to MH i2c: 01 00 00 31 05 36 [22:50:21]Write i2c OK [22:50:21]MH_I2C_Read... [22:50:21]Read from MH i2c: 01 [22:50:21]MH_I2C_Read... [22:50:21]Read from MH i2c: 01 07 00 [22:50:21]MH_I2C_Read... [22:50:21]Read from MH i2c: 01 07 00 31 05 00 00 00 00 00 6A 0B B2 [22:50:21]RasterBufferAndPrint [22:50:21]line [22:50:21]line [22:50:21]line [22:50:21]line [22:50:21]line [22:50:21]written 0, free lines is 2929 [22:50:21]MH_Cut [22:50:21]Write to MH i2c: D1 01 00 38 05 01 0F [22:50:21]Write i2c OK [22:50:21]MH_I2C_Read... [22:50:21]Read from MH i2c: D1 [22:50:21]MH_I2C_Read... [22:50:21]Read from MH i2c: D1 01 00 [22:50:21]MH_I2C_Read... [22:50:21]Read from MH i2c: D1 01 00 38 05 00 0E [22:50:21]Write to MH i2c: 01 00 00 39 05 3E [22:50:21]Write i2c OK [22:50:21]MH_I2C_Read... [22:50:22]OFD Sender: No OFD packet to send [22:50:22]*** Cut start [22:50:22]*** Partial cut [22:50:22]*** CUTSNS_PIN = 1 [22:50:22]*** CUTSNS_PIN = 0 [22:50:23]*** Brake cut motor [22:50:23]Read from MH i2c: 01 [22:50:23]MH_I2C_Read... [22:50:23]*** Stop cut motor [22:50:23]*** Cut end [22:50:23]Read from MH i2c: 01 07 00 [22:50:23]MH_I2C_Read... [22:50:23]Read from MH i2c: 01 07 00 39 05 00 00 00 00 00 FF 0F 53 [22:50:23]process_action close_receipt done [22:50:23]requested_data is exist [22:50:23]produce_requested_data [22:50:23]requested_item fm.sn is exist - process it [22:50:23]wFMCommunicate request_size=4 [22:50:23]MH_SAM_APDU [22:50:23]CAPDU: 80 11 00 00 [22:50:23]Write to MH i2c: E2 08 00 3A 05 80 11 00 00 00 00 00 00 B9 [22:50:23]Write i2c OK [22:50:23]MH_I2C_Read... [22:50:23]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:50:23]Read from MH i2c: E2 [22:50:23]MH_I2C_Read... [22:50:23]Read from MH i2c: E2 17 00 [22:50:23]MH_I2C_Read... [22:50:23]Read from MH i2c: E2 17 00 3A 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 90 00 0B [22:50:23]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 90 00 [22:50:23]wFMCommunicate OK [22:50:23]requested_item fd.num is exist - process it [22:50:23]SAM_PROTO_GetFieldsCounters [22:50:23]wFMCommunicate request_size=4 [22:50:23]MH_SAM_APDU [22:50:23]CAPDU: 80 13 00 00 [22:50:23]Write to MH i2c: E2 08 00 3B 05 80 13 00 00 00 00 00 00 BC [22:50:23]Write i2c OK [22:50:23]MH_I2C_Read... [22:50:23]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:50:23]Read from MH i2c: E2 [22:50:23]MH_I2C_Read... [22:50:23]Read from MH i2c: E2 62 00 [22:50:23]MH_I2C_Read... [22:50:23]Read from MH i2c: E2 62 00 3B 05 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 33 37 10 04 04 00 F2 F8 00 00 0E 04 04 00 74 01 00 00 12 04 04 00 76 00 00 00 5E 04 04 00 76 00 00 00 57 04 04 00 77 00 00 00 19 04 04 00 00 00 00 00 90 00 A0 [22:50:23]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 33 37 10 04 04 00 F2 F8 00 00 0E 04 04 00 74 01 00 00 12 04 04 00 76 00 00 00 5E 04 04 00 76 00 00 00 57 04 04 00 77 00 00 00 19 04 04 00 00 00 00 00 90 00 [22:50:23]wFMCommunicate OK [22:50:23]SAM_PROTO_GetFieldsCounters done [22:50:23]requested_item shift.num is exist - process it [22:50:23]requested_item shift.opened is exist - process it [22:50:23]req_shift_opened [22:50:23]FM_GetShiftState [22:50:23]SAM_PROTO_GetShiftState [22:50:23]wFMCommunicate request_size=4 [22:50:23]MH_SAM_APDU [22:50:23]CAPDU: 80 13 01 00 [22:50:23]Write to MH i2c: E2 08 00 3C 05 80 13 01 00 00 00 00 00 BE [22:50:23]Write i2c OK [22:50:23]MH_I2C_Read... [22:50:23]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:50:23]Read from MH i2c: E2 [22:50:23]MH_I2C_Read... [22:50:23]Read from MH i2c: E2 0E 00 [22:50:23]MH_I2C_Read... [22:50:23]Read from MH i2c: E2 0E 00 3C 05 00 09 00 01 76 BD 5B 66 00 00 00 00 90 00 BE [22:50:23]RAPDU: 09 00 01 76 BD 5B 66 00 00 00 00 90 00 [22:50:23]wFMCommunicate OK [22:50:23]SAM_PROTO_GetShiftState done [22:50:23]FM_GetShiftState done [22:50:23]req_shift_opened done [22:50:23]requested_item shift.open_date is exist - process it [22:50:23]req_shift_open_date [22:50:23]req_shift_open_date done [22:50:23]produce_requested_data done [22:50:23]produce_requested_data return {"fm.sn":"0000000000875074","fd.num":63730,"shift.num":372,"shift.opened":1,"shift.open_date":1717288310} [22:50:23]process_action_free close_receipt [22:50:23]json_value_free [22:50:23]json_value_free done [22:50:23]process_json_proto returns [22:50:23]Send response to host [22:50:23]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875074","fd.num":63730,"shift.num":372,"shift.opened":1,"shift.open_date":1717288310}}} [22:50:23]free response buf [22:50:23]execute_script done [22:50:23]execute_script returns [22:50:23]free content buf [22:50:23]Sock 8.Close socket [22:50:23]Sock 8.Thread stoped [22:50:27]OFD Sender: No OFD packet to send [22:50:32]OFD Sender: No OFD packet to send [22:50:37]OFD Sender: No OFD packet to send [22:50:42]OFD Sender: No OFD packet to send [22:50:47]OFD Sender: No OFD packet to send [22:50:52]OFD Sender: No OFD packet to send [22:50:57]OFD Sender: No OFD packet to send [22:51:02]OFD Sender: No OFD packet to send [22:51:07]OFD Sender: No OFD packet to send [22:51:12]OFD Sender: No OFD packet to send [22:51:17]OFD Sender: No OFD packet to send [22:51:22]OFD Sender: No OFD packet to send [22:51:27]OFD Sender: No OFD packet to send [22:51:32]OFD Sender: No OFD packet to send [22:51:37]OFD Sender: No OFD packet to send [22:51:42]OFD Sender: No OFD packet to send [22:51:47]OFD Sender: No OFD packet to send [22:51:52]OFD Sender: No OFD packet to send [22:51:57]OFD Sender: No OFD packet to send [22:52:02]OFD Sender: No OFD packet to send [22:52:07]OFD Sender: No OFD packet to send [22:52:12]OFD Sender: No OFD packet to send [22:52:17]OFD Sender: No OFD packet to send [22:52:22]OFD Sender: No OFD packet to send [22:52:27]OFD Sender: No OFD packet to send [22:52:32]OFD Sender: No OFD packet to send [22:52:37]OFD Sender: No OFD packet to send [22:52:42]OFD Sender: No OFD packet to send [22:52:47]OFD Sender: No OFD packet to send [22:52:52]OFD Sender: No OFD packet to send [22:52:57]OFD Sender: No OFD packet to send [22:53:02]OFD Sender: No OFD packet to send [22:53:07]OFD Sender: No OFD packet to send [22:53:12]OFD Sender: No OFD packet to send [22:53:17]OFD Sender: No OFD packet to send [22:53:22]OFD Sender: No OFD packet to send [22:53:27]OFD Sender: No OFD packet to send [22:53:32]OFD Sender: No OFD packet to send [22:53:37]OFD Sender: No OFD packet to send [22:53:42]OFD Sender: No OFD packet to send [22:53:47]OFD Sender: No OFD packet to send [22:53:52]OFD Sender: No OFD packet to send [22:53:57]OFD Sender: No OFD packet to send [22:54:02]OFD Sender: No OFD packet to send [22:54:07]OFD Sender: No OFD packet to send [22:54:12]OFD Sender: No OFD packet to send [22:54:17]OFD Sender: No OFD packet to send [22:54:22]OFD Sender: No OFD packet to send [22:54:27]OFD Sender: No OFD packet to send [22:54:32]OFD Sender: No OFD packet to send [22:54:37]OFD Sender: No OFD packet to send [22:54:42]OFD Sender: No OFD packet to send [22:54:47]OFD Sender: No OFD packet to send [22:54:52]OFD Sender: No OFD packet to send [22:54:57]OFD Sender: No OFD packet to send [22:55:02]OFD Sender: No OFD packet to send [22:55:07]OFD Sender: No OFD packet to send [22:55:12]OFD Sender: No OFD packet to send [22:55:17]OFD Sender: No OFD packet to send [22:55:22]OFD Sender: No OFD packet to send [22:55:27]OFD Sender: No OFD packet to send [22:55:32]OFD Sender: No OFD packet to send [22:55:37]OFD Sender: No OFD packet to send [22:55:42]OFD Sender: No OFD packet to send [22:55:47]OFD Sender: No OFD packet to send [22:55:52]OFD Sender: No OFD packet to send [22:55:57]OFD Sender: No OFD packet to send [22:56:02]OFD Sender: No OFD packet to send [22:56:07]OFD Sender: No OFD packet to send [22:56:12]OFD Sender: No OFD packet to send [22:56:17]OFD Sender: No OFD packet to send [22:56:22]OFD Sender: No OFD packet to send [22:56:27]OFD Sender: No OFD packet to send [22:56:32]OFD Sender: No OFD packet to send [22:56:37]OFD Sender: No OFD packet to send [22:56:42]OFD Sender: No OFD packet to send [22:56:47]OFD Sender: No OFD packet to send [22:56:52]OFD Sender: No OFD packet to send [22:56:57]OFD Sender: No OFD packet to send [22:57:02]OFD Sender: No OFD packet to send [22:57:03]accept exits with 9 [22:57:03]New connection [22:57:03]New thread 3067272548 created [22:57:03]Thread 3067415908 joined [22:57:03]Waiting for new connection... [22:57:03] Sock 9.Parse request [22:57:03]Sock 9.Check first char [22:57:03]Sock 9.First char is OK [22:57:03]request: POST /json_proto HTTP/1.0 [22:57:03]Method: POST [22:57:03]URL: /json_proto [22:57:03]Method is POST - this is cgi request [22:57:03]url: /json_proto [22:57:03]query_string will be loaded in cgi processing [22:57:03]execute_cgi json_proto POST (null) [22:57:03]execute_cgi path=json_proto method=POST [22:57:03]POST find Content-Length [22:57:03]Host: 172.17.60.69:8080 [22:57:03]Content-Length: 881 [22:57:03]Content-Type: application/json [22:57:03] [22:57:03]POST finish read [22:57:03]Found Content-Length = 881 [22:57:03]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)73322", "tax_sys" : 0, "items" : [ { "code": "4640030091645", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange M", "price" : 138.00, "quantity" : 1.000, "sum" : 138.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000036210013", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E (GABB TRADE)", "price" : 115.00, "quantity" : 1.000, "sum" : 115.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 253.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:57:03]execute_script... [22:57:03]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)73322", "tax_sys" : 0, "items" : [ { "code": "4640030091645", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange M", "price" : 138.00, "quantity" : 1.000, "sum" : 138.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000036210013", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E (GABB TRADE)", "price" : 115.00, "quantity" : 1.000, "sum" : 115.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 253.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:57:03]POST & json_proto [22:57:03]process_json_proto [22:57:03]json parsed OK: [22:57:03]protocol is kg_v1.0 [22:57:03]action value=close_receipt [22:57:03]process_action close_receipt [22:57:03]cmd_close_receipt [22:57:03]MH_GetDate [22:57:03]Write to MH i2c: F0 00 00 3D 05 31 [22:57:03]Write i2c OK [22:57:03]MH_I2C_Read... [22:57:03]Read from MH i2c: F0 [22:57:03]MH_I2C_Read... [22:57:03]Read from MH i2c: F0 09 00 [22:57:03]MH_I2C_Read... [22:57:03]Read from MH i2c: F0 09 00 3D 05 00 C0 F8 5C 66 6A 96 4A 66 64 [22:57:03]GetLastDocTimeStamp 1717368619 [22:57:03]current date 1717369024 [22:57:03]FM_GetShiftState [22:57:03]SAM_PROTO_GetShiftState [22:57:03]wFMCommunicate request_size=4 [22:57:03]MH_SAM_APDU [22:57:03]CAPDU: 80 13 01 00 [22:57:03]Write to MH i2c: E2 08 00 3E 05 80 13 01 00 00 00 00 00 C0 [22:57:03]Write i2c OK [22:57:03]MH_I2C_Read... [22:57:03]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:57:03]Read from MH i2c: E2 [22:57:03]MH_I2C_Read... [22:57:03]Read from MH i2c: E2 0E 00 [22:57:03]MH_I2C_Read... [22:57:03]Read from MH i2c: E2 0E 00 3E 05 00 09 00 01 76 BD 5B 66 00 00 00 00 90 00 C0 [22:57:03]RAPDU: 09 00 01 76 BD 5B 66 00 00 00 00 90 00 [22:57:03]wFMCommunicate OK [22:57:03]SAM_PROTO_GetShiftState done [22:57:03]FM_GetShiftState done [22:57:03]opened in 1717288310 [22:57:03]opened+sec_in_day 1717374710 [22:57:03]quantity*price = 13800 [22:57:03]sum+1 = 13801 [22:57:03]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 2000036210013 Кофе Капучино (GABB TRADE) 1.000 * 115.00 = 115.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 253.00 НСП 1% : 2.24 НДС 12% : 26.86 Наличными: 253.00 Безнал.: 0.00 Место: АЗС № 117 "Партнер Нефть" Адрес: 720001, г. Каракол, ул. Прежевальского 101/1 (кольцо), 42.500140, 78.386597 СНО: Общий режим Чек 119 02.06.2024 22:57 Смена: 372 ФФД: 1.0 ЗНМ: 0300000031 РНМ: 0000000000092737 Версия ККМ: 001 ФМ: 0000000000875074 ФД: 63731 ФПД: 247985792081675 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240602T225704&type=1&operation_type=1&fn_number=0000000000875074&fd_number=63731&fm=247985792081675&tin=02508201610067®Number=0000000000092737&sum=25300 0 [22:57:04]StoreToDocumentArchive [22:57:04]shift 372 fd 63731 [22:57:04]save to /storage/0372/doc_00063731 [22:57:04]save last doc name /storage/0372/doc_00063731 to /storage/kkm_last_doc_name [22:57:04]save OK [22:57:04]Clear old archive folders... [22:57:04]ProcessDocumentItem done err = 0, tmpTLVsize=384 [22:57:04]tlvbuf is 00C0C0F0 [22:57:04]SAM_PROTO_ClearQueue [22:57:04]wFMCommunicate request_size=4 [22:57:04]MH_SAM_APDU [22:57:04]CAPDU: 80 09 00 00 [22:57:04]Write to MH i2c: E2 08 00 4B 05 80 09 00 00 00 00 00 00 C2 [22:57:04]Write i2c OK [22:57:04]MH_I2C_Read... [22:57:04]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:57:04]Read from MH i2c: E2 [22:57:04]MH_I2C_Read... [22:57:04]Read from MH i2c: E2 03 00 [22:57:04]MH_I2C_Read... [22:57:04]Read from MH i2c: E2 03 00 4B 05 00 90 00 C4 [22:57:04]RAPDU: 90 00 [22:57:04]wFMCommunicate OK [22:57:04]SAM_PROTO_ClearQueue done [22:57:04]KKMCreateOFDPacket [22:57:04]OFDProtocolAddRootSTLVToBuf [22:57:04]FM_MakeSignedData [22:57:04]FM_MakeSignedData [22:57:04]SAM_PROTO_SignData [22:57:04]wFMCommunicate request_size=4 [22:57:04]MH_SAM_APDU [22:57:04]CAPDU: 80 0D 01 02 [22:57:04]Write to MH i2c: E2 08 00 4C 05 80 0D 01 02 00 00 00 00 CA [22:57:04]Write i2c OK [22:57:04]MH_I2C_Read... [22:57:04]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:57:04]Read from MH i2c: E2 [22:57:04]MH_I2C_Read... [22:57:04]Read from MH i2c: E2 03 00 [22:57:04]MH_I2C_Read... [22:57:04]Read from MH i2c: E2 03 00 4C 05 00 90 00 C5 [22:57:04]RAPDU: 90 00 [22:57:04]wFMCommunicate OK [22:57:04]wFMCommunicate request_size=255 [22:57:04]MH_SAM_APDU [22:57:04]CAPDU: 80 0D 02 02 FA 03 00 80 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 34 35 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 4D FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 62 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 [22:57:04]Write to MH i2c: E2 02 01 4D 05 80 0D 02 02 FA 00 03 00 80 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 34 35 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 4D FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 62 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 00 00 42 [22:57:04]Write i2c OK [22:57:04]MH_I2C_Read... [22:57:05]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:57:05]Read from MH i2c: E2 [22:57:05]MH_I2C_Read... [22:57:05]Read from MH i2c: E2 03 00 [22:57:05]MH_I2C_Read... [22:57:05]Read from MH i2c: E2 03 00 4D 05 00 90 00 C6 [22:57:05]RAPDU: 90 00 [22:57:05]wFMCommunicate OK [22:57:05]wFMCommunicate request_size=143 [22:57:05]MH_SAM_APDU [22:57:05]CAPDU: 80 0D 02 02 8A E0 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7E 0A 00 00 00 00 07 04 06 00 D4 62 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 77 00 00 00 F4 03 04 00 C0 F8 5C 66 0E 04 04 00 74 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 10 04 04 00 F3 F8 00 00 35 04 06 00 E1 8A B1 0B DF 0B [22:57:05]Write to MH i2c: E2 92 00 4E 05 80 0D 02 02 8A 00 E0 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7E 0A 00 00 00 00 07 04 06 00 D4 62 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 77 00 00 00 F4 03 04 00 C0 F8 5C 66 0E 04 04 00 74 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 10 04 04 00 F3 F8 00 00 35 04 06 00 E1 8A B1 0B DF 0B 00 00 10 [22:57:05]Write i2c OK [22:57:05]MH_I2C_Read... [22:57:05]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:57:05]Read from MH i2c: E2 [22:57:05]MH_I2C_Read... [22:57:05]Read from MH i2c: E2 03 00 [22:57:05]MH_I2C_Read... [22:57:05]Read from MH i2c: E2 03 00 4E 05 00 90 00 C7 [22:57:05]RAPDU: 90 00 [22:57:05]wFMCommunicate OK [22:57:05]wFMCommunicate request_size=4 [22:57:05]MH_SAM_APDU [22:57:05]CAPDU: 80 0D 03 02 [22:57:05]Write to MH i2c: E2 08 00 4F 05 80 0D 03 02 00 00 00 00 CF [22:57:05]Write i2c OK [22:57:05]MH_I2C_Read... [22:57:05]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:57:05]Read from MH i2c: E2 [22:57:05]MH_I2C_Read... [22:57:05]Read from MH i2c: E2 0B 00 [22:57:05]MH_I2C_Read... [22:57:05]Read from MH i2c: E2 0B 00 4F 05 00 B5 DF D0 5D 2A D1 0D 52 90 00 EB [22:57:05]RAPDU: B5 DF D0 5D 2A D1 0D 52 90 00 [22:57:05]wFMCommunicate OK [22:57:05]SAM_PROTO_SignData done [22:57:05]FM_MakeSignedData done [22:57:05]CreateOFDProtocolMessage [22:57:05]wFMCommunicate request_size=4 [22:57:05]MH_SAM_APDU [22:57:05]CAPDU: 80 11 00 00 [22:57:05]Write to MH i2c: E2 08 00 50 05 80 11 00 00 00 00 00 00 CF [22:57:05]Write i2c OK [22:57:05]MH_I2C_Read... [22:57:05]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:57:05]Read from MH i2c: E2 [22:57:05]MH_I2C_Read... [22:57:05]Read from MH i2c: E2 17 00 [22:57:05]MH_I2C_Read... [22:57:05]Read from MH i2c: E2 17 00 50 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 90 00 21 [22:57:05]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 90 00 [22:57:05]wFMCommunicate OK [22:57:05]CreateOFDProtocolMessage done [22:57:05]OFDSenderStorePacket 63731 [22:57:05]StoreOFDPacket docnum=63731 [22:57:05]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 94 01 00 00 1D EA 8C 01 33 EB 5A 03 01 00 03 00 80 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 34 35 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 4D FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 62 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E0 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7E 0A 00 00 00 00 07 04 06 00 D4 62 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 77 00 00 00 F4 03 04 00 C0 F8 5C 66 0E 04 04 00 74 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 10 04 04 00 F3 F8 00 00 35 04 06 00 E1 8A B1 0B DF 0B B5 DF D0 5D 2A D1 0D 52 [22:57:05]CheckFolder [22:57:05]dirname=/storage/ofd_packets [22:57:05]CheckFolder done [22:57:05]ProducePacketName [22:57:05]name=ofd_packets/00063731 [22:57:05]NVStorageSaveData ofd_packets/00063731 [22:57:05]File name is /storage/ofd_packets/00063731 [22:57:05]Write 434 bytes [22:57:05]NVStorageSaveData done [22:57:05]OFDSenderStorePacket done [22:57:05]KKMCreateOFDPacket done [22:57:05]NVStorageSaveData kkm_last_timestamp [22:57:05]File name is /storage/kkm_last_timestamp [22:57:05]Write 4 bytes [22:57:05]NVStorageSaveData done [22:57:05]ExternCall_PrintAddStr [22:57:05]wPrintStart [22:57:05]Write to MH i2c: 01 00 00 51 05 56 [22:57:05]Write i2c OK [22:57:05]MH_I2C_Read... [22:57:05]Read from MH i2c: 01 [22:57:05]MH_I2C_Read... [22:57:05]Read from MH i2c: 01 07 00 [22:57:05]MH_I2C_Read... [22:57:05]Read from MH i2c: 01 07 00 51 05 00 00 00 00 00 FF 0F 6B [22:57:05]RasterBufferAndPrint [22:57:05]line Счет N : (3)73322 [22:57:05]line ИНН: 02508201610067 [22:57:05]line Контрольно-Кассовый Чек [22:57:05]line ПРОДАЖА [22:57:05]line Товар: 4640030091645 [22:57:05]line Сигареты ESSE Exchange M [22:57:05]line 1.000 * 138.00 [22:57:05]line = 138.00 [22:57:05]line НДС 12% НСП 1% [22:57:05]line > о реализуемом товаре [22:57:05]line Товар: 2000036210013 [22:57:05]line Кофе Капучино (GABB TRADE) [22:57:05]line 1.000 * 115.00 [22:57:05]line = 115.00 [22:57:05]line НДС 12% НСП 1% [22:57:05]line > о реализуемом товаре [22:57:05]line ИТОГО: 253.00 [22:57:05]line НСП 1% : 2.24 [22:57:05]line НДС 12% : 26.86 [22:57:05]line Наличными: 253.00 [22:57:05]line Безнал.: 0.00 [22:57:05]line Место: АЗС № 117 "Партнер Нефть" [22:57:05]line Адрес: 720001, г. Каракол, ул. Прежевальского 101/1 (кольцо), 42.500140, 78.386597 [22:57:05]line СНО: Общий режим [22:57:05]line Чек 119 02.06.2024 22:57 [22:57:05]line Смена: 372 ФФД: 1.0 [22:57:05]line ЗНМ: 0300000031 [22:57:05]line РНМ: 0000000000092737 [22:57:05]line Версия ККМ: 001 [22:57:05]line ФМ: 0000000000875074 [22:57:05]line ФД: 63731 [22:57:05]line ФПД: 247985792081675 [22:57:05]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240602T225704&type=1&operation_type=1&fn_number=0000000000875074&fd_number=63731&fm=247985792081675&tin=02508201610067®Number=0000000000092737&sum=25300 [22:57:05]line 0 [22:57:05]OFD Sender: Processing packet 63731 [packets to send 14, broken 13] [22:57:05]ProducePacketName [22:57:05]name=ofd_packets/00063731 [22:57:05]OFD Sender: To server: pG, [22:57:05]CommunicateWithHost lk.salyk.kg:30040 [22:57:05]ConnectInit lk.salyk.kg [22:57:05]written 0, free lines is 4095 [22:57:05]Connected sock=11 [22:57:05]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 94 01 00 00 1D EA 8C 01 33 EB 5A 03 01 00 03 00 80 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 34 35 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 4D FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 62 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E0 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7E 0A 00 00 00 00 07 04 06 00 D4 62 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 77 00 00 00 F4 03 04 00 C0 F8 5C 66 0E 04 04 00 74 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 10 04 04 00 F3 F8 00 00 35 04 06 00 E1 8A B1 0B DF 0B B5 DF D0 5D 2A D1 0D 52 [22:57:05]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 4F 00 00 00 FE B3 47 00 7C 9D A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 10 04 04 00 F3 F8 00 00 F4 03 04 00 93 A4 5C 66 B6 04 01 00 00 99 01 C5 07 76 F6 5B DD [22:57:05]CommunicateWithHost err = 0 [22:57:05]CheckOFDResponse [22:57:05]1017 (14) - 77093643461234 [22:57:05]1041 (16) - 0000000000875074 [22:57:05]1040 (4) - 63731 [22:57:05]1012 (4) - 02.06.2024 16:57 [22:57:05]1206 (1) - 0 [22:57:05]OFD Sender: Remove packet 63731 [22:57:05]ProducePacketName [22:57:05]name=ofd_packets/00063731 [22:57:05]NVStorageDeleteData [22:57:06]Write to MH i2c: 01 00 00 7F 05 84 [22:57:06]Write i2c OK [22:57:06]MH_I2C_Read... [22:57:06]Read from MH i2c: 01 [22:57:06]MH_I2C_Read... [22:57:06]Read from MH i2c: 01 07 00 [22:57:06]MH_I2C_Read... [22:57:06]Read from MH i2c: 01 07 00 7F 05 00 00 00 00 00 AD 0C 44 [22:57:06]RasterBufferAndPrint [22:57:06]line [22:57:06]line [22:57:06]line [22:57:06]line [22:57:06]line [22:57:06]written 0, free lines is 3249 [22:57:06]MH_Cut [22:57:06]Write to MH i2c: D1 01 00 86 05 01 5D [22:57:06]Write i2c OK [22:57:06]MH_I2C_Read... [22:57:06]Read from MH i2c: D1 [22:57:06]MH_I2C_Read... [22:57:06]Read from MH i2c: D1 01 00 [22:57:06]MH_I2C_Read... [22:57:06]Read from MH i2c: D1 01 00 86 05 00 5C [22:57:06]Write to MH i2c: 01 00 00 87 05 8C [22:57:06]Write i2c OK [22:57:06]MH_I2C_Read... [22:57:06]OFD Sender: No OFD packet to send [22:57:06]*** Cut start [22:57:06]*** Partial cut [22:57:06]*** CUTSNS_PIN = 1 [22:57:07]*** CUTSNS_PIN = 0 [22:57:07]*** Brake cut motor [22:57:07]Read from MH i2c: 01 [22:57:07]MH_I2C_Read... [22:57:07]*** Stop cut motor [22:57:07]*** Cut end [22:57:07]Read from MH i2c: 01 07 00 [22:57:07]MH_I2C_Read... [22:57:07]Read from MH i2c: 01 07 00 87 05 00 00 00 00 00 FF 0F A1 [22:57:07]process_action close_receipt done [22:57:07]requested_data is exist [22:57:07]produce_requested_data [22:57:07]requested_item fm.sn is exist - process it [22:57:07]wFMCommunicate request_size=4 [22:57:07]MH_SAM_APDU [22:57:07]CAPDU: 80 11 00 00 [22:57:07]Write to MH i2c: E2 08 00 88 05 80 11 00 00 00 00 00 00 07 [22:57:07]Write i2c OK [22:57:07]MH_I2C_Read... [22:57:07]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:57:07]Read from MH i2c: E2 [22:57:07]MH_I2C_Read... [22:57:07]Read from MH i2c: E2 17 00 [22:57:07]MH_I2C_Read... [22:57:07]Read from MH i2c: E2 17 00 88 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 90 00 59 [22:57:07]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 90 00 [22:57:07]wFMCommunicate OK [22:57:07]requested_item fd.num is exist - process it [22:57:07]SAM_PROTO_GetFieldsCounters [22:57:07]wFMCommunicate request_size=4 [22:57:07]MH_SAM_APDU [22:57:07]CAPDU: 80 13 00 00 [22:57:07]Write to MH i2c: E2 08 00 89 05 80 13 00 00 00 00 00 00 0A [22:57:07]Write i2c OK [22:57:07]MH_I2C_Read... [22:57:07]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:57:07]Read from MH i2c: E2 [22:57:07]MH_I2C_Read... [22:57:07]Read from MH i2c: E2 62 00 [22:57:07]MH_I2C_Read... [22:57:07]Read from MH i2c: E2 62 00 89 05 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 33 37 10 04 04 00 F3 F8 00 00 0E 04 04 00 74 01 00 00 12 04 04 00 77 00 00 00 5E 04 04 00 77 00 00 00 57 04 04 00 78 00 00 00 19 04 04 00 00 00 00 00 90 00 F2 [22:57:07]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 33 37 10 04 04 00 F3 F8 00 00 0E 04 04 00 74 01 00 00 12 04 04 00 77 00 00 00 5E 04 04 00 77 00 00 00 57 04 04 00 78 00 00 00 19 04 04 00 00 00 00 00 90 00 [22:57:07]wFMCommunicate OK [22:57:07]SAM_PROTO_GetFieldsCounters done [22:57:07]requested_item shift.num is exist - process it [22:57:07]requested_item shift.opened is exist - process it [22:57:07]req_shift_opened [22:57:07]FM_GetShiftState [22:57:07]SAM_PROTO_GetShiftState [22:57:07]wFMCommunicate request_size=4 [22:57:07]MH_SAM_APDU [22:57:07]CAPDU: 80 13 01 00 [22:57:07]Write to MH i2c: E2 08 00 8A 05 80 13 01 00 00 00 00 00 0C [22:57:07]Write i2c OK [22:57:07]MH_I2C_Read... [22:57:07]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:57:07]Read from MH i2c: E2 [22:57:07]MH_I2C_Read... [22:57:07]Read from MH i2c: E2 0E 00 [22:57:07]MH_I2C_Read... [22:57:07]Read from MH i2c: E2 0E 00 8A 05 00 09 00 01 76 BD 5B 66 00 00 00 00 90 00 0C [22:57:07]RAPDU: 09 00 01 76 BD 5B 66 00 00 00 00 90 00 [22:57:07]wFMCommunicate OK [22:57:07]SAM_PROTO_GetShiftState done [22:57:07]FM_GetShiftState done [22:57:07]req_shift_opened done [22:57:07]requested_item shift.open_date is exist - process it [22:57:07]req_shift_open_date [22:57:07]req_shift_open_date done [22:57:07]produce_requested_data done [22:57:07]produce_requested_data return {"fm.sn":"0000000000875074","fd.num":63731,"shift.num":372,"shift.opened":1,"shift.open_date":1717288310} [22:57:07]process_action_free close_receipt [22:57:07]json_value_free [22:57:07]json_value_free done [22:57:07]process_json_proto returns [22:57:07]Send response to host [22:57:07]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875074","fd.num":63731,"shift.num":372,"shift.opened":1,"shift.open_date":1717288310}}} [22:57:07]free response buf [22:57:07]execute_script done [22:57:07]execute_script returns [22:57:07]free content buf [22:57:07]Sock 9.Close socket [22:57:07]Sock 9.Thread stoped [22:57:11]OFD Sender: No OFD packet to send [22:57:16]OFD Sender: No OFD packet to send [22:57:21]OFD Sender: No OFD packet to send [22:57:26]OFD Sender: No OFD packet to send [22:57:31]OFD Sender: No OFD packet to send [22:57:36]OFD Sender: No OFD packet to send [22:57:41]OFD Sender: No OFD packet to send [22:57:46]OFD Sender: No OFD packet to send [22:57:51]OFD Sender: No OFD packet to send [22:57:56]OFD Sender: No OFD packet to send [22:58:01]OFD Sender: No OFD packet to send [22:58:06]OFD Sender: No OFD packet to send [22:58:11]OFD Sender: No OFD packet to send [22:58:16]OFD Sender: No OFD packet to send [22:58:21]OFD Sender: No OFD packet to send [22:58:26]OFD Sender: No OFD packet to send [22:58:31]OFD Sender: No OFD packet to send [22:58:36]OFD Sender: No OFD packet to send [22:58:41]OFD Sender: No OFD packet to send [22:58:46]OFD Sender: No OFD packet to send [22:58:51]OFD Sender: No OFD packet to send [22:58:56]OFD Sender: No OFD packet to send [22:59:01]OFD Sender: No OFD packet to send [22:59:02]accept exits with 8 [22:59:02]New connection [22:59:02]New thread 3067415908 created [22:59:02]Thread 3067272548 joined [22:59:02]Waiting for new connection... [22:59:02] Sock 8.Parse request [22:59:02]Sock 8.Check first char [22:59:02]Sock 8.First char is OK [22:59:02]request: POST /json_proto HTTP/1.0 [22:59:02]Method: POST [22:59:02]URL: /json_proto [22:59:02]Method is POST - this is cgi request [22:59:02]url: /json_proto [22:59:02]query_string will be loaded in cgi processing [22:59:02]execute_cgi json_proto POST (null) [22:59:02]execute_cgi path=json_proto method=POST [22:59:02]POST find Content-Length [22:59:02]Host: 172.17.60.69:8080 [22:59:02]Content-Length: 656 [22:59:02]Content-Type: application/json [22:59:02] [22:59:02]POST finish read [22:59:02]Found Content-Length = 656 [22:59:02]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)73323", "tax_sys" : 0, "items" : [ { "code": "4700000481453", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u044D\u043D\u0435\u0440\u0433 Nitro Max 0,45 \u0436/\u0431", "price" : 85.00, "quantity" : 1.000, "sum" : 85.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 85.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:59:02]execute_script... [22:59:02]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)73323", "tax_sys" : 0, "items" : [ { "code": "4700000481453", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u044D\u043D\u0435\u0440\u0433 Nitro Max 0,45 \u0436/\u0431", "price" : 85.00, "quantity" : 1.000, "sum" : 85.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 85.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:59:02]POST & json_proto [22:59:02]process_json_proto [22:59:02]json parsed OK: [22:59:02]protocol is kg_v1.0 [22:59:02]action value=close_receipt [22:59:02]process_action close_receipt [22:59:02]cmd_close_receipt [22:59:02]MH_GetDate [22:59:02]Write to MH i2c: F0 00 00 8B 05 7F [22:59:02]Write i2c OK [22:59:02]MH_I2C_Read... [22:59:02]Read from MH i2c: F0 [22:59:02]MH_I2C_Read... [22:59:02]Read from MH i2c: F0 09 00 [22:59:02]MH_I2C_Read... [22:59:02]Read from MH i2c: F0 09 00 8B 05 00 37 F9 5C 66 6A 96 4A 66 2A [22:59:02]GetLastDocTimeStamp 1717369024 [22:59:02]current date 1717369143 [22:59:02]FM_GetShiftState [22:59:02]SAM_PROTO_GetShiftState [22:59:02]wFMCommunicate request_size=4 [22:59:02]MH_SAM_APDU [22:59:02]CAPDU: 80 13 01 00 [22:59:02]Write to MH i2c: E2 08 00 8C 05 80 13 01 00 00 00 00 00 0E [22:59:02]Write i2c OK [22:59:02]MH_I2C_Read... [22:59:02]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:59:02]Read from MH i2c: E2 [22:59:02]MH_I2C_Read... [22:59:02]Read from MH i2c: E2 0E 00 [22:59:02]MH_I2C_Read... [22:59:02]Read from MH i2c: E2 0E 00 8C 05 00 09 00 01 76 BD 5B 66 00 00 00 00 90 00 0E [22:59:02]RAPDU: 09 00 01 76 BD 5B 66 00 00 00 00 90 00 [22:59:02]wFMCommunicate OK [22:59:02]SAM_PROTO_GetShiftState done [22:59:02]FM_GetShiftState done [22:59:02]opened in 1717288310 [22:59:02]opened+sec_in_day 1717374710 [22:59:02]quantity*price = 8500 [22:59:02]sum+1 = 8501 [22:59:02]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 85.00 НСП 1% : 0.75 НДС 12% : 9.03 Наличными: 85.00 Безнал.: 0.00 Место: АЗС № 117 "Партнер Нефть" Адрес: 720001, г. Каракол, ул. Прежевальского 101/1 (кольцо), 42.500140, 78.386597 СНО: Общий режим Чек 120 02.06.2024 22:59 Смена: 372 ФФД: 1.0 ЗНМ: 0300000031 РНМ: 0000000000092737 Версия ККМ: 001 ФМ: 0000000000875074 ФД: 63732 ФПД: 261226786904857 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240602T225903&type=1&operation_type=1&fn_number=0000000000875074&fd_number=63732&fm=261226786904857&tin=02508201610067®Number=0000000000092737&sum=8500 0 [22:59:03]StoreToDocumentArchive [22:59:03]shift 372 fd 63732 [22:59:03]save to /storage/0372/doc_00063732 [22:59:03]save last doc name /storage/0372/doc_00063732 to /storage/kkm_last_doc_name [22:59:03]save OK [22:59:03]Clear old archive folders... [22:59:03]ProcessDocumentItem done err = 0, tmpTLVsize=288 [22:59:03]tlvbuf is 00B75580 [22:59:03]SAM_PROTO_ClearQueue [22:59:03]wFMCommunicate request_size=4 [22:59:03]MH_SAM_APDU [22:59:03]CAPDU: 80 09 00 00 [22:59:03]Write to MH i2c: E2 08 00 99 05 80 09 00 00 00 00 00 00 10 [22:59:03]Write i2c OK [22:59:03]MH_I2C_Read... [22:59:03]Read from MH i2c: E2 [22:59:03]MH_I2C_Read... [22:59:03]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:59:03]Read from MH i2c: E2 03 00 [22:59:03]MH_I2C_Read... [22:59:03]Read from MH i2c: E2 03 00 99 05 00 90 00 12 [22:59:03]RAPDU: 90 00 [22:59:03]wFMCommunicate OK [22:59:03]SAM_PROTO_ClearQueue done [22:59:03]KKMCreateOFDPacket [22:59:03]OFDProtocolAddRootSTLVToBuf [22:59:03]FM_MakeSignedData [22:59:03]FM_MakeSignedData [22:59:03]SAM_PROTO_SignData [22:59:03]wFMCommunicate request_size=4 [22:59:03]MH_SAM_APDU [22:59:03]CAPDU: 80 0D 01 02 [22:59:03]Write to MH i2c: E2 08 00 9A 05 80 0D 01 02 00 00 00 00 18 [22:59:03]Write i2c OK [22:59:03]MH_I2C_Read... [22:59:03]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:59:03]Read from MH i2c: E2 [22:59:03]MH_I2C_Read... [22:59:03]Read from MH i2c: E2 03 00 [22:59:03]MH_I2C_Read... [22:59:03]Read from MH i2c: E2 03 00 9A 05 00 90 00 13 [22:59:03]RAPDU: 90 00 [22:59:03]wFMCommunicate OK [22:59:03]wFMCommunicate request_size=255 [22:59:03]MH_SAM_APDU [22:59:03]CAPDU: 80 0D 02 02 FA 03 00 20 01 1E 04 01 00 01 23 04 72 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 31 34 35 33 06 04 2E 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 4D 61 78 20 30 2C 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 21 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 87 03 00 00 00 00 07 04 06 00 34 21 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 78 00 00 00 F4 03 04 00 37 F9 5C 66 0E 04 04 00 74 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 [22:59:03]Write to MH i2c: E2 02 01 9B 05 80 0D 02 02 FA 00 03 00 20 01 1E 04 01 00 01 23 04 72 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 31 34 35 33 06 04 2E 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 4D 61 78 20 30 2C 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 21 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 87 03 00 00 00 00 07 04 06 00 34 21 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 78 00 00 00 F4 03 04 00 37 F9 5C 66 0E 04 04 00 74 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 00 00 BF [22:59:03]Write i2c OK [22:59:03]MH_I2C_Read... [22:59:03]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:59:03]Read from MH i2c: E2 [22:59:03]MH_I2C_Read... [22:59:03]Read from MH i2c: E2 03 00 [22:59:03]MH_I2C_Read... [22:59:03]Read from MH i2c: E2 03 00 9B 05 00 90 00 14 [22:59:03]RAPDU: 90 00 [22:59:03]wFMCommunicate OK [22:59:03]wFMCommunicate request_size=47 [22:59:03]MH_SAM_APDU [22:59:03]CAPDU: 80 0D 02 02 2A 32 37 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 10 04 04 00 F4 F8 00 00 35 04 06 00 ED 95 99 D6 DB 19 [22:59:03]Write to MH i2c: E2 32 00 9C 05 80 0D 02 02 2A 00 32 37 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 10 04 04 00 F4 F8 00 00 35 04 06 00 ED 95 99 D6 DB 19 00 00 AE [22:59:03]Write i2c OK [22:59:03]MH_I2C_Read... [22:59:03]Read from MH i2c: E2 [22:59:03]MH_I2C_Read... [22:59:03]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:59:03]Read from MH i2c: E2 03 00 [22:59:03]MH_I2C_Read... [22:59:03]Read from MH i2c: E2 03 00 9C 05 00 90 00 15 [22:59:03]RAPDU: 90 00 [22:59:03]wFMCommunicate OK [22:59:03]wFMCommunicate request_size=4 [22:59:03]MH_SAM_APDU [22:59:03]CAPDU: 80 0D 03 02 [22:59:03]Write to MH i2c: E2 08 00 9D 05 80 0D 03 02 00 00 00 00 1D [22:59:03]Write i2c OK [22:59:03]MH_I2C_Read... [22:59:03]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:59:03]Read from MH i2c: E2 [22:59:03]MH_I2C_Read... [22:59:03]Read from MH i2c: E2 0B 00 [22:59:03]MH_I2C_Read... [22:59:03]Read from MH i2c: E2 0B 00 9D 05 00 D2 F8 3F E7 C3 80 B3 ED 90 00 F1 [22:59:03]RAPDU: D2 F8 3F E7 C3 80 B3 ED 90 00 [22:59:03]wFMCommunicate OK [22:59:03]SAM_PROTO_SignData done [22:59:03]FM_MakeSignedData done [22:59:03]CreateOFDProtocolMessage [22:59:03]wFMCommunicate request_size=4 [22:59:03]MH_SAM_APDU [22:59:03]CAPDU: 80 11 00 00 [22:59:03]Write to MH i2c: E2 08 00 9E 05 80 11 00 00 00 00 00 00 1D [22:59:03]Write i2c OK [22:59:03]MH_I2C_Read... [22:59:04]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:59:04]Read from MH i2c: E2 [22:59:04]MH_I2C_Read... [22:59:04]Read from MH i2c: E2 17 00 [22:59:04]MH_I2C_Read... [22:59:04]Read from MH i2c: E2 17 00 9E 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 90 00 6F [22:59:04]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 90 00 [22:59:04]wFMCommunicate OK [22:59:04]CreateOFDProtocolMessage done [22:59:04]OFDSenderStorePacket 63732 [22:59:04]StoreOFDPacket docnum=63732 [22:59:04]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 34 01 00 00 00 B9 2C 01 98 66 5A 03 01 00 03 00 20 01 1E 04 01 00 01 23 04 72 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 31 34 35 33 06 04 2E 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 4D 61 78 20 30 2C 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 21 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 87 03 00 00 00 00 07 04 06 00 34 21 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 78 00 00 00 F4 03 04 00 37 F9 5C 66 0E 04 04 00 74 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 10 04 04 00 F4 F8 00 00 35 04 06 00 ED 95 99 D6 DB 19 D2 F8 3F E7 C3 80 B3 ED [22:59:04]CheckFolder [22:59:04]dirname=/storage/ofd_packets [22:59:04]CheckFolder done [22:59:04]ProducePacketName [22:59:04]name=ofd_packets/00063732 [22:59:04]NVStorageSaveData ofd_packets/00063732 [22:59:04]File name is /storage/ofd_packets/00063732 [22:59:04]Write 338 bytes [22:59:04]NVStorageSaveData done [22:59:04]OFDSenderStorePacket done [22:59:04]KKMCreateOFDPacket done [22:59:04]NVStorageSaveData kkm_last_timestamp [22:59:04]File name is /storage/kkm_last_timestamp [22:59:04]Write 4 bytes [22:59:04]NVStorageSaveData done [22:59:04]ExternCall_PrintAddStr [22:59:04]wPrintStart [22:59:04]Write to MH i2c: 01 00 00 9F 05 A4 [22:59:04]Write i2c OK [22:59:04]MH_I2C_Read... [22:59:04]Read from MH i2c: 01 [22:59:04]MH_I2C_Read... [22:59:04]Read from MH i2c: 01 07 00 [22:59:04]MH_I2C_Read... [22:59:04]Read from MH i2c: 01 07 00 9F 05 00 00 00 00 00 FF 0F B9 [22:59:04]RasterBufferAndPrint [22:59:04]line Счет N : (3)73323 [22:59:04]line ИНН: 02508201610067 [22:59:04]line Контрольно-Кассовый Чек [22:59:04]line ПРОДАЖА [22:59:04]line Товар: 4700000481453 [22:59:04]line Напиток энерг Nitro Max 0,45 ж/б [22:59:04]line 1.000 * 85.00 [22:59:04]line = 85.00 [22:59:04]line НДС 12% НСП 1% [22:59:04]line > о реализуемом товаре [22:59:04]line ИТОГО: 85.00 [22:59:04]line НСП 1% : 0.75 [22:59:04]line НДС 12% : 9.03 [22:59:04]line Наличными: 85.00 [22:59:04]line Безнал.: 0.00 [22:59:04]line Место: АЗС № 117 "Партнер Нефть" [22:59:04]line Адрес: 720001, г. Каракол, ул. Прежевальского 101/1 (кольцо), 42.500140, 78.386597 [22:59:04]line СНО: Общий режим [22:59:04]line Чек 120 02.06.2024 22:59 [22:59:04]line Смена: 372 ФФД: 1.0 [22:59:04]line ЗНМ: 0300000031 [22:59:04]line РНМ: 0000000000092737 [22:59:04]line Версия ККМ: 001 [22:59:04]line ФМ: 0000000000875074 [22:59:04]line ФД: 63732 [22:59:04]line ФПД: 261226786904857 [22:59:04]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240602T225903&type=1&operation_type=1&fn_number=0000000000875074&fd_number=63732&fm=261226786904857&tin=02508201610067®Number=0000000000092737&sum=8500 [22:59:04]line 0 [22:59:04]OFD Sender: Processing packet 63732 [packets to send 14, broken 13] [22:59:04]ProducePacketName [22:59:04]name=ofd_packets/00063732 [22:59:04]OFD Sender: To server: pG, [22:59:04]CommunicateWithHost lk.salyk.kg:30040 [22:59:04]ConnectInit lk.salyk.kg [22:59:04]written 0, free lines is 4095 [22:59:04]Connected sock=10 [22:59:04]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 34 01 00 00 00 B9 2C 01 98 66 5A 03 01 00 03 00 20 01 1E 04 01 00 01 23 04 72 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 31 34 35 33 06 04 2E 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 4D 61 78 20 30 2C 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 21 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 87 03 00 00 00 00 07 04 06 00 34 21 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 78 00 00 00 F4 03 04 00 37 F9 5C 66 0E 04 04 00 74 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 10 04 04 00 F4 F8 00 00 35 04 06 00 ED 95 99 D6 DB 19 D2 F8 3F E7 C3 80 B3 ED [22:59:04]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 4F 00 00 00 A0 0A 47 00 E7 3A A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 10 04 04 00 F4 F8 00 00 F4 03 04 00 0A A5 5C 66 B6 04 01 00 00 C3 69 A2 8C 13 19 46 D5 [22:59:04]CommunicateWithHost err = 0 [22:59:04]CheckOFDResponse [22:59:04]1017 (14) - 77093643461234 [22:59:04]1041 (16) - 0000000000875074 [22:59:04]1040 (4) - 63732 [22:59:04]1012 (4) - 02.06.2024 16:59 [22:59:04]1206 (1) - 0 [22:59:04]OFD Sender: Remove packet 63732 [22:59:04]ProducePacketName [22:59:04]name=ofd_packets/00063732 [22:59:04]NVStorageDeleteData [22:59:04]Write to MH i2c: 01 00 00 C8 05 CD [22:59:04]Write i2c OK [22:59:04]MH_I2C_Read... [22:59:04]Read from MH i2c: 01 [22:59:04]MH_I2C_Read... [22:59:04]Read from MH i2c: 01 07 00 [22:59:04]MH_I2C_Read... [22:59:04]Read from MH i2c: 01 07 00 C8 05 00 00 00 00 00 DB 0C BB [22:59:04]RasterBufferAndPrint [22:59:04]line [22:59:04]line [22:59:04]line [22:59:04]line [22:59:04]line [22:59:04]written 0, free lines is 3297 [22:59:04]MH_Cut [22:59:04]Write to MH i2c: D1 01 00 CF 05 01 A6 [22:59:04]Write i2c OK [22:59:04]MH_I2C_Read... [22:59:04]Read from MH i2c: D1 [22:59:04]MH_I2C_Read... [22:59:04]Read from MH i2c: D1 01 00 [22:59:04]MH_I2C_Read... [22:59:04]Read from MH i2c: D1 01 00 CF 05 00 A5 [22:59:04]Write to MH i2c: 01 00 00 D0 05 D5 [22:59:04]Write i2c OK [22:59:04]MH_I2C_Read... [22:59:05]OFD Sender: No OFD packet to send [22:59:05]*** Cut start [22:59:05]*** Partial cut [22:59:05]*** CUTSNS_PIN = 1 [22:59:05]*** CUTSNS_PIN = 0 [22:59:05]*** Brake cut motor [22:59:06]Read from MH i2c: 01 [22:59:06]MH_I2C_Read... [22:59:06]*** Stop cut motor [22:59:06]*** Cut end [22:59:06]Read from MH i2c: 01 07 00 [22:59:06]MH_I2C_Read... [22:59:06]Read from MH i2c: 01 07 00 D0 05 00 00 00 00 00 FF 0F EA [22:59:06]process_action close_receipt done [22:59:06]requested_data is exist [22:59:06]produce_requested_data [22:59:06]requested_item fm.sn is exist - process it [22:59:06]wFMCommunicate request_size=4 [22:59:06]MH_SAM_APDU [22:59:06]CAPDU: 80 11 00 00 [22:59:06]Write to MH i2c: E2 08 00 D1 05 80 11 00 00 00 00 00 00 50 [22:59:06]Write i2c OK [22:59:06]MH_I2C_Read... [22:59:06]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:59:06]Read from MH i2c: E2 [22:59:06]MH_I2C_Read... [22:59:06]Read from MH i2c: E2 17 00 [22:59:06]MH_I2C_Read... [22:59:06]Read from MH i2c: E2 17 00 D1 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 90 00 A2 [22:59:06]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 90 00 [22:59:06]wFMCommunicate OK [22:59:06]requested_item fd.num is exist - process it [22:59:06]SAM_PROTO_GetFieldsCounters [22:59:06]wFMCommunicate request_size=4 [22:59:06]MH_SAM_APDU [22:59:06]CAPDU: 80 13 00 00 [22:59:06]Write to MH i2c: E2 08 00 D2 05 80 13 00 00 00 00 00 00 53 [22:59:06]Write i2c OK [22:59:06]MH_I2C_Read... [22:59:06]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:59:06]Read from MH i2c: E2 [22:59:06]MH_I2C_Read... [22:59:06]Read from MH i2c: E2 62 00 [22:59:06]MH_I2C_Read... [22:59:06]Read from MH i2c: E2 62 00 D2 05 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 33 37 10 04 04 00 F4 F8 00 00 0E 04 04 00 74 01 00 00 12 04 04 00 78 00 00 00 5E 04 04 00 78 00 00 00 57 04 04 00 79 00 00 00 19 04 04 00 00 00 00 00 90 00 3F [22:59:06]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 33 37 10 04 04 00 F4 F8 00 00 0E 04 04 00 74 01 00 00 12 04 04 00 78 00 00 00 5E 04 04 00 78 00 00 00 57 04 04 00 79 00 00 00 19 04 04 00 00 00 00 00 90 00 [22:59:06]wFMCommunicate OK [22:59:06]SAM_PROTO_GetFieldsCounters done [22:59:06]requested_item shift.num is exist - process it [22:59:06]requested_item shift.opened is exist - process it [22:59:06]req_shift_opened [22:59:06]FM_GetShiftState [22:59:06]SAM_PROTO_GetShiftState [22:59:06]wFMCommunicate request_size=4 [22:59:06]MH_SAM_APDU [22:59:06]CAPDU: 80 13 01 00 [22:59:06]Write to MH i2c: E2 08 00 D3 05 80 13 01 00 00 00 00 00 55 [22:59:06]Write i2c OK [22:59:06]MH_I2C_Read... [22:59:06]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:59:06]Read from MH i2c: E2 [22:59:06]MH_I2C_Read... [22:59:06]Read from MH i2c: E2 0E 00 [22:59:06]MH_I2C_Read... [22:59:06]Read from MH i2c: E2 0E 00 D3 05 00 09 00 01 76 BD 5B 66 00 00 00 00 90 00 55 [22:59:06]RAPDU: 09 00 01 76 BD 5B 66 00 00 00 00 90 00 [22:59:06]wFMCommunicate OK [22:59:06]SAM_PROTO_GetShiftState done [22:59:06]FM_GetShiftState done [22:59:06]req_shift_opened done [22:59:06]requested_item shift.open_date is exist - process it [22:59:06]req_shift_open_date [22:59:06]req_shift_open_date done [22:59:06]produce_requested_data done [22:59:06]produce_requested_data return {"fm.sn":"0000000000875074","fd.num":63732,"shift.num":372,"shift.opened":1,"shift.open_date":1717288310} [22:59:06]process_action_free close_receipt [22:59:06]json_value_free [22:59:06]json_value_free done [22:59:06]process_json_proto returns [22:59:06]Send response to host [22:59:06]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875074","fd.num":63732,"shift.num":372,"shift.opened":1,"shift.open_date":1717288310}}} [22:59:06]free response buf [22:59:06]execute_script done [22:59:06]execute_script returns [22:59:06]free content buf [22:59:06]Sock 8.Close socket [22:59:06]Sock 8.Thread stoped [22:59:10]OFD Sender: No OFD packet to send [22:59:15]OFD Sender: No OFD packet to send [22:59:20]OFD Sender: No OFD packet to send [22:59:25]OFD Sender: No OFD packet to send [22:59:30]OFD Sender: No OFD packet to send [00:00:11] *** EcrCore started. Build 196 *** [00:00:11]MH_InterfaceInit /dev/i2c-1 [00:00:11]/dev/ttyS4 opened [00:00:11]Malloc ok [00:00:11]MH_GetMetrics [00:00:11]Write to MH i2c: 00 00 00 01 00 00 [00:00:11]Write i2c OK [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: 00 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: 00 29 00 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: 00 29 00 01 00 00 03 9C 77 C0 01 31 39 30 33 53 51 38 38 54 00 00 00 00 57 25 5F FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 01 03 00 04 [00:00:11]Are we in boot? [00:00:11]We are in boot - try to switch [00:00:11]Write to MH i2c: A0 00 00 02 00 A1 [00:00:11]Write i2c OK [00:00:11]MH_I2C_Read... [00:00:11]*** Check firmware version 30620, crc_r 49A1A6DB, crc_c: 49A1A6DB, size: 53248 [00:00:11]*** [00:00:11]Read from MH i2c: A0 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: A0 01 00 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: A0 01 00 02 00 00 A2 [00:00:11]*** Starting fw at address 01020100 (2007E328 010249C5) [00:00:11]*** Waiting for read because exit forced [00:00:11]*** 10 ms more... [00:00:11]*** MH1903S init start (LINUX_LIGHT) [00:00:11]*** Compilation Date Jun 20 2023 Time 12:36:20 [00:00:11]*** Serial: 3139303353513838 540000000057255F (1903SQ88T) [00:00:11]*** User serial: FFFFFFFFFFFFFFFF FFFFFFFFFFFFFFFF () [00:00:11]*** step 0: 5000 (2650, 2350 REF) [00:00:11]*** step 1: 4835 (2500, 2335 REF) [00:00:11]*** step 2: 4676 (2440, 2236 REF) [00:00:11]*** step 3: 4523 (2280, 2243 REF) [00:00:11]*** step 4: 4376 (2160, 2216 REF) [00:00:11]*** step 5: 4235 (2050, 2185 REF) [00:00:11]*** step 6: 4098 (1950, 2148 REF) [00:00:11]*** step 7: 3967 (1870, 2097 REF) [00:00:11]*** step 8: 3840 (1828, 2012 REF) [00:00:11]*** step 9: 3719 (1728, 1991 REF) [00:00:11]*** step 10: 3601 (1675, 1926 REF) [00:00:11]*** step 11: 3488 (1635, 1853 REF) [00:00:11]*** step 12: 3379 (1595, 1784 REF) [00:00:11]*** step 13: 3275 (1565, 1710 REF) [00:00:11]*** step 14: 3174 (1543, 1631 REF) [00:00:11]*** step 15: 3077 (1523, 1554 REF) [00:00:11]*** step 16: 2983 (1503, 1480 REF) [00:00:11]*** step 17: 2893 (1486, 1407 REF) [00:00:11]*** step 18: 2806 (1466, 1340 REF) [00:00:11]*** step 19: 2723 (1426, 1297 REF) [00:00:11]*** step 20: 2642 (1406, 1236 REF) [00:00:11]*** step 21: 2565 (1384, 1181 REF) [00:00:11]*** step 22: 2490 (1364, 1126 REF) [00:00:11]*** step 23: 2418 (1344, 1074 REF) [00:00:11]*** step 24: 2349 (1322, 1027 REF) [00:00:11]*** step 25: 2283 (1302, 981 REF) [00:00:11]*** step 26: 2218 (1282, 936 REF) [00:00:11]*** step 27: 2157 (1262, 895 REF) [00:00:11]*** step 28: 2097 (1242, 855 REF) [00:00:11]*** step 29: 2040 (1222, 818 REF) [00:00:11]*** step 30: 1985 (1202, 783 REF) [00:00:11]*** step 31: 1932 (1191, 741 REF) [00:00:11]*** step 32: 1880 (1181, 699 REF) [00:00:11]*** step 33: 1831 (1171, 660 REF) [00:00:11]*** step 34: 1784 (1161, 623 REF) [00:00:11]*** step 35: 1738 (1151, 587 REF) [00:00:11]*** step 36: 1694 (1141, 553 REF) [00:00:11]*** step 37: 1652 (1131, 521 REF) [00:00:11]*** step 38: 1611 (1121, 490 REF) [00:00:11]*** step 39: 1572 (1111, 461 REF) [00:00:11]*** step 40: 1534 (1103, 431 REF) [00:00:11]*** step 41: 1497 (1093, 404 REF) [00:00:11]*** step 42: 1462 (1083, 379 REF) [00:00:11]*** step 43: 1428 (1073, 355 REF) [00:00:11]*** step 44: 1396 (1063, 333 REF) [00:00:11]*** step 45: 1365 (1053, 312 REF) [00:00:11]*** step 46: 1334 (1043, 291 REF) [00:00:11]*** step 47: 1305 (1033, 272 REF) [00:00:11]*** step 48: 1277 (1023, 254 REF) [00:00:11]*** step 49: 1250 (1013, 237 REF) [00:00:11]*** step 50: 1224 (990, 234 REF) [00:00:11]*** step 51: 1199 (980, 219 REF) [00:00:11]*** step 52: 1175 (970, 205 REF) [00:00:11]*** step 53: 1152 (960, 192 REF) [00:00:11]*** step 54: 1130 (950, 180 REF) [00:00:11]*** step 55: 1108 (940, 168 REF) [00:00:11]*** step 56: 1088 (930, 158 REF) [00:00:11]*** step 57: 1068 (920, 148 REF) [00:00:11]*** step 58: 1049 (910, 139 REF) [00:00:11]*** step 59: 1030 (900, 130 REF) [00:00:11]*** step 60: 1012 (890, 122 REF) [00:00:11]*** step 61: 995 (880, 115 REF) [00:00:11]*** step 62: 979 (870, 109 REF) [00:00:11]*** step 63: 963 (860, 103 REF) [00:00:11]*** step 64: 948 (850, 98 REF) [00:00:11]*** step 65: 933 (840, 93 REF) [00:00:11]*** step 66: 919 (830, 89 REF) [00:00:11]*** step 67: 905 (820, 85 REF) [00:00:11]*** step 68: 892 (810, 82 REF) [00:00:11]*** step 69: 879 (800, 79 REF) [00:00:11]*** step 70: 867 (790, 77 REF) [00:00:11]*** step 71: 855 (780, 75 REF) [00:00:11]*** step 72: 844 (770, 74 REF) [00:00:11]*** step 73: 833 (760, 73 REF) [00:00:11]*** step 74: 822 (750, 72 REF) [00:00:11]*** step 75: 812 (740, 72 REF) [00:00:11]*** step 76: 803 (730, 73 REF) [00:00:11]*** step 77: 793 (720, 73 REF) [00:00:11]*** step 78: 784 (710, 74 REF) [00:00:11]*** step 79: 776 (700, 76 REF) [00:00:11]*** step 80: 767 (690, 77 REF) [00:00:11]*** step 81: 759 (680, 79 REF) [00:00:11]*** step 82: 751 (670, 81 REF) [00:00:11]*** step 83: 744 (660, 84 REF) [00:00:11]*** step 84: 737 (650, 87 REF) [00:00:11]*** step 85: 730 (640, 90 REF) [00:00:11]*** step 86: 723 (630, 93 REF) [00:00:11]*** step 87: 717 (620, 97 REF) [00:00:11]*** step 88: 710 (610, 100 REF) [00:00:11]*** step 89: 705 (600, 105 REF) [00:00:11]*** step 90: 699 [00:00:11]*** step 91: 693 [00:00:11]*** step 92: 688 [00:00:11]*** step 93: 683 [00:00:11]*** step 94: 678 [00:00:11]*** step 95: 673 [00:00:11]*** step 96: 669 [00:00:11]*** step 97: 664 [00:00:11]*** step 98: 660 [00:00:11]*** step 99: 656 [00:00:11]*** step 100: 652 [00:00:11]*** step 101: 648 [00:00:11]*** step 102: 644 [00:00:11]*** step 103: 641 [00:00:11]*** step 104: 638 [00:00:11]*** step 105: 634 [00:00:11]*** step 106: 631 [00:00:11]*** step 107: 628 [00:00:11]*** step 108: 625 [00:00:11]*** step 109: 622 [00:00:11]*** step 110: 620 [00:00:11]*** step 111: 617 [00:00:11]*** step 112: 615 [00:00:11]*** step 113: 612 [00:00:11]*** step 114: 610 [00:00:11]*** step 115: 608 [00:00:11]*** step 116: 605 [00:00:11]*** step 117: 603 [00:00:11]*** step 118: 601 [00:00:11]*** step 119: 599 [00:00:11]*** printer: Printer HW initialized [00:00:11]*** initSamCard finished [00:00:11]*** RTC: 1204993+1716164202=1717369195 [00:00:11]*** BPK Status Register BPK_RDY = 0x0 [00:00:11]*** SEN State Register SEN_STATE = 0x20ff [00:00:11]*** 32K Frequency Sensor Enable SEN_XTAL32_EN = 0x80000055 [00:00:11]*** Analog Control Register 0 SEN_ANA0 = 0x33510623 [00:00:11]*** Is cutter blocked? [00:00:12]MH_GetMetrics [00:00:12]Write to MH i2c: 00 00 00 03 00 02 [00:00:12]Write i2c OK [00:00:12]MH_I2C_Read... [00:00:12]Read from MH i2c: 00 [00:00:12]MH_I2C_Read... [00:00:12]Read from MH i2c: 00 29 00 [00:00:12]MH_I2C_Read... [00:00:12]Read from MH i2c: 00 29 00 03 00 00 03 9C 77 C0 01 31 39 30 33 53 51 38 38 54 00 00 00 00 57 25 5F FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 00 03 00 05 [00:00:12]Are we in boot? [00:00:12]We are not in boot now [00:00:12]Write to MH i2c: 01 00 00 04 00 04 [00:00:12]Write i2c OK [00:00:12]MH_I2C_Read... [00:00:12]Read from MH i2c: 01 [00:00:12]MH_I2C_Read... [00:00:12]Read from MH i2c: 01 07 00 [00:00:12]MH_I2C_Read... [00:00:12]Read from MH i2c: 01 07 00 04 00 00 00 00 00 00 FF 0F 19 [00:00:12]Model is 3 [00:00:12]MH firmware is 30620 [00:00:12]MH boot firmware is 3 [00:00:12]MH_SetPrinterDots 448 [00:00:12]HeadWidthInBytes 56 [00:00:12]maxmasksize 7 [00:00:12]Write to MH i2c: D6 06 00 05 00 46 00 40 00 FF FF 64 [00:00:12]Write i2c OK [00:00:12]MH_I2C_Read... [00:00:12]Read from MH i2c: D6 [00:00:12]MH_I2C_Read... [00:00:12]Read from MH i2c: D6 01 00 [00:00:12]MH_I2C_Read... [00:00:12]Read from MH i2c: D6 01 00 05 00 00 DB [00:00:12]Write to MH i2c: D5 00 00 06 00 DA [00:00:12]Write i2c OK [00:00:12]MH_I2C_Read... [00:00:12]Read from MH i2c: D5 [00:00:12]MH_I2C_Read... [00:00:12]Read from MH i2c: D5 01 00 [00:00:12]MH_I2C_Read... [00:00:12]Read from MH i2c: D5 01 00 06 00 00 DB [00:00:12]Load OK [00:00:12]LoadDictionaryFromArray [00:00:12]Load OK [00:00:12]LoadDictionaryFromArray [00:00:12]Load OK [00:00:12]LoadDictionaryFromArray [00:00:12]Load OK [00:00:12]LoadDictionaryFromArray [00:00:12]Load OK [00:00:12]LoadDictionaryFromArray [00:00:12]Load OK [00:00:12]LoadDictionaryFromArray [00:00:12]Load OK [00:00:12]LoadDictionaryFromArray [00:00:12]Load OK [00:00:12]LoadDictionaryFromArray [00:00:12]Load OK [00:00:12]LoadDictionaryFromArray [00:00:12]Load OK [00:00:12]LoadDictionaryFromArray [00:00:12]Load OK [00:00:12]LoadDictionaryFromArray [00:00:12]Load OK [00:00:12]LoadDictionaryFromArray [00:00:12]Load OK [00:00:12]ExternCall_SetCallbacks [00:00:12]NVStorageInit [00:00:12]MH_GetDate [00:00:12]Write to MH i2c: F0 00 00 07 00 F6 [00:00:12]Write i2c OK [00:00:12]MH_I2C_Read... [00:00:12]Read from MH i2c: F0 [00:00:12]MH_I2C_Read... [00:00:12]Read from MH i2c: F0 09 00 [00:00:12]MH_I2C_Read... [00:00:12]Read from MH i2c: F0 09 00 07 00 00 6B F9 5C 66 6A 96 4A 66 D5 [22:59:55]Current date/time: 02.06.2024 22:59 [22:59:55]FM_Init [22:59:55]wFMConnect [22:59:55]MH_SAM_On [22:59:55]Write to MH i2c: E0 00 00 08 00 E7 [22:59:55]Write i2c OK [22:59:55]MH_I2C_Read... [22:59:55]*** iso7816_init finished! [22:59:55]*** atr: [22:59:55]*** 0F 3B D5 18 FF 81 91 FE [22:59:55]*** 1F C3 80 73 C8 21 10 0A [22:59:55]*** 00 00 00 00 00 00 00 00 [22:59:55]*** 00 00 00 00 00 00 00 00 [22:59:55]*** 00 00 00 00 00 00 00 00 [22:59:55]*** 00 00 00 00 00 00 00 00 [22:59:55]*** 00 00 00 00 00 00 00 00 [22:59:55]*** 00 00 00 00 00 00 00 00 [22:59:55]Read from MH i2c: E0 [22:59:55]MH_I2C_Read... [22:59:55]Read from MH i2c: E0 10 00 [22:59:55]MH_I2C_Read... [22:59:55]Read from MH i2c: E0 10 00 08 00 00 3B D5 18 FF 81 91 FE 1F C3 80 73 C8 21 10 0A 06 [22:59:55]ATR: 3B D5 18 FF 81 91 FE 1F C3 80 73 C8 21 10 0A [22:59:55]wFMCommunicate request_size=10 [22:59:55]MH_SAM_APDU [22:59:55]CAPDU: 00 A4 04 00 05 01 02 03 04 05 [22:59:55]Write to MH i2c: E2 0D 00 09 00 00 A4 04 00 05 00 01 02 03 04 05 00 00 B3 [22:59:55]Write i2c OK [22:59:55]MH_I2C_Read... [22:59:55]*** iso7816_exchange 00 A4 04 00... Resp OK rsp.len_out = 0! [22:59:55]Read from MH i2c: E2 [22:59:55]MH_I2C_Read... [22:59:55]Read from MH i2c: E2 03 00 [22:59:55]MH_I2C_Read... [22:59:55]Read from MH i2c: E2 03 00 09 00 00 90 00 7D [22:59:55]RAPDU: 90 00 [22:59:55]wFMCommunicate OK [22:59:55]wFMCommunicate request_size=4 [22:59:55]MH_SAM_APDU [22:59:55]CAPDU: 80 11 00 00 [22:59:55]Write to MH i2c: E2 08 00 0A 00 80 11 00 00 00 00 00 00 84 [22:59:55]Write i2c OK [22:59:55]MH_I2C_Read... [22:59:55]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:59:55]Read from MH i2c: E2 [22:59:55]MH_I2C_Read... [22:59:55]Read from MH i2c: E2 17 00 [22:59:55]MH_I2C_Read... [22:59:55]Read from MH i2c: E2 17 00 0A 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 90 00 D6 [22:59:55]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 90 00 [22:59:55]wFMCommunicate OK [22:59:55]Detected FM SN is 0000000000875074 [22:59:55]Stored FM SN is 0000000000875074 [22:59:55]wFMCommunicate request_size=9 [22:59:55]MH_SAM_APDU [22:59:55]CAPDU: 80 16 00 00 04 FA 15 01 00 [22:59:55]Write to MH i2c: E2 0C 00 0B 00 80 16 00 00 04 00 FA 15 01 00 00 00 A2 [22:59:55]Write i2c OK [22:59:55]MH_I2C_Read... [22:59:55]*** iso7816_exchange 80 16 00 00... Resp OK rsp.len_out = 0! [22:59:55]Read from MH i2c: E2 [22:59:55]MH_I2C_Read... [22:59:55]Read from MH i2c: E2 03 00 [22:59:55]MH_I2C_Read... [22:59:55]Read from MH i2c: E2 03 00 0B 00 00 90 00 7F [22:59:55]RAPDU: 90 00 [22:59:55]wFMCommunicate OK [22:59:55]FM PIN OK [22:59:55]wFMCommunicate request_size=8 [22:59:55]MH_SAM_APDU [22:59:55]CAPDU: 80 14 04 00 03 02 00 01 [22:59:55]Write to MH i2c: E2 0B 00 0C 00 80 14 04 00 03 00 02 00 01 00 00 96 [22:59:55]Write i2c OK [22:59:55]MH_I2C_Read... [22:59:55]*** iso7816_exchange 80 14 04 00... Resp OK rsp.len_out = 0! [22:59:55]Read from MH i2c: E2 [22:59:55]MH_I2C_Read... [22:59:55]Read from MH i2c: E2 03 00 [22:59:55]MH_I2C_Read... [22:59:55]Read from MH i2c: E2 03 00 0C 00 00 90 00 80 [22:59:55]RAPDU: 90 00 [22:59:55]wFMCommunicate OK [22:59:55]wFMCommunicate request_size=13 [22:59:55]MH_SAM_APDU [22:59:55]CAPDU: 80 14 04 01 08 07 00 01 02 03 04 05 06 [22:59:55]Write to MH i2c: E2 10 00 0D 00 80 14 04 01 08 00 07 00 01 02 03 04 05 06 00 00 BB [22:59:55]Write i2c OK [22:59:55]MH_I2C_Read... [22:59:55]*** iso7816_exchange 80 14 04 01... Resp OK rsp.len_out = 0! [22:59:55]Read from MH i2c: E2 [22:59:55]MH_I2C_Read... [22:59:55]Read from MH i2c: E2 03 00 [22:59:55]MH_I2C_Read... [22:59:55]Read from MH i2c: E2 03 00 0D 00 00 90 00 81 [22:59:55]RAPDU: 90 00 [22:59:55]wFMCommunicate OK [22:59:55]wFMCommunicate request_size=4 [22:59:55]MH_SAM_APDU [22:59:55]CAPDU: 80 11 00 00 [22:59:55]Write to MH i2c: E2 08 00 0E 00 80 11 00 00 00 00 00 00 88 [22:59:55]Write i2c OK [22:59:55]MH_I2C_Read... [22:59:55]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:59:55]Read from MH i2c: E2 [22:59:55]MH_I2C_Read... [22:59:55]Read from MH i2c: E2 17 00 [22:59:55]MH_I2C_Read... [22:59:55]Read from MH i2c: E2 17 00 0E 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 90 00 DA [22:59:55]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 90 00 [22:59:55]wFMCommunicate OK [22:59:55]DocumentArchiveInit [22:59:55]Start Httpd... [22:59:55]Httpd thread 3067084132 created [22:59:55]Write to MH i2c: 01 00 00 0F 00 0F [22:59:55]Write i2c OK [22:59:55]MH_I2C_Read... [22:59:55]Read from MH i2c: 01 [22:59:55]MH_I2C_Read... [22:59:55]Read from MH i2c: 01 07 00 [22:59:55]MH_I2C_Read... [22:59:55]Read from MH i2c: 01 07 00 0F 00 00 00 00 00 00 FF 0F 24 [22:59:55]MH Int Process started [22:59:55]Allocated Socket 8 [22:59:55]Bind OK [22:59:55]Listen OK [22:59:55]httpd running on port 8080 [22:59:55]Waiting for new connection... [22:59:55]OFD Sender: No OFD packet to send [23:00:00]OFD Sender: No OFD packet to send [23:00:05]OFD Sender: No OFD packet to send [23:00:10]OFD Sender: No OFD packet to send [23:00:15]OFD Sender: No OFD packet to send [23:00:20]OFD Sender: No OFD packet to send [23:00:25]OFD Sender: No OFD packet to send [23:00:30]OFD Sender: No OFD packet to send [23:00:35]OFD Sender: No OFD packet to send [23:00:40]OFD Sender: No OFD packet to send [23:00:45]OFD Sender: No OFD packet to send [23:00:50]OFD Sender: No OFD packet to send [23:00:55]OFD Sender: No OFD packet to send [23:01:00]OFD Sender: No OFD packet to send [23:01:05]OFD Sender: No OFD packet to send [23:01:10]OFD Sender: No OFD packet to send [23:01:15]OFD Sender: No OFD packet to send [23:01:20]OFD Sender: No OFD packet to send [23:01:25]OFD Sender: No OFD packet to send [23:01:30]OFD Sender: No OFD packet to send [23:01:35]OFD Sender: No OFD packet to send [23:01:40]OFD Sender: No OFD packet to send [23:01:45]OFD Sender: No OFD packet to send [23:01:50]OFD Sender: No OFD packet to send [23:01:55]OFD Sender: No OFD packet to send [23:02:00]OFD Sender: No OFD packet to send [23:02:05]OFD Sender: No OFD packet to send [23:02:10]OFD Sender: No OFD packet to send [23:02:15]OFD Sender: No OFD packet to send [23:02:20]OFD Sender: No OFD packet to send [23:02:25]OFD Sender: No OFD packet to send [23:02:30]OFD Sender: No OFD packet to send [23:02:35]OFD Sender: No OFD packet to send [23:02:40]OFD Sender: No OFD packet to send [23:02:45]OFD Sender: No OFD packet to send [23:02:50]OFD Sender: No OFD packet to send [23:02:55]OFD Sender: No OFD packet to send [23:03:00]OFD Sender: No OFD packet to send [23:03:05]OFD Sender: No OFD packet to send [23:03:10]OFD Sender: No OFD packet to send [23:03:15]OFD Sender: No OFD packet to send [23:03:20]OFD Sender: No OFD packet to send [23:03:25]OFD Sender: No OFD packet to send [23:03:30]OFD Sender: No OFD packet to send [23:03:35]OFD Sender: No OFD packet to send [23:03:40]OFD Sender: No OFD packet to send [23:03:45]OFD Sender: No OFD packet to send [23:03:50]OFD Sender: No OFD packet to send [23:03:55]OFD Sender: No OFD packet to send [23:04:00]OFD Sender: No OFD packet to send [23:04:05]OFD Sender: No OFD packet to send [23:04:10]OFD Sender: No OFD packet to send [23:04:15]OFD Sender: No OFD packet to send [23:04:20]OFD Sender: No OFD packet to send [23:04:25]OFD Sender: No OFD packet to send [23:04:30]OFD Sender: No OFD packet to send [23:04:35]OFD Sender: No OFD packet to send [23:04:40]OFD Sender: No OFD packet to send [23:04:45]OFD Sender: No OFD packet to send [23:04:50]OFD Sender: No OFD packet to send [23:04:55]OFD Sender: No OFD packet to send [23:05:00]OFD Sender: No OFD packet to send [23:05:05]OFD Sender: No OFD packet to send [23:05:10]OFD Sender: No OFD packet to send [23:05:15]OFD Sender: No OFD packet to send [23:05:20]OFD Sender: No OFD packet to send [23:05:25]OFD Sender: No OFD packet to send [23:05:30]OFD Sender: No OFD packet to send [23:05:35]OFD Sender: No OFD packet to send [23:05:40]OFD Sender: No OFD packet to send [23:05:45]OFD Sender: No OFD packet to send [23:05:50]OFD Sender: No OFD packet to send [23:05:55]OFD Sender: No OFD packet to send [23:06:00]OFD Sender: No OFD packet to send [23:06:05]OFD Sender: No OFD packet to send [23:06:10]OFD Sender: No OFD packet to send [23:06:15]OFD Sender: No OFD packet to send [23:06:20]OFD Sender: No OFD packet to send [23:06:25]OFD Sender: No OFD packet to send [23:06:30]OFD Sender: No OFD packet to send [23:06:35]OFD Sender: No OFD packet to send [23:06:40]OFD Sender: No OFD packet to send [23:06:45]OFD Sender: No OFD packet to send [23:06:50]OFD Sender: No OFD packet to send [23:06:55]OFD Sender: No OFD packet to send [23:07:00]OFD Sender: No OFD packet to send [23:07:05]OFD Sender: No OFD packet to send [23:07:10]OFD Sender: No OFD packet to send [23:07:15]OFD Sender: No OFD packet to send [23:07:20]OFD Sender: No OFD packet to send [23:07:25]OFD Sender: No OFD packet to send [23:07:30]OFD Sender: No OFD packet to send [23:07:35]OFD Sender: No OFD packet to send [23:07:40]OFD Sender: No OFD packet to send [23:07:45]OFD Sender: No OFD packet to send [23:07:50]OFD Sender: No OFD packet to send [23:07:55]OFD Sender: No OFD packet to send [23:08:00]OFD Sender: No OFD packet to send [23:08:05]OFD Sender: No OFD packet to send [23:08:10]OFD Sender: No OFD packet to send [23:08:15]OFD Sender: No OFD packet to send [23:08:20]OFD Sender: No OFD packet to send [23:08:25]OFD Sender: No OFD packet to send [23:08:30]OFD Sender: No OFD packet to send [23:08:35]OFD Sender: No OFD packet to send [23:08:40]OFD Sender: No OFD packet to send [23:08:45]OFD Sender: No OFD packet to send [23:08:50]OFD Sender: No OFD packet to send [23:08:55]OFD Sender: No OFD packet to send [23:09:00]OFD Sender: No OFD packet to send [23:09:05]OFD Sender: No OFD packet to send [23:09:10]OFD Sender: No OFD packet to send [23:09:15]OFD Sender: No OFD packet to send [23:09:20]OFD Sender: No OFD packet to send [23:09:25]OFD Sender: No OFD packet to send [23:09:30]OFD Sender: No OFD packet to send [23:09:35]OFD Sender: No OFD packet to send [23:09:40]OFD Sender: No OFD packet to send [23:09:45]OFD Sender: No OFD packet to send [23:09:50]OFD Sender: No OFD packet to send [23:09:55]OFD Sender: No OFD packet to send [23:10:00]OFD Sender: No OFD packet to send [23:10:05]OFD Sender: No OFD packet to send [23:10:10]OFD Sender: No OFD packet to send [23:10:15]OFD Sender: No OFD packet to send [23:10:20]OFD Sender: No OFD packet to send [23:10:25]OFD Sender: No OFD packet to send [23:10:30]OFD Sender: No OFD packet to send [23:10:35]OFD Sender: No OFD packet to send [23:10:40]OFD Sender: No OFD packet to send [23:10:45]OFD Sender: No OFD packet to send [23:10:50]OFD Sender: No OFD packet to send [23:10:55]OFD Sender: No OFD packet to send [23:11:00]OFD Sender: No OFD packet to send [23:11:05]OFD Sender: No OFD packet to send [23:11:10]OFD Sender: No OFD packet to send [23:11:15]OFD Sender: No OFD packet to send [23:11:20]accept exits with 9 [23:11:20]New connection [23:11:20]New thread 3066797412 created [23:11:20]Waiting for new connection... [23:11:20] Sock 9.Parse request [23:11:20]Sock 9.Check first char [23:11:20]Sock 9.First char is OK [23:11:20]request: POST /json_proto HTTP/1.0 [23:11:20]Method: POST [23:11:20]URL: /json_proto [23:11:20]Method is POST - this is cgi request [23:11:20]url: /json_proto [23:11:20]query_string will be loaded in cgi processing [23:11:20]execute_cgi json_proto POST (null) [23:11:20]execute_cgi path=json_proto method=POST [23:11:20]POST find Content-Length [23:11:20]Host: 172.17.60.69:8080 [23:11:20]Content-Length: 638 [23:11:20]Content-Type: application/json [23:11:20] [23:11:20]POST finish read [23:11:20]Found Content-Length = 638 [23:11:20]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)73324", "tax_sys" : 0, "items" : [ { "code": "4870001157913", "name": "\u0412\u043E\u0434\u0430 ASU 0,5\u043B c \u0431\u0435\u0437 \u0433\u0430\u0437\u0430", "price" : 40.00, "quantity" : 1.000, "sum" : 40.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 40.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:11:20]execute_script... [23:11:20]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)73324", "tax_sys" : 0, "items" : [ { "code": "4870001157913", "name": "\u0412\u043E\u0434\u0430 ASU 0,5\u043B c \u0431\u0435\u0437 \u0433\u0430\u0437\u0430", "price" : 40.00, "quantity" : 1.000, "sum" : 40.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 40.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:11:20]POST & json_proto [23:11:20]process_json_proto [23:11:20]json parsed OK: [23:11:20]protocol is kg_v1.0 [23:11:20]action value=close_receipt [23:11:20]process_action close_receipt [23:11:20]cmd_close_receipt [23:11:20]MH_GetDate [23:11:20]Write to MH i2c: F0 00 00 10 00 FF [23:11:20]Write i2c OK [23:11:20]MH_I2C_Read... [23:11:20]Read from MH i2c: F0 [23:11:20]MH_I2C_Read... [23:11:20]Read from MH i2c: F0 09 00 [23:11:20]MH_I2C_Read... [23:11:20]Read from MH i2c: F0 09 00 10 00 00 19 FC 5C 66 6A 96 4A 66 8F [23:11:20]GetLastDocTimeStamp 48 [23:11:20]current date 1717369881 [23:11:20]FM_GetShiftState [23:11:20]SAM_PROTO_GetShiftState [23:11:20]wFMCommunicate request_size=4 [23:11:20]MH_SAM_APDU [23:11:20]CAPDU: 80 13 01 00 [23:11:20]Write to MH i2c: E2 08 00 11 00 80 13 01 00 00 00 00 00 8E [23:11:20]Write i2c OK [23:11:20]MH_I2C_Read... [23:11:20]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:11:20]Read from MH i2c: E2 [23:11:20]MH_I2C_Read... [23:11:20]Read from MH i2c: E2 0E 00 [23:11:20]MH_I2C_Read... [23:11:20]Read from MH i2c: E2 0E 00 11 00 00 09 00 01 76 BD 5B 66 00 00 00 00 90 00 8E [23:11:20]RAPDU: 09 00 01 76 BD 5B 66 00 00 00 00 90 00 [23:11:20]wFMCommunicate OK [23:11:20]SAM_PROTO_GetShiftState done [23:11:20]FM_GetShiftState done [23:11:20]opened in 1717288310 [23:11:20]opened+sec_in_day 1717374710 [23:11:20]quantity*price = 4000 [23:11:20]sum+1 = 4001 [23:11:20]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 40.00 НСП 1% : 0.35 НДС 12% : 4.25 Наличными: 40.00 Безнал.: 0.00 Место: АЗС № 117 "Партнер Нефть" Адрес: 720001, г. Каракол, ул. Прежевальского 101/1 (кольцо), 42.500140, 78.386597 СНО: Общий режим Чек 121 02.06.2024 23:11 Смена: 372 ФФД: 1.0 ЗНМ: 0300000031 РНМ: 0000000000092737 Версия ККМ: 001 ФМ: 0000000000875074 ФД: 63733 ФПД: 123985952757628 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240602T231121&type=1&operation_type=1&fn_number=0000000000875074&fd_number=63733&fm=123985952757628&tin=02508201610067®Number=0000000000092737&sum=4000 0 [23:11:21]StoreToDocumentArchive [23:11:21]shift 372 fd 63733 [23:11:21]save to /storage/0372/doc_00063733 [23:11:21]save last doc name /storage/0372/doc_00063733 to /storage/kkm_last_doc_name [23:11:21]save OK [23:11:21]Clear old archive folders... [23:11:21]ProcessDocumentItem done err = 0, tmpTLVsize=278 [23:11:21]tlvbuf is 008ABB70 [23:11:21]SAM_PROTO_ClearQueue [23:11:21]wFMCommunicate request_size=4 [23:11:21]MH_SAM_APDU [23:11:21]CAPDU: 80 09 00 00 [23:11:21]Write to MH i2c: E2 08 00 1E 00 80 09 00 00 00 00 00 00 90 [23:11:21]Write i2c OK [23:11:21]MH_I2C_Read... [23:11:21]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [23:11:21]Read from MH i2c: E2 [23:11:21]MH_I2C_Read... [23:11:21]Read from MH i2c: E2 03 00 [23:11:21]MH_I2C_Read... [23:11:21]Read from MH i2c: E2 03 00 1E 00 00 90 00 92 [23:11:21]RAPDU: 90 00 [23:11:21]wFMCommunicate OK [23:11:21]SAM_PROTO_ClearQueue done [23:11:21]KKMCreateOFDPacket [23:11:21]OFDProtocolAddRootSTLVToBuf [23:11:21]FM_MakeSignedData [23:11:21]FM_MakeSignedData [23:11:21]SAM_PROTO_SignData [23:11:21]wFMCommunicate request_size=4 [23:11:21]MH_SAM_APDU [23:11:21]CAPDU: 80 0D 01 02 [23:11:21]Write to MH i2c: E2 08 00 1F 00 80 0D 01 02 00 00 00 00 98 [23:11:21]Write i2c OK [23:11:21]MH_I2C_Read... [23:11:21]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [23:11:21]Read from MH i2c: E2 [23:11:21]MH_I2C_Read... [23:11:21]Read from MH i2c: E2 03 00 [23:11:21]MH_I2C_Read... [23:11:21]Read from MH i2c: E2 03 00 1F 00 00 90 00 93 [23:11:21]RAPDU: 90 00 [23:11:21]wFMCommunicate OK [23:11:21]wFMCommunicate request_size=255 [23:11:21]MH_SAM_APDU [23:11:21]CAPDU: 80 0D 02 02 FA 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 34 38 37 30 30 30 31 31 35 37 39 31 33 06 04 24 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 30 2C 35 D0 BB 20 63 20 D0 B1 D0 B5 D0 B7 20 D0 B3 D0 B0 D0 B7 D0 B0 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 0F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 23 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A9 01 00 00 00 00 07 04 06 00 A0 0F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 79 00 00 00 F4 03 04 00 19 FC 5C 66 0E 04 04 00 74 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 33 37 11 04 10 00 30 30 [23:11:21]Write to MH i2c: E2 02 01 20 00 80 0D 02 02 FA 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 34 38 37 30 30 30 31 31 35 37 39 31 33 06 04 24 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 30 2C 35 D0 BB 20 63 20 D0 B1 D0 B5 D0 B7 20 D0 B3 D0 B0 D0 B7 D0 B0 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 0F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 23 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A9 01 00 00 00 00 07 04 06 00 A0 0F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 79 00 00 00 F4 03 04 00 19 FC 5C 66 0E 04 04 00 74 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 33 37 11 04 10 00 30 30 00 00 DC [23:11:21]Write i2c OK [23:11:21]MH_I2C_Read... [23:11:22]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:11:22]Read from MH i2c: E2 [23:11:22]MH_I2C_Read... [23:11:22]Read from MH i2c: E2 03 00 [23:11:22]MH_I2C_Read... [23:11:22]Read from MH i2c: E2 03 00 20 00 00 90 00 94 [23:11:22]RAPDU: 90 00 [23:11:22]wFMCommunicate OK [23:11:22]wFMCommunicate request_size=37 [23:11:22]MH_SAM_APDU [23:11:22]CAPDU: 80 0D 02 02 20 30 30 30 30 30 30 30 30 38 37 35 30 37 34 10 04 04 00 F5 F8 00 00 35 04 06 00 70 C3 BA AB D7 7C [23:11:22]Write to MH i2c: E2 28 00 21 00 80 0D 02 02 20 00 30 30 30 30 30 30 30 30 38 37 35 30 37 34 10 04 04 00 F5 F8 00 00 35 04 06 00 70 C3 BA AB D7 7C 00 00 C9 [23:11:22]Write i2c OK [23:11:22]MH_I2C_Read... [23:11:22]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:11:22]Read from MH i2c: E2 [23:11:22]MH_I2C_Read... [23:11:22]Read from MH i2c: E2 03 00 [23:11:22]MH_I2C_Read... [23:11:22]Read from MH i2c: E2 03 00 21 00 00 90 00 95 [23:11:22]RAPDU: 90 00 [23:11:22]wFMCommunicate OK [23:11:22]wFMCommunicate request_size=4 [23:11:22]MH_SAM_APDU [23:11:22]CAPDU: 80 0D 03 02 [23:11:22]Write to MH i2c: E2 08 00 22 00 80 0D 03 02 00 00 00 00 9D [23:11:22]Write i2c OK [23:11:22]MH_I2C_Read... [23:11:22]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [23:11:22]Read from MH i2c: E2 [23:11:22]MH_I2C_Read... [23:11:22]Read from MH i2c: E2 0B 00 [23:11:22]MH_I2C_Read... [23:11:22]Read from MH i2c: E2 0B 00 22 00 00 A0 E9 5E F0 DD F3 72 80 90 00 37 [23:11:22]RAPDU: A0 E9 5E F0 DD F3 72 80 90 00 [23:11:22]wFMCommunicate OK [23:11:22]SAM_PROTO_SignData done [23:11:22]FM_MakeSignedData done [23:11:22]CreateOFDProtocolMessage [23:11:22]wFMCommunicate request_size=4 [23:11:22]MH_SAM_APDU [23:11:22]CAPDU: 80 11 00 00 [23:11:22]Write to MH i2c: E2 08 00 23 00 80 11 00 00 00 00 00 00 9D [23:11:22]Write i2c OK [23:11:22]MH_I2C_Read... [23:11:22]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:11:22]Read from MH i2c: E2 [23:11:22]MH_I2C_Read... [23:11:22]Read from MH i2c: E2 17 00 [23:11:22]MH_I2C_Read... [23:11:22]Read from MH i2c: E2 17 00 23 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 90 00 EF [23:11:22]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 90 00 [23:11:22]wFMCommunicate OK [23:11:22]CreateOFDProtocolMessage done [23:11:22]OFDSenderStorePacket 63733 [23:11:22]StoreOFDPacket docnum=63733 [23:11:22]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 2A 01 00 00 6E 0F 22 01 7E D8 5A 03 01 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 34 38 37 30 30 30 31 31 35 37 39 31 33 06 04 24 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 30 2C 35 D0 BB 20 63 20 D0 B1 D0 B5 D0 B7 20 D0 B3 D0 B0 D0 B7 D0 B0 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 0F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 23 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A9 01 00 00 00 00 07 04 06 00 A0 0F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 79 00 00 00 F4 03 04 00 19 FC 5C 66 0E 04 04 00 74 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 10 04 04 00 F5 F8 00 00 35 04 06 00 70 C3 BA AB D7 7C A0 E9 5E F0 DD F3 72 80 [23:11:22]CheckFolder [23:11:22]dirname=/storage/ofd_packets [23:11:22]CheckFolder done [23:11:22]ProducePacketName [23:11:22]name=ofd_packets/00063733 [23:11:22]NVStorageSaveData ofd_packets/00063733 [23:11:22]File name is /storage/ofd_packets/00063733 [23:11:22]Write 328 bytes [23:11:22]NVStorageSaveData done [23:11:22]OFDSenderStorePacket done [23:11:22]KKMCreateOFDPacket done [23:11:22]NVStorageSaveData kkm_last_timestamp [23:11:22]File name is /storage/kkm_last_timestamp [23:11:22]Write 4 bytes [23:11:22]NVStorageSaveData done [23:11:22]ExternCall_PrintAddStr [23:11:22]wPrintStart [23:11:22]Write to MH i2c: 01 00 00 24 00 24 [23:11:22]Write i2c OK [23:11:22]MH_I2C_Read... [23:11:22]Read from MH i2c: 01 [23:11:22]MH_I2C_Read... [23:11:22]Read from MH i2c: 01 07 00 [23:11:22]MH_I2C_Read... [23:11:22]Read from MH i2c: 01 07 00 24 00 00 00 00 00 00 FF 0F 39 [23:11:22]RasterBufferAndPrint [23:11:22]line Счет N : (3)73324 [23:11:22]line ИНН: 02508201610067 [23:11:22]line Контрольно-Кассовый Чек [23:11:22]line ПРОДАЖА [23:11:22]line Товар: 4870001157913 [23:11:22]line Вода ASU 0,5л c без газа [23:11:22]line 1.000 * 40.00 [23:11:22]line = 40.00 [23:11:22]line НДС 12% НСП 1% [23:11:22]line > о реализуемом товаре [23:11:22]line ИТОГО: 40.00 [23:11:22]line НСП 1% : 0.35 [23:11:22]line НДС 12% : 4.25 [23:11:22]line Наличными: 40.00 [23:11:22]line Безнал.: 0.00 [23:11:22]line Место: АЗС № 117 "Партнер Нефть" [23:11:22]line Адрес: 720001, г. Каракол, ул. Прежевальского 101/1 (кольцо), 42.500140, 78.386597 [23:11:22]line СНО: Общий режим [23:11:22]line Чек 121 02.06.2024 23:11 [23:11:22]line Смена: 372 ФФД: 1.0 [23:11:22]line ЗНМ: 0300000031 [23:11:22]line РНМ: 0000000000092737 [23:11:22]line Версия ККМ: 001 [23:11:22]line ФМ: 0000000000875074 [23:11:22]line ФД: 63733 [23:11:22]line ФПД: 123985952757628 [23:11:22]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240602T231121&type=1&operation_type=1&fn_number=0000000000875074&fd_number=63733&fm=123985952757628&tin=02508201610067®Number=0000000000092737&sum=4000 [23:11:22]line 0 [23:11:22]written 0, free lines is 4095 [23:11:22]OFD Sender: Processing packet 63733 [packets to send 14, broken 13] [23:11:22]ProducePacketName [23:11:22]name=ofd_packets/00063733 [23:11:22]OFD Sender: To server: pG, [23:11:22]CommunicateWithHost lk.salyk.kg:30040 [23:11:22]ConnectInit lk.salyk.kg [23:11:22]Connected sock=10 [23:11:22]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 2A 01 00 00 6E 0F 22 01 7E D8 5A 03 01 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 34 38 37 30 30 30 31 31 35 37 39 31 33 06 04 24 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 30 2C 35 D0 BB 20 63 20 D0 B1 D0 B5 D0 B7 20 D0 B3 D0 B0 D0 B7 D0 B0 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 0F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 23 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A9 01 00 00 00 00 07 04 06 00 A0 0F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 79 00 00 00 F4 03 04 00 19 FC 5C 66 0E 04 04 00 74 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 10 04 04 00 F5 F8 00 00 35 04 06 00 70 C3 BA AB D7 7C A0 E9 5E F0 DD F3 72 80 [23:11:22]Write to MH i2c: 01 00 00 4C 00 4C [23:11:22]Write i2c OK [23:11:22]MH_I2C_Read... [23:11:22]Read from MH i2c: 01 [23:11:22]MH_I2C_Read... [23:11:22]Read from MH i2c: 01 07 00 [23:11:22]MH_I2C_Read... [23:11:22]Read from MH i2c: 01 07 00 4C 00 00 00 00 00 00 05 0D 65 [23:11:22]RasterBufferAndPrint [23:11:22]line [23:11:22]line [23:11:22]line [23:11:22]line [23:11:22]line [23:11:22]written 0, free lines is 3340 [23:11:22]MH_Cut [23:11:22]Write to MH i2c: D1 01 00 53 00 01 25 [23:11:22]Write i2c OK [23:11:22]MH_I2C_Read... [23:11:22]Read from MH i2c: D1 [23:11:22]MH_I2C_Read... [23:11:22]Read from MH i2c: D1 01 00 [23:11:22]MH_I2C_Read... [23:11:22]Read from MH i2c: D1 01 00 53 00 00 24 [23:11:22]Write to MH i2c: 01 00 00 54 00 54 [23:11:22]Write i2c OK [23:11:22]MH_I2C_Read... [23:11:22]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 4F 00 00 00 AD 29 47 00 8A F6 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 10 04 04 00 F5 F8 00 00 F4 03 04 00 EC A7 5C 66 B6 04 01 00 00 D0 5F 4D 07 B9 6F 2D B9 [23:11:22]CommunicateWithHost err = 0 [23:11:22]CheckOFDResponse [23:11:22]1017 (14) - 77093643461234 [23:11:22]1041 (16) - 0000000000875074 [23:11:22]1040 (4) - 63733 [23:11:22]1012 (4) - 02.06.2024 17:12 [23:11:22]1206 (1) - 0 [23:11:22]OFD Sender: Remove packet 63733 [23:11:22]ProducePacketName [23:11:22]name=ofd_packets/00063733 [23:11:22]NVStorageDeleteData [23:11:23]OFD Sender: No OFD packet to send [23:11:23]*** Cut start [23:11:23]*** Partial cut [23:11:23]*** CUTSNS_PIN = 1 [23:11:23]*** CUTSNS_PIN = 0 [23:11:23]*** Brake cut motor [23:11:24]Read from MH i2c: 01 [23:11:24]MH_I2C_Read... [23:11:24]*** Stop cut motor [23:11:24]*** Cut end [23:11:24]Read from MH i2c: 01 07 00 [23:11:24]MH_I2C_Read... [23:11:24]Read from MH i2c: 01 07 00 54 00 00 00 00 00 00 FF 0F 69 [23:11:24]process_action close_receipt done [23:11:24]requested_data is exist [23:11:24]produce_requested_data [23:11:24]requested_item fm.sn is exist - process it [23:11:24]wFMCommunicate request_size=4 [23:11:24]MH_SAM_APDU [23:11:24]CAPDU: 80 11 00 00 [23:11:24]Write to MH i2c: E2 08 00 55 00 80 11 00 00 00 00 00 00 CF [23:11:24]Write i2c OK [23:11:24]MH_I2C_Read... [23:11:24]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:11:24]Read from MH i2c: E2 [23:11:24]MH_I2C_Read... [23:11:24]Read from MH i2c: E2 17 00 [23:11:24]MH_I2C_Read... [23:11:24]Read from MH i2c: E2 17 00 55 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 90 00 21 [23:11:24]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 90 00 [23:11:24]wFMCommunicate OK [23:11:24]requested_item fd.num is exist - process it [23:11:24]SAM_PROTO_GetFieldsCounters [23:11:24]wFMCommunicate request_size=4 [23:11:24]MH_SAM_APDU [23:11:24]CAPDU: 80 13 00 00 [23:11:24]Write to MH i2c: E2 08 00 56 00 80 13 00 00 00 00 00 00 D2 [23:11:24]Write i2c OK [23:11:24]MH_I2C_Read... [23:11:24]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:11:24]Read from MH i2c: E2 [23:11:24]MH_I2C_Read... [23:11:24]Read from MH i2c: E2 62 00 [23:11:24]MH_I2C_Read... [23:11:24]Read from MH i2c: E2 62 00 56 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 33 37 10 04 04 00 F5 F8 00 00 0E 04 04 00 74 01 00 00 12 04 04 00 79 00 00 00 5E 04 04 00 79 00 00 00 57 04 04 00 7A 00 00 00 19 04 04 00 00 00 00 00 90 00 C2 [23:11:24]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 33 37 10 04 04 00 F5 F8 00 00 0E 04 04 00 74 01 00 00 12 04 04 00 79 00 00 00 5E 04 04 00 79 00 00 00 57 04 04 00 7A 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:11:24]wFMCommunicate OK [23:11:24]SAM_PROTO_GetFieldsCounters done [23:11:24]requested_item shift.num is exist - process it [23:11:24]requested_item shift.opened is exist - process it [23:11:24]req_shift_opened [23:11:24]FM_GetShiftState [23:11:24]SAM_PROTO_GetShiftState [23:11:24]wFMCommunicate request_size=4 [23:11:24]MH_SAM_APDU [23:11:24]CAPDU: 80 13 01 00 [23:11:24]Write to MH i2c: E2 08 00 57 00 80 13 01 00 00 00 00 00 D4 [23:11:24]Write i2c OK [23:11:24]MH_I2C_Read... [23:11:24]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:11:24]Read from MH i2c: E2 [23:11:24]MH_I2C_Read... [23:11:24]Read from MH i2c: E2 0E 00 [23:11:24]MH_I2C_Read... [23:11:24]Read from MH i2c: E2 0E 00 57 00 00 09 00 01 76 BD 5B 66 00 00 00 00 90 00 D4 [23:11:24]RAPDU: 09 00 01 76 BD 5B 66 00 00 00 00 90 00 [23:11:24]wFMCommunicate OK [23:11:24]SAM_PROTO_GetShiftState done [23:11:24]FM_GetShiftState done [23:11:24]req_shift_opened done [23:11:24]requested_item shift.open_date is exist - process it [23:11:24]req_shift_open_date [23:11:24]req_shift_open_date done [23:11:24]produce_requested_data done [23:11:24]produce_requested_data return {"fm.sn":"0000000000875074","fd.num":63733,"shift.num":372,"shift.opened":1,"shift.open_date":1717288310} [23:11:24]process_action_free close_receipt [23:11:24]json_value_free [23:11:24]json_value_free done [23:11:24]process_json_proto returns [23:11:24]Send response to host [23:11:24]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875074","fd.num":63733,"shift.num":372,"shift.opened":1,"shift.open_date":1717288310}}} [23:11:24]free response buf [23:11:24]execute_script done [23:11:24]execute_script returns [23:11:24]free content buf [23:11:24]Sock 9.Close socket [23:11:24]Sock 9.Thread stoped [23:11:28]OFD Sender: No OFD packet to send [23:11:33]OFD Sender: No OFD packet to send [23:11:38]OFD Sender: No OFD packet to send [23:11:43]OFD Sender: No OFD packet to send [23:11:48]OFD Sender: No OFD packet to send [23:11:53]OFD Sender: No OFD packet to send [23:11:58]OFD Sender: No OFD packet to send [23:12:03]OFD Sender: No OFD packet to send [23:12:08]OFD Sender: No OFD packet to send [23:12:13]OFD Sender: No OFD packet to send [23:12:18]OFD Sender: No OFD packet to send [23:12:23]OFD Sender: No OFD packet to send [23:12:28]OFD Sender: No OFD packet to send [23:12:33]OFD Sender: No OFD packet to send [23:12:38]OFD Sender: No OFD packet to send [23:12:43]OFD Sender: No OFD packet to send [23:12:48]OFD Sender: No OFD packet to send [23:12:53]OFD Sender: No OFD packet to send [23:12:58]OFD Sender: No OFD packet to send [23:13:03]OFD Sender: No OFD packet to send [23:13:08]OFD Sender: No OFD packet to send [23:13:13]OFD Sender: No OFD packet to send [23:13:18]OFD Sender: No OFD packet to send [23:13:23]OFD Sender: No OFD packet to send [23:13:28]OFD Sender: No OFD packet to send [23:13:33]OFD Sender: No OFD packet to send [23:13:38]OFD Sender: No OFD packet to send [23:13:43]OFD Sender: No OFD packet to send [23:13:48]OFD Sender: No OFD packet to send [23:13:53]OFD Sender: No OFD packet to send [23:13:58]OFD Sender: No OFD packet to send [23:14:03]OFD Sender: No OFD packet to send [23:14:08]OFD Sender: No OFD packet to send [23:14:13]OFD Sender: No OFD packet to send [23:14:18]OFD Sender: No OFD packet to send [23:14:23]OFD Sender: No OFD packet to send [23:14:28]OFD Sender: No OFD packet to send [23:14:33]OFD Sender: No OFD packet to send [23:14:38]OFD Sender: No OFD packet to send [23:14:43]OFD Sender: No OFD packet to send [23:14:48]OFD Sender: No OFD packet to send [23:14:53]OFD Sender: No OFD packet to send [23:14:58]OFD Sender: No OFD packet to send [23:15:03]OFD Sender: No OFD packet to send [23:15:08]OFD Sender: No OFD packet to send [23:15:13]OFD Sender: No OFD packet to send [23:15:18]OFD Sender: No OFD packet to send [23:15:23]OFD Sender: No OFD packet to send [23:15:28]OFD Sender: No OFD packet to send [23:15:33]OFD Sender: No OFD packet to send [23:15:38]OFD Sender: No OFD packet to send [23:15:43]OFD Sender: No OFD packet to send [23:15:48]OFD Sender: No OFD packet to send [23:15:53]OFD Sender: No OFD packet to send [23:15:58]OFD Sender: No OFD packet to send [23:16:03]OFD Sender: No OFD packet to send [23:16:08]OFD Sender: No OFD packet to send [23:16:13]OFD Sender: No OFD packet to send [23:16:18]OFD Sender: No OFD packet to send [23:16:23]OFD Sender: No OFD packet to send [23:16:28]OFD Sender: No OFD packet to send [23:16:33]OFD Sender: No OFD packet to send [23:16:38]OFD Sender: No OFD packet to send [23:16:43]OFD Sender: No OFD packet to send [23:16:48]OFD Sender: No OFD packet to send [23:16:53]OFD Sender: No OFD packet to send [23:16:58]OFD Sender: No OFD packet to send [23:17:03]OFD Sender: No OFD packet to send [23:17:08]OFD Sender: No OFD packet to send [23:17:13]OFD Sender: No OFD packet to send [23:17:18]OFD Sender: No OFD packet to send [23:17:23]OFD Sender: No OFD packet to send [23:17:28]OFD Sender: No OFD packet to send [23:17:33]OFD Sender: No OFD packet to send [23:17:38]OFD Sender: No OFD packet to send [23:17:43]OFD Sender: No OFD packet to send [23:17:48]OFD Sender: No OFD packet to send [23:17:52]accept exits with 7 [23:17:52]New connection [23:17:52]New thread 3066654052 created [23:17:52]Thread 3066797412 joined [23:17:52]Waiting for new connection... [23:17:52] Sock 7.Parse request [23:17:52]Sock 7.Check first char [23:17:52]Sock 7.First char is OK [23:17:52]request: POST /json_proto HTTP/1.0 [23:17:52]Method: POST [23:17:52]URL: /json_proto [23:17:52]Method is POST - this is cgi request [23:17:52]url: /json_proto [23:17:52]query_string will be loaded in cgi processing [23:17:52]execute_cgi json_proto POST (null) [23:17:52]execute_cgi path=json_proto method=POST [23:17:52]POST find Content-Length [23:17:52]Host: 172.17.60.69:8080 [23:17:52]Content-Length: 600 [23:17:52]Content-Type: application/json [23:17:52] [23:17:52]POST finish read [23:17:52]Found Content-Length = 600 [23:17:52]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)73325", "tax_sys" : 0, "items" : [ { "code": "46153715", "name": "\u0420/\u0436 Orbit XXL white bubblemint 20,4\u0433", "price" : 51.00, "quantity" : 1.000, "sum" : 51.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 51.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:17:52]execute_script... [23:17:52]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)73325", "tax_sys" : 0, "items" : [ { "code": "46153715", "name": "\u0420/\u0436 Orbit XXL white bubblemint 20,4\u0433", "price" : 51.00, "quantity" : 1.000, "sum" : 51.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 51.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:17:52]POST & json_proto [23:17:52]process_json_proto [23:17:52]json parsed OK: [23:17:52]protocol is kg_v1.0 [23:17:52]action value=close_receipt [23:17:52]process_action close_receipt [23:17:52]cmd_close_receipt [23:17:52]MH_GetDate [23:17:52]Write to MH i2c: F0 00 00 58 00 47 [23:17:52]Write i2c OK [23:17:52]MH_I2C_Read... [23:17:52]Read from MH i2c: F0 [23:17:52]MH_I2C_Read... [23:17:52]Read from MH i2c: F0 09 00 [23:17:52]MH_I2C_Read... [23:17:52]Read from MH i2c: F0 09 00 58 00 00 A1 FD 5C 66 6A 96 4A 66 60 [23:17:52]GetLastDocTimeStamp 1717369881 [23:17:52]current date 1717370273 [23:17:52]FM_GetShiftState [23:17:52]SAM_PROTO_GetShiftState [23:17:52]wFMCommunicate request_size=4 [23:17:52]MH_SAM_APDU [23:17:52]CAPDU: 80 13 01 00 [23:17:52]Write to MH i2c: E2 08 00 59 00 80 13 01 00 00 00 00 00 D6 [23:17:52]Write i2c OK [23:17:52]MH_I2C_Read... [23:17:52]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:17:52]Read from MH i2c: E2 [23:17:52]MH_I2C_Read... [23:17:52]Read from MH i2c: E2 0E 00 [23:17:52]MH_I2C_Read... [23:17:52]Read from MH i2c: E2 0E 00 59 00 00 09 00 01 76 BD 5B 66 00 00 00 00 90 00 D6 [23:17:52]RAPDU: 09 00 01 76 BD 5B 66 00 00 00 00 90 00 [23:17:52]wFMCommunicate OK [23:17:52]SAM_PROTO_GetShiftState done [23:17:52]FM_GetShiftState done [23:17:52]opened in 1717288310 [23:17:52]opened+sec_in_day 1717374710 [23:17:52]quantity*price = 5100 [23:17:52]sum+1 = 5101 [23:17:52]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 51.00 НСП 1% : 0.45 НДС 12% : 5.42 Наличными: 51.00 Безнал.: 0.00 Место: АЗС № 117 "Партнер Нефть" Адрес: 720001, г. Каракол, ул. Прежевальского 101/1 (кольцо), 42.500140, 78.386597 СНО: Общий режим Чек 122 02.06.2024 23:17 Смена: 372 ФФД: 1.0 ЗНМ: 0300000031 РНМ: 0000000000092737 Версия ККМ: 001 ФМ: 0000000000875074 ФД: 63734 ФПД: 76669486986400 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240602T231753&type=1&operation_type=1&fn_number=0000000000875074&fd_number=63734&fm=76669486986400&tin=02508201610067®Number=0000000000092737&sum=5100 0 [23:17:53]StoreToDocumentArchive [23:17:53]shift 372 fd 63734 [23:17:53]save to /storage/0372/doc_00063734 [23:17:53]save last doc name /storage/0372/doc_00063734 to /storage/kkm_last_doc_name [23:17:53]save OK [23:17:53]Clear old archive folders... [23:17:53]ProcessDocumentItem done err = 0, tmpTLVsize=276 [23:17:53]tlvbuf is 0088F520 [23:17:53]SAM_PROTO_ClearQueue [23:17:53]wFMCommunicate request_size=4 [23:17:53]MH_SAM_APDU [23:17:53]CAPDU: 80 09 00 00 [23:17:53]Write to MH i2c: E2 08 00 66 00 80 09 00 00 00 00 00 00 D8 [23:17:53]Write i2c OK [23:17:53]MH_I2C_Read... [23:17:53]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [23:17:53]Read from MH i2c: E2 [23:17:53]MH_I2C_Read... [23:17:53]Read from MH i2c: E2 03 00 [23:17:53]MH_I2C_Read... [23:17:53]Read from MH i2c: E2 03 00 66 00 00 90 00 DA [23:17:53]RAPDU: 90 00 [23:17:53]wFMCommunicate OK [23:17:53]SAM_PROTO_ClearQueue done [23:17:53]KKMCreateOFDPacket [23:17:53]OFDProtocolAddRootSTLVToBuf [23:17:53]FM_MakeSignedData [23:17:53]FM_MakeSignedData [23:17:53]SAM_PROTO_SignData [23:17:53]wFMCommunicate request_size=4 [23:17:53]MH_SAM_APDU [23:17:53]CAPDU: 80 0D 01 02 [23:17:53]Write to MH i2c: E2 08 00 67 00 80 0D 01 02 00 00 00 00 E0 [23:17:53]Write i2c OK [23:17:53]MH_I2C_Read... [23:17:53]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [23:17:53]Read from MH i2c: E2 [23:17:53]MH_I2C_Read... [23:17:53]Read from MH i2c: E2 03 00 [23:17:53]MH_I2C_Read... [23:17:53]Read from MH i2c: E2 03 00 67 00 00 90 00 DB [23:17:53]RAPDU: 90 00 [23:17:53]wFMCommunicate OK [23:17:53]wFMCommunicate request_size=255 [23:17:53]MH_SAM_APDU [23:17:53]CAPDU: 80 0D 02 02 FA 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 08 00 34 36 31 35 33 37 31 35 06 04 27 00 D0 A0 2F D0 B6 20 4F 72 62 69 74 20 58 58 4C 20 77 68 69 74 65 20 62 75 62 62 6C 65 6D 69 6E 74 20 32 30 2C 34 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 13 00 00 00 00 13 04 06 00 EC 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1E 02 00 00 00 00 07 04 06 00 EC 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 7A 00 00 00 F4 03 04 00 A1 FD 5C 66 0E 04 04 00 74 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 33 37 11 04 10 00 30 30 30 30 [23:17:53]Write to MH i2c: E2 02 01 68 00 80 0D 02 02 FA 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 08 00 34 36 31 35 33 37 31 35 06 04 27 00 D0 A0 2F D0 B6 20 4F 72 62 69 74 20 58 58 4C 20 77 68 69 74 65 20 62 75 62 62 6C 65 6D 69 6E 74 20 32 30 2C 34 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 13 00 00 00 00 13 04 06 00 EC 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1E 02 00 00 00 00 07 04 06 00 EC 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 7A 00 00 00 F4 03 04 00 A1 FD 5C 66 0E 04 04 00 74 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 33 37 11 04 10 00 30 30 30 30 00 00 82 [23:17:53]Write i2c OK [23:17:53]MH_I2C_Read... [23:17:53]OFD Sender: No OFD packet to send [23:17:53]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:17:53]Read from MH i2c: E2 [23:17:53]MH_I2C_Read... [23:17:53]Read from MH i2c: E2 03 00 [23:17:53]MH_I2C_Read... [23:17:53]Read from MH i2c: E2 03 00 68 00 00 90 00 DC [23:17:53]RAPDU: 90 00 [23:17:53]wFMCommunicate OK [23:17:53]wFMCommunicate request_size=35 [23:17:53]MH_SAM_APDU [23:17:53]CAPDU: 80 0D 02 02 1E 30 30 30 30 30 30 38 37 35 30 37 34 10 04 04 00 F6 F8 00 00 35 04 06 00 45 BB 01 89 74 A0 [23:17:53]Write to MH i2c: E2 26 00 69 00 80 0D 02 02 1E 00 30 30 30 30 30 30 38 37 35 30 37 34 10 04 04 00 F6 F8 00 00 35 04 06 00 45 BB 01 89 74 A0 00 00 61 [23:17:53]Write i2c OK [23:17:53]MH_I2C_Read... [23:17:53]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:17:53]Read from MH i2c: E2 [23:17:53]MH_I2C_Read... [23:17:53]Read from MH i2c: E2 03 00 [23:17:53]MH_I2C_Read... [23:17:53]Read from MH i2c: E2 03 00 69 00 00 90 00 DD [23:17:53]RAPDU: 90 00 [23:17:53]wFMCommunicate OK [23:17:53]wFMCommunicate request_size=4 [23:17:53]MH_SAM_APDU [23:17:53]CAPDU: 80 0D 03 02 [23:17:53]Write to MH i2c: E2 08 00 6A 00 80 0D 03 02 00 00 00 00 E5 [23:17:53]Write i2c OK [23:17:53]MH_I2C_Read... [23:17:54]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [23:17:54]Read from MH i2c: E2 [23:17:54]MH_I2C_Read... [23:17:54]Read from MH i2c: E2 0B 00 [23:17:54]MH_I2C_Read... [23:17:54]Read from MH i2c: E2 0B 00 6A 00 00 B1 E2 AA AE 8A B7 76 4E 90 00 D6 [23:17:54]RAPDU: B1 E2 AA AE 8A B7 76 4E 90 00 [23:17:54]wFMCommunicate OK [23:17:54]SAM_PROTO_SignData done [23:17:54]FM_MakeSignedData done [23:17:54]CreateOFDProtocolMessage [23:17:54]wFMCommunicate request_size=4 [23:17:54]MH_SAM_APDU [23:17:54]CAPDU: 80 11 00 00 [23:17:54]Write to MH i2c: E2 08 00 6B 00 80 11 00 00 00 00 00 00 E5 [23:17:54]Write i2c OK [23:17:54]MH_I2C_Read... [23:17:54]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:17:54]Read from MH i2c: E2 [23:17:54]MH_I2C_Read... [23:17:54]Read from MH i2c: E2 17 00 [23:17:54]MH_I2C_Read... [23:17:54]Read from MH i2c: E2 17 00 6B 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 90 00 37 [23:17:54]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 90 00 [23:17:54]wFMCommunicate OK [23:17:54]CreateOFDProtocolMessage done [23:17:54]OFDSenderStorePacket 63734 [23:17:54]StoreOFDPacket docnum=63734 [23:17:54]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 28 01 00 00 05 F5 20 01 DB 76 5A 03 01 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 08 00 34 36 31 35 33 37 31 35 06 04 27 00 D0 A0 2F D0 B6 20 4F 72 62 69 74 20 58 58 4C 20 77 68 69 74 65 20 62 75 62 62 6C 65 6D 69 6E 74 20 32 30 2C 34 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 13 00 00 00 00 13 04 06 00 EC 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1E 02 00 00 00 00 07 04 06 00 EC 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 7A 00 00 00 F4 03 04 00 A1 FD 5C 66 0E 04 04 00 74 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 10 04 04 00 F6 F8 00 00 35 04 06 00 45 BB 01 89 74 A0 B1 E2 AA AE 8A B7 76 4E [23:17:54]CheckFolder [23:17:54]dirname=/storage/ofd_packets [23:17:54]CheckFolder done [23:17:54]ProducePacketName [23:17:54]name=ofd_packets/00063734 [23:17:54]NVStorageSaveData ofd_packets/00063734 [23:17:54]File name is /storage/ofd_packets/00063734 [23:17:54]Write 326 bytes [23:17:54]NVStorageSaveData done [23:17:54]OFDSenderStorePacket done [23:17:54]KKMCreateOFDPacket done [23:17:54]NVStorageSaveData kkm_last_timestamp [23:17:54]File name is /storage/kkm_last_timestamp [23:17:54]Write 4 bytes [23:17:54]NVStorageSaveData done [23:17:54]ExternCall_PrintAddStr [23:17:54]wPrintStart [23:17:54]Write to MH i2c: 01 00 00 6C 00 6C [23:17:54]Write i2c OK [23:17:54]MH_I2C_Read... [23:17:54]Read from MH i2c: 01 [23:17:54]MH_I2C_Read... [23:17:54]Read from MH i2c: 01 07 00 [23:17:54]MH_I2C_Read... [23:17:54]Read from MH i2c: 01 07 00 6C 00 00 00 00 00 00 FF 0F 81 [23:17:54]RasterBufferAndPrint [23:17:54]line Счет N : (3)73325 [23:17:54]line ИНН: 02508201610067 [23:17:54]line Контрольно-Кассовый Чек [23:17:54]line ПРОДАЖА [23:17:54]line Товар: 46153715 [23:17:54]line Р/ж Orbit XXL white bubblemint 20,4г [23:17:54]line 1.000 * 51.00 [23:17:54]line = 51.00 [23:17:54]line НДС 12% НСП 1% [23:17:54]line > о реализуемом товаре [23:17:54]line ИТОГО: 51.00 [23:17:54]line НСП 1% : 0.45 [23:17:54]line НДС 12% : 5.42 [23:17:54]line Наличными: 51.00 [23:17:54]line Безнал.: 0.00 [23:17:54]line Место: АЗС № 117 "Партнер Нефть" [23:17:54]line Адрес: 720001, г. Каракол, ул. Прежевальского 101/1 (кольцо), 42.500140, 78.386597 [23:17:54]line СНО: Общий режим [23:17:54]line Чек 122 02.06.2024 23:17 [23:17:54]line Смена: 372 ФФД: 1.0 [23:17:54]line ЗНМ: 0300000031 [23:17:54]line РНМ: 0000000000092737 [23:17:54]line Версия ККМ: 001 [23:17:54]line ФМ: 0000000000875074 [23:17:54]line ФД: 63734 [23:17:54]line ФПД: 76669486986400 [23:17:54]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240602T231753&type=1&operation_type=1&fn_number=0000000000875074&fd_number=63734&fm=76669486986400&tin=02508201610067®Number=0000000000092737&sum=5100 [23:17:54]line 0 [23:17:54]written 0, free lines is 4095 [23:17:54]OFD Sender: Processing packet 63734 [packets to send 14, broken 13] [23:17:54]ProducePacketName [23:17:54]name=ofd_packets/00063734 [23:17:54]OFD Sender: To server: pG, [23:17:54]CommunicateWithHost lk.salyk.kg:30040 [23:17:54]ConnectInit lk.salyk.kg [23:17:54]Connected sock=10 [23:17:54]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 28 01 00 00 05 F5 20 01 DB 76 5A 03 01 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 08 00 34 36 31 35 33 37 31 35 06 04 27 00 D0 A0 2F D0 B6 20 4F 72 62 69 74 20 58 58 4C 20 77 68 69 74 65 20 62 75 62 62 6C 65 6D 69 6E 74 20 32 30 2C 34 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 13 00 00 00 00 13 04 06 00 EC 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1E 02 00 00 00 00 07 04 06 00 EC 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 7A 00 00 00 F4 03 04 00 A1 FD 5C 66 0E 04 04 00 74 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 10 04 04 00 F6 F8 00 00 35 04 06 00 45 BB 01 89 74 A0 B1 E2 AA AE 8A B7 76 4E [23:17:54]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 4F 00 00 00 A1 FE 47 00 72 14 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 10 04 04 00 F6 F8 00 00 F4 03 04 00 74 A9 5C 66 B6 04 01 00 00 34 4D 73 06 40 98 CD 2B [23:17:54]CommunicateWithHost err = 0 [23:17:54]CheckOFDResponse [23:17:54]1017 (14) - 77093643461234 [23:17:54]1041 (16) - 0000000000875074 [23:17:54]1040 (4) - 63734 [23:17:54]1012 (4) - 02.06.2024 17:18 [23:17:54]1206 (1) - 0 [23:17:54]OFD Sender: Remove packet 63734 [23:17:54]ProducePacketName [23:17:54]name=ofd_packets/00063734 [23:17:54]NVStorageDeleteData [23:17:54]Write to MH i2c: 01 00 00 95 00 95 [23:17:54]Write i2c OK [23:17:54]MH_I2C_Read... [23:17:54]Read from MH i2c: 01 [23:17:54]MH_I2C_Read... [23:17:54]Read from MH i2c: 01 07 00 [23:17:54]MH_I2C_Read... [23:17:54]Read from MH i2c: 01 07 00 95 00 00 00 00 00 00 E7 0C 8F [23:17:54]RasterBufferAndPrint [23:17:54]line [23:17:54]line [23:17:54]line [23:17:54]line [23:17:54]line [23:17:54]written 0, free lines is 3310 [23:17:54]MH_Cut [23:17:54]Write to MH i2c: D1 01 00 9C 00 01 6E [23:17:54]Write i2c OK [23:17:54]MH_I2C_Read... [23:17:54]Read from MH i2c: D1 [23:17:54]MH_I2C_Read... [23:17:54]Read from MH i2c: D1 01 00 [23:17:54]MH_I2C_Read... [23:17:54]Read from MH i2c: D1 01 00 9C 00 00 6D [23:17:54]Write to MH i2c: 01 00 00 9D 00 9D [23:17:54]Write i2c OK [23:17:54]MH_I2C_Read... [23:17:54]OFD Sender: No OFD packet to send [23:17:55]*** Cut start [23:17:55]*** Partial cut [23:17:55]*** CUTSNS_PIN = 1 [23:17:55]*** CUTSNS_PIN = 0 [23:17:55]*** Brake cut motor [23:17:55]Read from MH i2c: 01 [23:17:55]MH_I2C_Read... [23:17:55]*** Stop cut motor [23:17:55]*** Cut end [23:17:55]Read from MH i2c: 01 07 00 [23:17:55]MH_I2C_Read... [23:17:55]Read from MH i2c: 01 07 00 9D 00 00 00 00 00 00 FF 0F B2 [23:17:55]process_action close_receipt done [23:17:55]requested_data is exist [23:17:55]produce_requested_data [23:17:55]requested_item fm.sn is exist - process it [23:17:55]wFMCommunicate request_size=4 [23:17:55]MH_SAM_APDU [23:17:55]CAPDU: 80 11 00 00 [23:17:55]Write to MH i2c: E2 08 00 9E 00 80 11 00 00 00 00 00 00 18 [23:17:55]Write i2c OK [23:17:55]MH_I2C_Read... [23:17:56]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:17:56]Read from MH i2c: E2 [23:17:56]MH_I2C_Read... [23:17:56]Read from MH i2c: E2 17 00 [23:17:56]MH_I2C_Read... [23:17:56]Read from MH i2c: E2 17 00 9E 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 90 00 6A [23:17:56]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 90 00 [23:17:56]wFMCommunicate OK [23:17:56]requested_item fd.num is exist - process it [23:17:56]SAM_PROTO_GetFieldsCounters [23:17:56]wFMCommunicate request_size=4 [23:17:56]MH_SAM_APDU [23:17:56]CAPDU: 80 13 00 00 [23:17:56]Write to MH i2c: E2 08 00 9F 00 80 13 00 00 00 00 00 00 1B [23:17:56]Write i2c OK [23:17:56]MH_I2C_Read... [23:17:56]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:17:56]Read from MH i2c: E2 [23:17:56]MH_I2C_Read... [23:17:56]Read from MH i2c: E2 62 00 [23:17:56]MH_I2C_Read... [23:17:56]Read from MH i2c: E2 62 00 9F 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 33 37 10 04 04 00 F6 F8 00 00 0E 04 04 00 74 01 00 00 12 04 04 00 7A 00 00 00 5E 04 04 00 7A 00 00 00 57 04 04 00 7B 00 00 00 19 04 04 00 00 00 00 00 90 00 0F [23:17:56]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 33 37 10 04 04 00 F6 F8 00 00 0E 04 04 00 74 01 00 00 12 04 04 00 7A 00 00 00 5E 04 04 00 7A 00 00 00 57 04 04 00 7B 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:17:56]wFMCommunicate OK [23:17:56]SAM_PROTO_GetFieldsCounters done [23:17:56]requested_item shift.num is exist - process it [23:17:56]requested_item shift.opened is exist - process it [23:17:56]req_shift_opened [23:17:56]FM_GetShiftState [23:17:56]SAM_PROTO_GetShiftState [23:17:56]wFMCommunicate request_size=4 [23:17:56]MH_SAM_APDU [23:17:56]CAPDU: 80 13 01 00 [23:17:56]Write to MH i2c: E2 08 00 A0 00 80 13 01 00 00 00 00 00 1D [23:17:56]Write i2c OK [23:17:56]MH_I2C_Read... [23:17:56]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:17:56]Read from MH i2c: E2 [23:17:56]MH_I2C_Read... [23:17:56]Read from MH i2c: E2 0E 00 [23:17:56]MH_I2C_Read... [23:17:56]Read from MH i2c: E2 0E 00 A0 00 00 09 00 01 76 BD 5B 66 00 00 00 00 90 00 1D [23:17:56]RAPDU: 09 00 01 76 BD 5B 66 00 00 00 00 90 00 [23:17:56]wFMCommunicate OK [23:17:56]SAM_PROTO_GetShiftState done [23:17:56]FM_GetShiftState done [23:17:56]req_shift_opened done [23:17:56]requested_item shift.open_date is exist - process it [23:17:56]req_shift_open_date [23:17:56]req_shift_open_date done [23:17:56]produce_requested_data done [23:17:56]produce_requested_data return {"fm.sn":"0000000000875074","fd.num":63734,"shift.num":372,"shift.opened":1,"shift.open_date":1717288310} [23:17:56]process_action_free close_receipt [23:17:56]json_value_free [23:17:56]json_value_free done [23:17:56]process_json_proto returns [23:17:56]Send response to host [23:17:56]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875074","fd.num":63734,"shift.num":372,"shift.opened":1,"shift.open_date":1717288310}}} [23:17:56]free response buf [23:17:56]execute_script done [23:17:56]execute_script returns [23:17:56]free content buf [23:17:56]Sock 7.Close socket [23:17:56]Sock 7.Thread stoped [23:17:59]OFD Sender: No OFD packet to send [23:18:04]OFD Sender: No OFD packet to send [23:18:09]OFD Sender: No OFD packet to send [23:18:14]OFD Sender: No OFD packet to send [23:18:19]OFD Sender: No OFD packet to send [23:18:24]OFD Sender: No OFD packet to send [23:18:29]OFD Sender: No OFD packet to send [23:18:34]OFD Sender: No OFD packet to send [23:18:39]OFD Sender: No OFD packet to send [23:18:44]OFD Sender: No OFD packet to send [23:18:49]OFD Sender: No OFD packet to send [23:18:54]OFD Sender: No OFD packet to send [23:18:59]OFD Sender: No OFD packet to send [23:19:05]OFD Sender: No OFD packet to send [23:19:10]OFD Sender: No OFD packet to send [23:19:15]OFD Sender: No OFD packet to send [23:19:20]OFD Sender: No OFD packet to send [23:19:25]OFD Sender: No OFD packet to send [23:19:27]accept exits with 9 [23:19:27]New connection [23:19:27]New thread 3066797412 created [23:19:27]Thread 3066654052 joined [23:19:27]Waiting for new connection... [23:19:27] Sock 9.Parse request [23:19:27]Sock 9.Check first char [23:19:27]Sock 9.First char is OK [23:19:27]request: POST /json_proto HTTP/1.0 [23:19:27]Method: POST [23:19:27]URL: /json_proto [23:19:27]Method is POST - this is cgi request [23:19:27]url: /json_proto [23:19:27]query_string will be loaded in cgi processing [23:19:27]execute_cgi json_proto POST (null) [23:19:27]execute_cgi path=json_proto method=POST [23:19:27]POST find Content-Length [23:19:27]Host: 172.17.60.69:8080 [23:19:27]Content-Length: 629 [23:19:27]Content-Type: application/json [23:19:27] [23:19:27]POST finish read [23:19:27]Found Content-Length = 629 [23:19:27]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)73326", "tax_sys" : 0, "items" : [ { "code": "6957531032007", "name": "\u041A\u0430\u0431\u0435\u043B\u044C hoco RAP CHAR X1 \u0410pple 1\u043C", "price" : 271.00, "quantity" : 1.000, "sum" : 271.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 271.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:19:27]execute_script... [23:19:27]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)73326", "tax_sys" : 0, "items" : [ { "code": "6957531032007", "name": "\u041A\u0430\u0431\u0435\u043B\u044C hoco RAP CHAR X1 \u0410pple 1\u043C", "price" : 271.00, "quantity" : 1.000, "sum" : 271.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 271.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:19:27]POST & json_proto [23:19:27]process_json_proto [23:19:27]json parsed OK: [23:19:27]protocol is kg_v1.0 [23:19:27]action value=close_receipt [23:19:27]process_action close_receipt [23:19:27]cmd_close_receipt [23:19:27]MH_GetDate [23:19:27]Write to MH i2c: F0 00 00 A1 00 90 [23:19:27]Write i2c OK [23:19:27]MH_I2C_Read... [23:19:27]Read from MH i2c: F0 [23:19:27]MH_I2C_Read... [23:19:27]Read from MH i2c: F0 09 00 [23:19:27]MH_I2C_Read... [23:19:27]Read from MH i2c: F0 09 00 A1 00 00 00 FE 5C 66 6A 96 4A 66 09 [23:19:27]GetLastDocTimeStamp 1717370273 [23:19:27]current date 1717370368 [23:19:27]FM_GetShiftState [23:19:27]SAM_PROTO_GetShiftState [23:19:27]wFMCommunicate request_size=4 [23:19:27]MH_SAM_APDU [23:19:27]CAPDU: 80 13 01 00 [23:19:27]Write to MH i2c: E2 08 00 A2 00 80 13 01 00 00 00 00 00 1F [23:19:27]Write i2c OK [23:19:27]MH_I2C_Read... [23:19:27]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:19:27]Read from MH i2c: E2 [23:19:27]MH_I2C_Read... [23:19:27]Read from MH i2c: E2 0E 00 [23:19:27]MH_I2C_Read... [23:19:27]Read from MH i2c: E2 0E 00 A2 00 00 09 00 01 76 BD 5B 66 00 00 00 00 90 00 1F [23:19:27]RAPDU: 09 00 01 76 BD 5B 66 00 00 00 00 90 00 [23:19:27]wFMCommunicate OK [23:19:27]SAM_PROTO_GetShiftState done [23:19:27]FM_GetShiftState done [23:19:27]opened in 1717288310 [23:19:27]opened+sec_in_day 1717374710 [23:19:27]quantity*price = 27100 [23:19:27]sum+1 = 27101 [23:19:27]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 271.00 НСП 1% : 2.40 НДС 12% : 28.78 Наличными: 271.00 Безнал.: 0.00 Место: АЗС № 117 "Партнер Нефть" Адрес: 720001, г. Каракол, ул. Прежевальского 101/1 (кольцо), 42.500140, 78.386597 СНО: Общий режим Чек 123 02.06.2024 23:19 Смена: 372 ФФД: 1.0 ЗНМ: 0300000031 РНМ: 0000000000092737 Версия ККМ: 001 ФМ: 0000000000875074 ФД: 63735 ФПД: 91898653492242 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240602T231928&type=1&operation_type=1&fn_number=0000000000875074&fd_number=63735&fm=91898653492242&tin=02508201610067®Number=0000000000092737&sum=27100 0 [23:19:28]StoreToDocumentArchive [23:19:28]shift 372 fd 63735 [23:19:28]save to /storage/0372/doc_00063735 [23:19:28]save last doc name /storage/0372/doc_00063735 to /storage/kkm_last_doc_name [23:19:28]save OK [23:19:28]Clear old archive folders... [23:19:28]ProcessDocumentItem done err = 0, tmpTLVsize=282 [23:19:28]tlvbuf is 008AD2C0 [23:19:28]SAM_PROTO_ClearQueue [23:19:28]wFMCommunicate request_size=4 [23:19:28]MH_SAM_APDU [23:19:28]CAPDU: 80 09 00 00 [23:19:28]Write to MH i2c: E2 08 00 AF 00 80 09 00 00 00 00 00 00 21 [23:19:28]Write i2c OK [23:19:28]MH_I2C_Read... [23:19:28]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [23:19:28]Read from MH i2c: E2 [23:19:28]MH_I2C_Read... [23:19:28]Read from MH i2c: E2 03 00 [23:19:28]MH_I2C_Read... [23:19:28]Read from MH i2c: E2 03 00 AF 00 00 90 00 23 [23:19:28]RAPDU: 90 00 [23:19:28]wFMCommunicate OK [23:19:28]SAM_PROTO_ClearQueue done [23:19:28]KKMCreateOFDPacket [23:19:28]OFDProtocolAddRootSTLVToBuf [23:19:28]FM_MakeSignedData [23:19:28]FM_MakeSignedData [23:19:28]SAM_PROTO_SignData [23:19:28]wFMCommunicate request_size=4 [23:19:28]MH_SAM_APDU [23:19:28]CAPDU: 80 0D 01 02 [23:19:28]Write to MH i2c: E2 08 00 B0 00 80 0D 01 02 00 00 00 00 29 [23:19:28]Write i2c OK [23:19:28]MH_I2C_Read... [23:19:28]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [23:19:28]Read from MH i2c: E2 [23:19:28]MH_I2C_Read... [23:19:28]Read from MH i2c: E2 03 00 [23:19:28]MH_I2C_Read... [23:19:28]Read from MH i2c: E2 03 00 B0 00 00 90 00 24 [23:19:28]RAPDU: 90 00 [23:19:28]wFMCommunicate OK [23:19:28]wFMCommunicate request_size=255 [23:19:28]MH_SAM_APDU [23:19:28]CAPDU: 80 0D 02 02 FA 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 36 39 35 37 35 33 31 30 33 32 30 30 37 06 04 28 00 D0 9A D0 B0 D0 B1 D0 B5 D0 BB D1 8C 20 68 6F 63 6F 20 52 41 50 20 43 48 41 52 20 58 31 20 D0 90 70 70 6C 65 20 31 D0 BC FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 69 00 00 00 00 13 04 06 00 DC 69 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 DC 69 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F0 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3E 0B 00 00 00 00 07 04 06 00 DC 69 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 7B 00 00 00 F4 03 04 00 00 FE 5C 66 0E 04 04 00 74 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 33 37 11 04 [23:19:28]Write to MH i2c: E2 02 01 B1 00 80 0D 02 02 FA 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 36 39 35 37 35 33 31 30 33 32 30 30 37 06 04 28 00 D0 9A D0 B0 D0 B1 D0 B5 D0 BB D1 8C 20 68 6F 63 6F 20 52 41 50 20 43 48 41 52 20 58 31 20 D0 90 70 70 6C 65 20 31 D0 BC FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 69 00 00 00 00 13 04 06 00 DC 69 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 DC 69 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F0 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3E 0B 00 00 00 00 07 04 06 00 DC 69 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 7B 00 00 00 F4 03 04 00 00 FE 5C 66 0E 04 04 00 74 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 33 37 11 04 00 00 C0 [23:19:28]Write i2c OK [23:19:28]MH_I2C_Read... [23:19:29]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:19:29]Read from MH i2c: E2 [23:19:29]MH_I2C_Read... [23:19:29]Read from MH i2c: E2 03 00 [23:19:29]MH_I2C_Read... [23:19:29]Read from MH i2c: E2 03 00 B1 00 00 90 00 25 [23:19:29]RAPDU: 90 00 [23:19:29]wFMCommunicate OK [23:19:29]wFMCommunicate request_size=41 [23:19:29]MH_SAM_APDU [23:19:29]CAPDU: 80 0D 02 02 24 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 10 04 04 00 F7 F8 00 00 35 04 06 00 53 94 D2 98 C4 12 [23:19:29]Write to MH i2c: E2 2C 00 B2 00 80 0D 02 02 24 00 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 10 04 04 00 F7 F8 00 00 35 04 06 00 53 94 D2 98 C4 12 00 00 10 [23:19:29]Write i2c OK [23:19:29]MH_I2C_Read... [23:19:29]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:19:29]Read from MH i2c: E2 [23:19:29]MH_I2C_Read... [23:19:29]Read from MH i2c: E2 03 00 [23:19:29]MH_I2C_Read... [23:19:29]Read from MH i2c: E2 03 00 B2 00 00 90 00 26 [23:19:29]RAPDU: 90 00 [23:19:29]wFMCommunicate OK [23:19:29]wFMCommunicate request_size=4 [23:19:29]MH_SAM_APDU [23:19:29]CAPDU: 80 0D 03 02 [23:19:29]Write to MH i2c: E2 08 00 B3 00 80 0D 03 02 00 00 00 00 2E [23:19:29]Write i2c OK [23:19:29]MH_I2C_Read... [23:19:29]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [23:19:29]Read from MH i2c: E2 [23:19:29]MH_I2C_Read... [23:19:29]Read from MH i2c: E2 0B 00 [23:19:29]MH_I2C_Read... [23:19:29]Read from MH i2c: E2 0B 00 B3 00 00 9E D2 E0 3B 6F F3 C5 ED 90 00 CE [23:19:29]RAPDU: 9E D2 E0 3B 6F F3 C5 ED 90 00 [23:19:29]wFMCommunicate OK [23:19:29]SAM_PROTO_SignData done [23:19:29]FM_MakeSignedData done [23:19:29]CreateOFDProtocolMessage [23:19:29]wFMCommunicate request_size=4 [23:19:29]MH_SAM_APDU [23:19:29]CAPDU: 80 11 00 00 [23:19:29]Write to MH i2c: E2 08 00 B4 00 80 11 00 00 00 00 00 00 2E [23:19:29]Write i2c OK [23:19:29]MH_I2C_Read... [23:19:29]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:19:29]Read from MH i2c: E2 [23:19:29]MH_I2C_Read... [23:19:29]Read from MH i2c: E2 17 00 [23:19:29]MH_I2C_Read... [23:19:29]Read from MH i2c: E2 17 00 B4 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 90 00 80 [23:19:29]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 90 00 [23:19:29]wFMCommunicate OK [23:19:29]CreateOFDProtocolMessage done [23:19:29]OFDSenderStorePacket 63735 [23:19:29]StoreOFDPacket docnum=63735 [23:19:29]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 2E 01 00 00 45 23 26 01 2D 4E 5A 03 01 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 36 39 35 37 35 33 31 30 33 32 30 30 37 06 04 28 00 D0 9A D0 B0 D0 B1 D0 B5 D0 BB D1 8C 20 68 6F 63 6F 20 52 41 50 20 43 48 41 52 20 58 31 20 D0 90 70 70 6C 65 20 31 D0 BC FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 69 00 00 00 00 13 04 06 00 DC 69 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 DC 69 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F0 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3E 0B 00 00 00 00 07 04 06 00 DC 69 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 7B 00 00 00 F4 03 04 00 00 FE 5C 66 0E 04 04 00 74 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 10 04 04 00 F7 F8 00 00 35 04 06 00 53 94 D2 98 C4 12 9E D2 E0 3B 6F F3 C5 ED [23:19:29]CheckFolder [23:19:29]dirname=/storage/ofd_packets [23:19:29]CheckFolder done [23:19:29]ProducePacketName [23:19:29]name=ofd_packets/00063735 [23:19:29]NVStorageSaveData ofd_packets/00063735 [23:19:29]File name is /storage/ofd_packets/00063735 [23:19:29]Write 332 bytes [23:19:29]NVStorageSaveData done [23:19:29]OFDSenderStorePacket done [23:19:29]KKMCreateOFDPacket done [23:19:29]NVStorageSaveData kkm_last_timestamp [23:19:29]File name is /storage/kkm_last_timestamp [23:19:29]Write 4 bytes [23:19:29]NVStorageSaveData done [23:19:29]ExternCall_PrintAddStr [23:19:29]wPrintStart [23:19:29]Write to MH i2c: 01 00 00 B5 00 B5 [23:19:29]Write i2c OK [23:19:29]MH_I2C_Read... [23:19:29]Read from MH i2c: 01 [23:19:29]MH_I2C_Read... [23:19:29]Read from MH i2c: 01 07 00 [23:19:29]MH_I2C_Read... [23:19:29]Read from MH i2c: 01 07 00 B5 00 00 00 00 00 00 FF 0F CA [23:19:29]RasterBufferAndPrint [23:19:29]line Счет N : (3)73326 [23:19:29]line ИНН: 02508201610067 [23:19:29]line Контрольно-Кассовый Чек [23:19:29]line ПРОДАЖА [23:19:29]line Товар: 6957531032007 [23:19:29]line Кабель hoco RAP CHAR X1 Аpple 1м [23:19:29]line 1.000 * 271.00 [23:19:29]line = 271.00 [23:19:29]line НДС 12% НСП 1% [23:19:29]line > о реализуемом товаре [23:19:29]line ИТОГО: 271.00 [23:19:29]line НСП 1% : 2.40 [23:19:29]line НДС 12% : 28.78 [23:19:29]line Наличными: 271.00 [23:19:29]line Безнал.: 0.00 [23:19:29]line Место: АЗС № 117 "Партнер Нефть" [23:19:29]line Адрес: 720001, г. Каракол, ул. Прежевальского 101/1 (кольцо), 42.500140, 78.386597 [23:19:29]line СНО: Общий режим [23:19:29]line Чек 123 02.06.2024 23:19 [23:19:29]line Смена: 372 ФФД: 1.0 [23:19:29]line ЗНМ: 0300000031 [23:19:29]line РНМ: 0000000000092737 [23:19:29]line Версия ККМ: 001 [23:19:29]line ФМ: 0000000000875074 [23:19:29]line ФД: 63735 [23:19:29]line ФПД: 91898653492242 [23:19:29]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240602T231928&type=1&operation_type=1&fn_number=0000000000875074&fd_number=63735&fm=91898653492242&tin=02508201610067®Number=0000000000092737&sum=27100 [23:19:29]line 0 [23:19:29]OFD Sender: Processing packet 63735 [packets to send 14, broken 13] [23:19:29]ProducePacketName [23:19:29]name=ofd_packets/00063735 [23:19:29]OFD Sender: To server: pG, [23:19:29]CommunicateWithHost lk.salyk.kg:30040 [23:19:29]ConnectInit lk.salyk.kg [23:19:29]written 0, free lines is 4095 [23:19:29]Connected sock=7 [23:19:29]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 2E 01 00 00 45 23 26 01 2D 4E 5A 03 01 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 36 39 35 37 35 33 31 30 33 32 30 30 37 06 04 28 00 D0 9A D0 B0 D0 B1 D0 B5 D0 BB D1 8C 20 68 6F 63 6F 20 52 41 50 20 43 48 41 52 20 58 31 20 D0 90 70 70 6C 65 20 31 D0 BC FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 69 00 00 00 00 13 04 06 00 DC 69 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 DC 69 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F0 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3E 0B 00 00 00 00 07 04 06 00 DC 69 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 7B 00 00 00 F4 03 04 00 00 FE 5C 66 0E 04 04 00 74 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 10 04 04 00 F7 F8 00 00 35 04 06 00 53 94 D2 98 C4 12 9E D2 E0 3B 6F F3 C5 ED [23:19:29]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 4F 00 00 00 55 12 47 00 18 19 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 10 04 04 00 F7 F8 00 00 F4 03 04 00 D3 A9 5C 66 B6 04 01 00 00 2A 99 7B 55 9E 56 13 38 [23:19:29]CommunicateWithHost err = 0 [23:19:29]CheckOFDResponse [23:19:29]1017 (14) - 77093643461234 [23:19:29]1041 (16) - 0000000000875074 [23:19:29]1040 (4) - 63735 [23:19:29]1012 (4) - 02.06.2024 17:20 [23:19:29]1206 (1) - 0 [23:19:29]OFD Sender: Remove packet 63735 [23:19:29]ProducePacketName [23:19:29]name=ofd_packets/00063735 [23:19:29]NVStorageDeleteData [23:19:30]Write to MH i2c: 01 00 00 DE 00 DE [23:19:30]Write i2c OK [23:19:30]MH_I2C_Read... [23:19:30]Read from MH i2c: 01 [23:19:30]MH_I2C_Read... [23:19:30]Read from MH i2c: 01 07 00 [23:19:30]MH_I2C_Read... [23:19:30]Read from MH i2c: 01 07 00 DE 00 00 00 00 00 00 E7 0C D8 [23:19:30]RasterBufferAndPrint [23:19:30]line [23:19:30]line [23:19:30]line [23:19:30]line [23:19:30]line [23:19:30]written 0, free lines is 3310 [23:19:30]MH_Cut [23:19:30]Write to MH i2c: D1 01 00 E5 00 01 B7 [23:19:30]Write i2c OK [23:19:30]MH_I2C_Read... [23:19:30]Read from MH i2c: D1 [23:19:30]MH_I2C_Read... [23:19:30]Read from MH i2c: D1 01 00 [23:19:30]MH_I2C_Read... [23:19:30]Read from MH i2c: D1 01 00 E5 00 00 B6 [23:19:30]Write to MH i2c: 01 00 00 E6 00 E6 [23:19:30]Write i2c OK [23:19:30]MH_I2C_Read... [23:19:30]OFD Sender: No OFD packet to send [23:19:30]*** Cut start [23:19:30]*** Partial cut [23:19:30]*** CUTSNS_PIN = 1 [23:19:30]*** CUTSNS_PIN = 0 [23:19:31]*** Brake cut motor [23:19:31]Read from MH i2c: 01 [23:19:31]MH_I2C_Read... [23:19:31]*** Stop cut motor [23:19:31]*** Cut end [23:19:31]Read from MH i2c: 01 07 00 [23:19:31]MH_I2C_Read... [23:19:31]Read from MH i2c: 01 07 00 E6 00 00 00 00 00 00 FF 0F FB [23:19:31]process_action close_receipt done [23:19:31]requested_data is exist [23:19:31]produce_requested_data [23:19:31]requested_item fm.sn is exist - process it [23:19:31]wFMCommunicate request_size=4 [23:19:31]MH_SAM_APDU [23:19:31]CAPDU: 80 11 00 00 [23:19:31]Write to MH i2c: E2 08 00 E7 00 80 11 00 00 00 00 00 00 61 [23:19:31]Write i2c OK [23:19:31]MH_I2C_Read... [23:19:31]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:19:31]Read from MH i2c: E2 [23:19:31]MH_I2C_Read... [23:19:31]Read from MH i2c: E2 17 00 [23:19:31]MH_I2C_Read... [23:19:31]Read from MH i2c: E2 17 00 E7 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 90 00 B3 [23:19:31]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 90 00 [23:19:31]wFMCommunicate OK [23:19:31]requested_item fd.num is exist - process it [23:19:31]SAM_PROTO_GetFieldsCounters [23:19:31]wFMCommunicate request_size=4 [23:19:31]MH_SAM_APDU [23:19:31]CAPDU: 80 13 00 00 [23:19:31]Write to MH i2c: E2 08 00 E8 00 80 13 00 00 00 00 00 00 64 [23:19:31]Write i2c OK [23:19:31]MH_I2C_Read... [23:19:31]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:19:31]Read from MH i2c: E2 [23:19:31]MH_I2C_Read... [23:19:31]Read from MH i2c: E2 62 00 [23:19:31]MH_I2C_Read... [23:19:31]Read from MH i2c: E2 62 00 E8 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 33 37 10 04 04 00 F7 F8 00 00 0E 04 04 00 74 01 00 00 12 04 04 00 7B 00 00 00 5E 04 04 00 7B 00 00 00 57 04 04 00 7C 00 00 00 19 04 04 00 00 00 00 00 90 00 5C [23:19:31]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 33 37 10 04 04 00 F7 F8 00 00 0E 04 04 00 74 01 00 00 12 04 04 00 7B 00 00 00 5E 04 04 00 7B 00 00 00 57 04 04 00 7C 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:19:31]wFMCommunicate OK [23:19:31]SAM_PROTO_GetFieldsCounters done [23:19:31]requested_item shift.num is exist - process it [23:19:31]requested_item shift.opened is exist - process it [23:19:31]req_shift_opened [23:19:31]FM_GetShiftState [23:19:31]SAM_PROTO_GetShiftState [23:19:31]wFMCommunicate request_size=4 [23:19:31]MH_SAM_APDU [23:19:31]CAPDU: 80 13 01 00 [23:19:31]Write to MH i2c: E2 08 00 E9 00 80 13 01 00 00 00 00 00 66 [23:19:31]Write i2c OK [23:19:31]MH_I2C_Read... [23:19:31]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:19:31]Read from MH i2c: E2 [23:19:31]MH_I2C_Read... [23:19:31]Read from MH i2c: E2 0E 00 [23:19:31]MH_I2C_Read... [23:19:31]Read from MH i2c: E2 0E 00 E9 00 00 09 00 01 76 BD 5B 66 00 00 00 00 90 00 66 [23:19:31]RAPDU: 09 00 01 76 BD 5B 66 00 00 00 00 90 00 [23:19:31]wFMCommunicate OK [23:19:31]SAM_PROTO_GetShiftState done [23:19:31]FM_GetShiftState done [23:19:31]req_shift_opened done [23:19:31]requested_item shift.open_date is exist - process it [23:19:31]req_shift_open_date [23:19:31]req_shift_open_date done [23:19:31]produce_requested_data done [23:19:31]produce_requested_data return {"fm.sn":"0000000000875074","fd.num":63735,"shift.num":372,"shift.opened":1,"shift.open_date":1717288310} [23:19:31]process_action_free close_receipt [23:19:31]json_value_free [23:19:31]json_value_free done [23:19:31]process_json_proto returns [23:19:31]Send response to host [23:19:31]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875074","fd.num":63735,"shift.num":372,"shift.opened":1,"shift.open_date":1717288310}}} [23:19:31]free response buf [23:19:31]execute_script done [23:19:31]execute_script returns [23:19:31]free content buf [23:19:31]Sock 9.Close socket [23:19:31]Sock 9.Thread stoped [23:19:35]OFD Sender: No OFD packet to send [23:19:40]OFD Sender: No OFD packet to send [23:19:45]OFD Sender: No OFD packet to send [23:19:50]OFD Sender: No OFD packet to send [23:19:55]OFD Sender: No OFD packet to send [23:20:00]OFD Sender: No OFD packet to send [23:20:05]OFD Sender: No OFD packet to send [23:20:10]OFD Sender: No OFD packet to send [23:20:15]OFD Sender: No OFD packet to send [23:20:20]OFD Sender: No OFD packet to send [23:20:25]OFD Sender: No OFD packet to send [23:20:30]OFD Sender: No OFD packet to send [23:20:35]OFD Sender: No OFD packet to send [23:20:40]OFD Sender: No OFD packet to send [23:20:45]OFD Sender: No OFD packet to send [23:20:50]OFD Sender: No OFD packet to send [23:20:55]OFD Sender: No OFD packet to send [23:21:00]OFD Sender: No OFD packet to send [23:21:05]OFD Sender: No OFD packet to send [23:21:10]OFD Sender: No OFD packet to send [23:21:15]OFD Sender: No OFD packet to send [23:21:20]OFD Sender: No OFD packet to send [23:21:25]OFD Sender: No OFD packet to send [23:21:30]OFD Sender: No OFD packet to send [23:21:35]OFD Sender: No OFD packet to send [23:21:40]OFD Sender: No OFD packet to send [23:21:45]OFD Sender: No OFD packet to send [23:21:50]OFD Sender: No OFD packet to send [23:21:55]OFD Sender: No OFD packet to send [23:22:00]OFD Sender: No OFD packet to send [23:22:05]OFD Sender: No OFD packet to send [23:22:10]OFD Sender: No OFD packet to send [23:22:15]OFD Sender: No OFD packet to send [23:22:20]OFD Sender: No OFD packet to send [23:22:25]OFD Sender: No OFD packet to send [23:22:30]OFD Sender: No OFD packet to send [23:22:35]OFD Sender: No OFD packet to send [23:22:40]OFD Sender: No OFD packet to send [23:22:45]OFD Sender: No OFD packet to send [23:22:50]OFD Sender: No OFD packet to send [23:22:55]OFD Sender: No OFD packet to send [23:23:00]OFD Sender: No OFD packet to send [23:23:05]OFD Sender: No OFD packet to send [23:23:10]OFD Sender: No OFD packet to send [23:23:15]OFD Sender: No OFD packet to send [23:23:20]OFD Sender: No OFD packet to send [23:23:25]OFD Sender: No OFD packet to send [23:23:30]OFD Sender: No OFD packet to send [23:23:35]OFD Sender: No OFD packet to send [23:23:40]OFD Sender: No OFD packet to send [23:23:45]OFD Sender: No OFD packet to send [23:23:50]OFD Sender: No OFD packet to send [23:23:55]OFD Sender: No OFD packet to send [23:24:00]OFD Sender: No OFD packet to send [23:24:05]OFD Sender: No OFD packet to send [23:24:10]OFD Sender: No OFD packet to send [23:24:15]OFD Sender: No OFD packet to send [23:24:20]OFD Sender: No OFD packet to send [23:24:25]OFD Sender: No OFD packet to send [23:24:30]OFD Sender: No OFD packet to send [23:24:35]OFD Sender: No OFD packet to send [23:24:40]OFD Sender: No OFD packet to send [23:24:45]OFD Sender: No OFD packet to send [23:24:50]OFD Sender: No OFD packet to send [23:24:55]OFD Sender: No OFD packet to send [23:25:00]OFD Sender: No OFD packet to send [23:25:05]OFD Sender: No OFD packet to send [23:25:10]OFD Sender: No OFD packet to send [23:25:15]OFD Sender: No OFD packet to send [23:25:20]OFD Sender: No OFD packet to send [23:25:25]OFD Sender: No OFD packet to send [23:25:30]OFD Sender: No OFD packet to send [23:25:35]OFD Sender: No OFD packet to send [23:25:40]OFD Sender: No OFD packet to send [23:25:45]OFD Sender: No OFD packet to send [23:25:50]OFD Sender: No OFD packet to send [23:25:55]OFD Sender: No OFD packet to send [23:26:00]OFD Sender: No OFD packet to send [23:26:05]OFD Sender: No OFD packet to send [23:26:10]OFD Sender: No OFD packet to send [23:26:15]OFD Sender: No OFD packet to send [23:26:20]OFD Sender: No OFD packet to send [23:26:25]OFD Sender: No OFD packet to send [23:26:30]OFD Sender: No OFD packet to send [23:26:35]OFD Sender: No OFD packet to send [23:26:40]OFD Sender: No OFD packet to send [23:26:45]OFD Sender: No OFD packet to send [23:26:50]OFD Sender: No OFD packet to send [23:26:55]OFD Sender: No OFD packet to send [23:27:00]OFD Sender: No OFD packet to send [23:27:05]OFD Sender: No OFD packet to send [23:27:10]OFD Sender: No OFD packet to send [23:27:15]OFD Sender: No OFD packet to send [23:27:20]OFD Sender: No OFD packet to send [23:27:25]OFD Sender: No OFD packet to send [23:27:30]OFD Sender: No OFD packet to send [23:27:35]OFD Sender: No OFD packet to send [23:27:40]accept exits with 10 [23:27:40]New connection [23:27:40]New thread 3066654052 created [23:27:40]Thread 3066797412 joined [23:27:40]Waiting for new connection... [23:27:40] Sock 10.Parse request [23:27:40]Sock 10.Check first char [23:27:40]Sock 10.First char is OK [23:27:40]request: POST /json_proto HTTP/1.0 [23:27:40]Method: POST [23:27:40]URL: /json_proto [23:27:40]Method is POST - this is cgi request [23:27:40]url: /json_proto [23:27:40]query_string will be loaded in cgi processing [23:27:40]execute_cgi json_proto POST (null) [23:27:40]execute_cgi path=json_proto method=POST [23:27:40]POST find Content-Length [23:27:40]Host: 172.17.60.69:8080 [23:27:40]Content-Length: 898 [23:27:40]Content-Type: application/json [23:27:40] [23:27:40]POST finish read [23:27:40]Found Content-Length = 898 [23:27:40]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)73327", "tax_sys" : 0, "items" : [ { "code": "9002490206550", "name": "\u042D\u043D\u0435\u0440\u0433 \u043D\u0430\u043F\u0438\u0442\u043E\u043A Red Bull 0,355\u043B", "price" : 265.00, "quantity" : 1.000, "sum" : 265.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000160358", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1\u043B", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 315.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:27:40]execute_script... [23:27:40]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)73327", "tax_sys" : 0, "items" : [ { "code": "9002490206550", "name": "\u042D\u043D\u0435\u0440\u0433 \u043D\u0430\u043F\u0438\u0442\u043E\u043A Red Bull 0,355\u043B", "price" : 265.00, "quantity" : 1.000, "sum" : 265.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000160358", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1\u043B", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 315.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:27:40]POST & json_proto [23:27:40]process_json_proto [23:27:40]json parsed OK: [23:27:40]protocol is kg_v1.0 [23:27:40]action value=close_receipt [23:27:40]process_action close_receipt [23:27:40]cmd_close_receipt [23:27:40]MH_GetDate [23:27:40]Write to MH i2c: F0 00 00 EA 00 D9 [23:27:40]Write i2c OK [23:27:40]MH_I2C_Read... [23:27:40]Read from MH i2c: F0 [23:27:40]MH_I2C_Read... [23:27:40]Read from MH i2c: F0 09 00 [23:27:40]MH_I2C_Read... [23:27:40]Read from MH i2c: F0 09 00 EA 00 00 ED FF 5C 66 6A 96 4A 66 40 [23:27:40]GetLastDocTimeStamp 1717370368 [23:27:40]current date 1717370861 [23:27:40]FM_GetShiftState [23:27:40]SAM_PROTO_GetShiftState [23:27:40]wFMCommunicate request_size=4 [23:27:40]MH_SAM_APDU [23:27:40]CAPDU: 80 13 01 00 [23:27:40]Write to MH i2c: E2 08 00 EB 00 80 13 01 00 00 00 00 00 68 [23:27:40]Write i2c OK [23:27:40]MH_I2C_Read... [23:27:40]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:27:40]Read from MH i2c: E2 [23:27:40]MH_I2C_Read... [23:27:40]Read from MH i2c: E2 0E 00 [23:27:40]MH_I2C_Read... [23:27:40]Read from MH i2c: E2 0E 00 EB 00 00 09 00 01 76 BD 5B 66 00 00 00 00 90 00 68 [23:27:40]RAPDU: 09 00 01 76 BD 5B 66 00 00 00 00 90 00 [23:27:40]wFMCommunicate OK [23:27:40]SAM_PROTO_GetShiftState done [23:27:40]FM_GetShiftState done [23:27:40]opened in 1717288310 [23:27:40]opened+sec_in_day 1717374710 [23:27:40]quantity*price = 26500 [23:27:40]sum+1 = 26501 [23:27:40]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4700000160358 Вода Легенда 1л 1.000 * 50.00 = 50.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 315.00 НСП 1% : 2.78 НДС 12% : 33.45 Наличными: 315.00 Безнал.: 0.00 Место: АЗС № 117 "Партнер Нефть" Адрес: 720001, г. Каракол, ул. Прежевальского 101/1 (кольцо), 42.500140, 78.386597 СНО: Общий режим Чек 124 02.06.2024 23:27 Смена: 372 ФФД: 1.0 ЗНМ: 0300000031 РНМ: 0000000000092737 Версия ККМ: 001 ФМ: 0000000000875074 ФД: 63736 ФПД: 95158078257387 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240602T232741&type=1&operation_type=1&fn_number=0000000000875074&fd_number=63736&fm=95158078257387&tin=02508201610067®Number=0000000000092737&sum=31500 0 [23:27:41]StoreToDocumentArchive [23:27:41]shift 372 fd 63736 [23:27:41]save to /storage/0372/doc_00063736 [23:27:41]save last doc name /storage/0372/doc_00063736 to /storage/kkm_last_doc_name [23:27:41]save OK [23:27:41]Clear old archive folders... [23:27:41]ProcessDocumentItem done err = 0, tmpTLVsize=383 [23:27:41]tlvbuf is 008A4EA0 [23:27:41]SAM_PROTO_ClearQueue [23:27:41]wFMCommunicate request_size=4 [23:27:41]MH_SAM_APDU [23:27:41]CAPDU: 80 09 00 00 [23:27:41]Write to MH i2c: E2 08 00 F8 00 80 09 00 00 00 00 00 00 6A [23:27:41]Write i2c OK [23:27:41]MH_I2C_Read... [23:27:41]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [23:27:41]Read from MH i2c: E2 [23:27:41]MH_I2C_Read... [23:27:41]Read from MH i2c: E2 03 00 [23:27:41]MH_I2C_Read... [23:27:41]Read from MH i2c: E2 03 00 F8 00 00 90 00 6C [23:27:41]RAPDU: 90 00 [23:27:41]wFMCommunicate OK [23:27:41]SAM_PROTO_ClearQueue done [23:27:41]KKMCreateOFDPacket [23:27:41]OFDProtocolAddRootSTLVToBuf [23:27:41]FM_MakeSignedData [23:27:41]FM_MakeSignedData [23:27:41]SAM_PROTO_SignData [23:27:41]wFMCommunicate request_size=4 [23:27:41]MH_SAM_APDU [23:27:41]CAPDU: 80 0D 01 02 [23:27:41]Write to MH i2c: E2 08 00 F9 00 80 0D 01 02 00 00 00 00 72 [23:27:41]Write i2c OK [23:27:41]MH_I2C_Read... [23:27:41]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [23:27:41]Read from MH i2c: E2 [23:27:41]MH_I2C_Read... [23:27:41]Read from MH i2c: E2 03 00 [23:27:41]MH_I2C_Read... [23:27:41]Read from MH i2c: E2 03 00 F9 00 00 90 00 6D [23:27:41]RAPDU: 90 00 [23:27:41]wFMCommunicate OK [23:27:41]wFMCommunicate request_size=255 [23:27:41]MH_SAM_APDU [23:27:41]CAPDU: 80 0D 02 02 FA 03 00 7F 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 39 30 30 32 34 39 30 32 30 36 35 35 30 06 04 2A 00 D0 AD D0 BD D0 B5 D1 80 D0 B3 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 52 65 64 20 42 75 6C 6C 20 30 2C 33 35 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 84 67 00 00 00 00 13 04 06 00 84 67 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 0C 7B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 16 [23:27:41]Write to MH i2c: E2 02 01 FA 00 80 0D 02 02 FA 00 03 00 7F 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 39 30 30 32 34 39 30 32 30 36 35 35 30 06 04 2A 00 D0 AD D0 BD D0 B5 D1 80 D0 B3 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 52 65 64 20 42 75 6C 6C 20 30 2C 33 35 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 84 67 00 00 00 00 13 04 06 00 84 67 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 0C 7B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 16 00 00 D1 [23:27:41]Write i2c OK [23:27:41]MH_I2C_Read... [23:27:42]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:27:42]Read from MH i2c: E2 [23:27:42]MH_I2C_Read... [23:27:42]Read from MH i2c: E2 03 00 [23:27:42]MH_I2C_Read... [23:27:42]Read from MH i2c: E2 03 00 FA 00 00 90 00 6E [23:27:42]RAPDU: 90 00 [23:27:42]wFMCommunicate OK [23:27:42]wFMCommunicate request_size=142 [23:27:42]MH_SAM_APDU [23:27:42]CAPDU: 80 0D 02 02 89 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 11 0D 00 00 00 00 07 04 06 00 0C 7B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 7C 00 00 00 F4 03 04 00 ED FF 5C 66 0E 04 04 00 74 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 10 04 04 00 F8 F8 00 00 35 04 06 00 56 8B B7 73 B8 EB [23:27:42]Write to MH i2c: E2 91 00 FB 00 80 0D 02 02 89 00 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 11 0D 00 00 00 00 07 04 06 00 0C 7B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 7C 00 00 00 F4 03 04 00 ED FF 5C 66 0E 04 04 00 74 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 10 04 04 00 F8 F8 00 00 35 04 06 00 56 8B B7 73 B8 EB 00 00 99 [23:27:42]Write i2c OK [23:27:42]MH_I2C_Read... [23:27:42]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:27:42]Read from MH i2c: E2 [23:27:42]MH_I2C_Read... [23:27:42]Read from MH i2c: E2 03 00 [23:27:42]MH_I2C_Read... [23:27:42]Read from MH i2c: E2 03 00 FB 00 00 90 00 6F [23:27:42]RAPDU: 90 00 [23:27:42]wFMCommunicate OK [23:27:42]wFMCommunicate request_size=4 [23:27:42]MH_SAM_APDU [23:27:42]CAPDU: 80 0D 03 02 [23:27:42]Write to MH i2c: E2 08 00 FC 00 80 0D 03 02 00 00 00 00 77 [23:27:42]Write i2c OK [23:27:42]MH_I2C_Read... [23:27:42]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [23:27:42]Read from MH i2c: E2 [23:27:42]MH_I2C_Read... [23:27:42]Read from MH i2c: E2 0B 00 [23:27:42]MH_I2C_Read... [23:27:42]Read from MH i2c: E2 0B 00 FC 00 00 57 74 66 A3 DF 68 7C 14 90 00 23 [23:27:42]RAPDU: 57 74 66 A3 DF 68 7C 14 90 00 [23:27:42]wFMCommunicate OK [23:27:42]SAM_PROTO_SignData done [23:27:42]FM_MakeSignedData done [23:27:42]CreateOFDProtocolMessage [23:27:42]wFMCommunicate request_size=4 [23:27:42]MH_SAM_APDU [23:27:42]CAPDU: 80 11 00 00 [23:27:42]Write to MH i2c: E2 08 00 FD 00 80 11 00 00 00 00 00 00 77 [23:27:42]Write i2c OK [23:27:42]MH_I2C_Read... [23:27:42]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:27:42]Read from MH i2c: E2 [23:27:42]MH_I2C_Read... [23:27:42]Read from MH i2c: E2 17 00 [23:27:42]MH_I2C_Read... [23:27:42]Read from MH i2c: E2 17 00 FD 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 90 00 C9 [23:27:42]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 90 00 [23:27:42]wFMCommunicate OK [23:27:42]CreateOFDProtocolMessage done [23:27:42]OFDSenderStorePacket 63736 [23:27:42]StoreOFDPacket docnum=63736 [23:27:42]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 93 01 00 00 95 F9 8B 01 5F 35 5A 03 01 00 03 00 7F 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 39 30 30 32 34 39 30 32 30 36 35 35 30 06 04 2A 00 D0 AD D0 BD D0 B5 D1 80 D0 B3 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 52 65 64 20 42 75 6C 6C 20 30 2C 33 35 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 84 67 00 00 00 00 13 04 06 00 84 67 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 0C 7B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 16 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 11 0D 00 00 00 00 07 04 06 00 0C 7B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 7C 00 00 00 F4 03 04 00 ED FF 5C 66 0E 04 04 00 74 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 10 04 04 00 F8 F8 00 00 35 04 06 00 56 8B B7 73 B8 EB 57 74 66 A3 DF 68 7C 14 [23:27:42]CheckFolder [23:27:42]dirname=/storage/ofd_packets [23:27:42]CheckFolder done [23:27:42]ProducePacketName [23:27:42]name=ofd_packets/00063736 [23:27:42]NVStorageSaveData ofd_packets/00063736 [23:27:42]File name is /storage/ofd_packets/00063736 [23:27:42]Write 433 bytes [23:27:42]NVStorageSaveData done [23:27:42]OFDSenderStorePacket done [23:27:42]KKMCreateOFDPacket done [23:27:42]NVStorageSaveData kkm_last_timestamp [23:27:42]File name is /storage/kkm_last_timestamp [23:27:42]Write 4 bytes [23:27:42]NVStorageSaveData done [23:27:42]ExternCall_PrintAddStr [23:27:42]wPrintStart [23:27:42]Write to MH i2c: 01 00 00 FE 00 FE [23:27:42]Write i2c OK [23:27:42]MH_I2C_Read... [23:27:42]Read from MH i2c: 01 [23:27:42]MH_I2C_Read... [23:27:42]Read from MH i2c: 01 07 00 [23:27:42]MH_I2C_Read... [23:27:42]OFD Sender: Processing packet 63736 [packets to send 14, broken 13] [23:27:42]ProducePacketName [23:27:42]Read from MH i2c: 01 07 00 FE 00 00 00 00 00 00 FF 0F 13 [23:27:42]RasterBufferAndPrint [23:27:42]line Счет N : (3)73327 [23:27:42]line ИНН: 02508201610067 [23:27:42]line Контрольно-Кассовый Чек [23:27:42]line ПРОДАЖА [23:27:42]line Товар: 9002490206550 [23:27:42]line Энерг напиток Red Bull 0,355л [23:27:42]line 1.000 * 265.00 [23:27:42]line = 265.00 [23:27:42]line НДС 12% НСП 1% [23:27:42]line > о реализуемом товаре [23:27:42]line Товар: 4700000160358 [23:27:42]line Вода Легенда 1л [23:27:42]line 1.000 * 50.00 [23:27:42]line = 50.00 [23:27:42]line НДС 12% НСП 1% [23:27:42]line > о реализуемом товаре [23:27:42]line ИТОГО: 315.00 [23:27:42]line НСП 1% : 2.78 [23:27:42]line НДС 12% : 33.45 [23:27:42]line Наличными: 315.00 [23:27:42]line Безнал.: 0.00 [23:27:42]line Место: АЗС № 117 "Партнер Нефть" [23:27:42]line Адрес: 720001, г. Каракол, ул. Прежевальского 101/1 (кольцо), 42.500140, 78.386597 [23:27:42]line СНО: Общий режим [23:27:42]line Чек 124 02.06.2024 23:27 [23:27:42]line Смена: 372 ФФД: 1.0 [23:27:42]line ЗНМ: 0300000031 [23:27:42]line РНМ: 0000000000092737 [23:27:42]line Версия ККМ: 001 [23:27:42]line ФМ: 0000000000875074 [23:27:42]line ФД: 63736 [23:27:42]line ФПД: 95158078257387 [23:27:42]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240602T232741&type=1&operation_type=1&fn_number=0000000000875074&fd_number=63736&fm=95158078257387&tin=02508201610067®Number=0000000000092737&sum=31500 [23:27:42]name=ofd_packets/00063736 [23:27:42]OFD Sender: To server: pG, [23:27:42]CommunicateWithHost lk.salyk.kg:30040 [23:27:42]ConnectInit lk.salyk.kg [23:27:42]line 0 [23:27:42]written 0, free lines is 4095 [23:27:42]Connected sock=9 [23:27:42]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 93 01 00 00 95 F9 8B 01 5F 35 5A 03 01 00 03 00 7F 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 39 30 30 32 34 39 30 32 30 36 35 35 30 06 04 2A 00 D0 AD D0 BD D0 B5 D1 80 D0 B3 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 52 65 64 20 42 75 6C 6C 20 30 2C 33 35 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 84 67 00 00 00 00 13 04 06 00 84 67 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 0C 7B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 16 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 11 0D 00 00 00 00 07 04 06 00 0C 7B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 7C 00 00 00 F4 03 04 00 ED FF 5C 66 0E 04 04 00 74 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 10 04 04 00 F8 F8 00 00 35 04 06 00 56 8B B7 73 B8 EB 57 74 66 A3 DF 68 7C 14 [23:27:43]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 4F 00 00 00 B7 63 47 00 A2 0D A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 10 04 04 00 F8 F8 00 00 F4 03 04 00 C1 AB 5C 66 B6 04 01 00 00 B1 88 FF 29 32 76 77 02 [23:27:43]CommunicateWithHost err = 0 [23:27:43]CheckOFDResponse [23:27:43]1017 (14) - 77093643461234 [23:27:43]1041 (16) - 0000000000875074 [23:27:43]1040 (4) - 63736 [23:27:43]1012 (4) - 02.06.2024 17:28 [23:27:43]1206 (1) - 0 [23:27:43]OFD Sender: Remove packet 63736 [23:27:43]ProducePacketName [23:27:43]name=ofd_packets/00063736 [23:27:43]NVStorageDeleteData [23:27:43]Write to MH i2c: 01 00 00 2C 01 2D [23:27:43]Write i2c OK [23:27:43]MH_I2C_Read... [23:27:43]Read from MH i2c: 01 [23:27:43]MH_I2C_Read... [23:27:43]Read from MH i2c: 01 07 00 [23:27:43]MH_I2C_Read... [23:27:43]Read from MH i2c: 01 07 00 2C 01 00 00 00 00 00 B1 0C F1 [23:27:43]RasterBufferAndPrint [23:27:43]line [23:27:43]line [23:27:43]line [23:27:43]line [23:27:43]line [23:27:43]written 0, free lines is 3255 [23:27:43]MH_Cut [23:27:43]Write to MH i2c: D1 01 00 33 01 01 06 [23:27:43]Write i2c OK [23:27:43]MH_I2C_Read... [23:27:43]Read from MH i2c: D1 [23:27:43]MH_I2C_Read... [23:27:43]Read from MH i2c: D1 01 00 [23:27:43]MH_I2C_Read... [23:27:43]Read from MH i2c: D1 01 00 33 01 00 05 [23:27:43]Write to MH i2c: 01 00 00 34 01 35 [23:27:43]Write i2c OK [23:27:43]MH_I2C_Read... [23:27:43]OFD Sender: No OFD packet to send [23:27:44]*** Cut start [23:27:44]*** Partial cut [23:27:44]*** CUTSNS_PIN = 1 [23:27:44]*** CUTSNS_PIN = 0 [23:27:44]*** Brake cut motor [23:27:44]Read from MH i2c: 01 [23:27:44]MH_I2C_Read... [23:27:44]*** Stop cut motor [23:27:44]*** Cut end [23:27:44]Read from MH i2c: 01 07 00 [23:27:44]MH_I2C_Read... [23:27:44]Read from MH i2c: 01 07 00 34 01 00 00 00 00 00 FF 0F 4A [23:27:44]process_action close_receipt done [23:27:44]requested_data is exist [23:27:44]produce_requested_data [23:27:44]requested_item fm.sn is exist - process it [23:27:44]wFMCommunicate request_size=4 [23:27:44]MH_SAM_APDU [23:27:44]CAPDU: 80 11 00 00 [23:27:44]Write to MH i2c: E2 08 00 35 01 80 11 00 00 00 00 00 00 B0 [23:27:44]Write i2c OK [23:27:44]MH_I2C_Read... [23:27:44]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:27:44]Read from MH i2c: E2 [23:27:44]MH_I2C_Read... [23:27:44]Read from MH i2c: E2 17 00 [23:27:44]MH_I2C_Read... [23:27:44]Read from MH i2c: E2 17 00 35 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 90 00 02 [23:27:44]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 90 00 [23:27:44]wFMCommunicate OK [23:27:44]requested_item fd.num is exist - process it [23:27:44]SAM_PROTO_GetFieldsCounters [23:27:44]wFMCommunicate request_size=4 [23:27:44]MH_SAM_APDU [23:27:44]CAPDU: 80 13 00 00 [23:27:44]Write to MH i2c: E2 08 00 36 01 80 13 00 00 00 00 00 00 B3 [23:27:44]Write i2c OK [23:27:44]MH_I2C_Read... [23:27:44]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:27:44]Read from MH i2c: E2 [23:27:44]MH_I2C_Read... [23:27:44]Read from MH i2c: E2 62 00 [23:27:44]MH_I2C_Read... [23:27:44]Read from MH i2c: E2 62 00 36 01 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 33 37 10 04 04 00 F8 F8 00 00 0E 04 04 00 74 01 00 00 12 04 04 00 7C 00 00 00 5E 04 04 00 7C 00 00 00 57 04 04 00 7D 00 00 00 19 04 04 00 00 00 00 00 90 00 AF [23:27:44]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 33 37 10 04 04 00 F8 F8 00 00 0E 04 04 00 74 01 00 00 12 04 04 00 7C 00 00 00 5E 04 04 00 7C 00 00 00 57 04 04 00 7D 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:27:44]wFMCommunicate OK [23:27:44]SAM_PROTO_GetFieldsCounters done [23:27:44]requested_item shift.num is exist - process it [23:27:44]requested_item shift.opened is exist - process it [23:27:44]req_shift_opened [23:27:44]FM_GetShiftState [23:27:44]SAM_PROTO_GetShiftState [23:27:44]wFMCommunicate request_size=4 [23:27:44]MH_SAM_APDU [23:27:44]CAPDU: 80 13 01 00 [23:27:44]Write to MH i2c: E2 08 00 37 01 80 13 01 00 00 00 00 00 B5 [23:27:44]Write i2c OK [23:27:44]MH_I2C_Read... [23:27:44]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:27:44]Read from MH i2c: E2 [23:27:44]MH_I2C_Read... [23:27:44]Read from MH i2c: E2 0E 00 [23:27:44]MH_I2C_Read... [23:27:44]Read from MH i2c: E2 0E 00 37 01 00 09 00 01 76 BD 5B 66 00 00 00 00 90 00 B5 [23:27:44]RAPDU: 09 00 01 76 BD 5B 66 00 00 00 00 90 00 [23:27:44]wFMCommunicate OK [23:27:44]SAM_PROTO_GetShiftState done [23:27:44]FM_GetShiftState done [23:27:44]req_shift_opened done [23:27:44]requested_item shift.open_date is exist - process it [23:27:44]req_shift_open_date [23:27:44]req_shift_open_date done [23:27:44]produce_requested_data done [23:27:44]produce_requested_data return {"fm.sn":"0000000000875074","fd.num":63736,"shift.num":372,"shift.opened":1,"shift.open_date":1717288310} [23:27:44]process_action_free close_receipt [23:27:44]json_value_free [23:27:44]json_value_free done [23:27:44]process_json_proto returns [23:27:44]Send response to host [23:27:44]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875074","fd.num":63736,"shift.num":372,"shift.opened":1,"shift.open_date":1717288310}}} [23:27:44]free response buf [23:27:44]execute_script done [23:27:44]execute_script returns [23:27:44]free content buf [23:27:44]Sock 10.Close socket [23:27:44]Sock 10.Thread stoped [23:27:48]OFD Sender: No OFD packet to send [23:27:53]OFD Sender: No OFD packet to send [23:27:58]OFD Sender: No OFD packet to send [23:28:03]OFD Sender: No OFD packet to send [23:28:08]OFD Sender: No OFD packet to send [23:28:13]OFD Sender: No OFD packet to send [23:28:18]OFD Sender: No OFD packet to send [23:28:23]OFD Sender: No OFD packet to send [23:28:28]OFD Sender: No OFD packet to send [23:28:33]OFD Sender: No OFD packet to send [23:28:38]OFD Sender: No OFD packet to send [23:28:43]OFD Sender: No OFD packet to send [23:28:48]OFD Sender: No OFD packet to send [23:28:53]OFD Sender: No OFD packet to send [23:28:58]OFD Sender: No OFD packet to send [23:29:03]OFD Sender: No OFD packet to send [23:29:08]OFD Sender: No OFD packet to send [23:29:13]OFD Sender: No OFD packet to send [23:29:18]OFD Sender: No OFD packet to send [23:29:23]OFD Sender: No OFD packet to send [23:29:28]OFD Sender: No OFD packet to send [23:29:33]OFD Sender: No OFD packet to send [23:29:38]OFD Sender: No OFD packet to send [23:29:43]OFD Sender: No OFD packet to send [23:29:48]OFD Sender: No OFD packet to send [23:29:53]OFD Sender: No OFD packet to send [23:29:58]OFD Sender: No OFD packet to send [23:30:03]OFD Sender: No OFD packet to send [23:30:08]OFD Sender: No OFD packet to send [23:30:13]OFD Sender: No OFD packet to send [23:30:18]OFD Sender: No OFD packet to send [23:30:23]OFD Sender: No OFD packet to send [23:30:28]OFD Sender: No OFD packet to send [23:30:33]OFD Sender: No OFD packet to send [23:30:38]OFD Sender: No OFD packet to send [23:30:43]OFD Sender: No OFD packet to send [23:30:48]OFD Sender: No OFD packet to send [23:30:53]OFD Sender: No OFD packet to send [23:30:58]OFD Sender: No OFD packet to send [23:31:03]OFD Sender: No OFD packet to send [23:31:08]OFD Sender: No OFD packet to send [23:31:13]OFD Sender: No OFD packet to send [23:31:18]OFD Sender: No OFD packet to send [23:31:23]OFD Sender: No OFD packet to send [23:31:28]OFD Sender: No OFD packet to send [23:31:33]OFD Sender: No OFD packet to send [23:31:38]OFD Sender: No OFD packet to send [23:31:43]OFD Sender: No OFD packet to send [23:31:48]OFD Sender: No OFD packet to send [23:31:53]OFD Sender: No OFD packet to send [23:31:58]OFD Sender: No OFD packet to send [23:32:03]OFD Sender: No OFD packet to send [23:32:08]OFD Sender: No OFD packet to send [23:32:13]OFD Sender: No OFD packet to send [23:32:18]OFD Sender: No OFD packet to send [23:32:23]OFD Sender: No OFD packet to send [23:32:28]OFD Sender: No OFD packet to send [23:32:33]OFD Sender: No OFD packet to send [23:32:38]OFD Sender: No OFD packet to send [23:32:43]OFD Sender: No OFD packet to send [23:32:48]OFD Sender: No OFD packet to send [23:32:53]OFD Sender: No OFD packet to send [23:32:58]OFD Sender: No OFD packet to send [23:33:03]OFD Sender: No OFD packet to send [23:33:08]OFD Sender: No OFD packet to send [23:33:13]OFD Sender: No OFD packet to send [23:33:18]OFD Sender: No OFD packet to send [23:33:23]OFD Sender: No OFD packet to send [23:33:28]OFD Sender: No OFD packet to send [23:33:33]OFD Sender: No OFD packet to send [23:33:38]OFD Sender: No OFD packet to send [23:33:43]OFD Sender: No OFD packet to send [23:33:48]OFD Sender: No OFD packet to send [23:33:53]OFD Sender: No OFD packet to send [23:33:58]OFD Sender: No OFD packet to send [23:34:03]OFD Sender: No OFD packet to send [23:34:08]OFD Sender: No OFD packet to send [23:34:13]OFD Sender: No OFD packet to send [23:34:18]OFD Sender: No OFD packet to send [23:34:23]OFD Sender: No OFD packet to send [23:34:28]OFD Sender: No OFD packet to send [23:34:33]OFD Sender: No OFD packet to send [23:34:38]OFD Sender: No OFD packet to send [23:34:43]OFD Sender: No OFD packet to send [23:34:48]OFD Sender: No OFD packet to send [23:34:53]OFD Sender: No OFD packet to send [23:34:58]OFD Sender: No OFD packet to send [23:35:03]OFD Sender: No OFD packet to send [23:35:08]OFD Sender: No OFD packet to send [23:35:13]OFD Sender: No OFD packet to send [23:35:18]OFD Sender: No OFD packet to send [23:35:23]OFD Sender: No OFD packet to send [23:35:28]OFD Sender: No OFD packet to send [23:35:33]OFD Sender: No OFD packet to send [23:35:38]OFD Sender: No OFD packet to send [23:35:43]OFD Sender: No OFD packet to send [23:35:48]OFD Sender: No OFD packet to send [23:35:53]OFD Sender: No OFD packet to send [23:35:58]OFD Sender: No OFD packet to send [23:36:03]OFD Sender: No OFD packet to send [23:36:08]OFD Sender: No OFD packet to send [23:36:13]OFD Sender: No OFD packet to send [23:36:18]OFD Sender: No OFD packet to send [23:36:23]OFD Sender: No OFD packet to send [23:36:29]OFD Sender: No OFD packet to send [23:36:34]OFD Sender: No OFD packet to send [23:36:39]OFD Sender: No OFD packet to send [23:36:44]OFD Sender: No OFD packet to send [23:36:49]OFD Sender: No OFD packet to send [23:36:54]OFD Sender: No OFD packet to send [23:36:59]OFD Sender: No OFD packet to send [23:37:04]OFD Sender: No OFD packet to send [23:37:09]OFD Sender: No OFD packet to send [23:37:14]OFD Sender: No OFD packet to send [23:37:19]OFD Sender: No OFD packet to send [23:37:24]OFD Sender: No OFD packet to send [23:37:29]OFD Sender: No OFD packet to send [23:37:34]OFD Sender: No OFD packet to send [23:37:39]OFD Sender: No OFD packet to send [23:37:44]OFD Sender: No OFD packet to send [23:37:49]OFD Sender: No OFD packet to send [23:37:54]OFD Sender: No OFD packet to send [23:37:59]OFD Sender: No OFD packet to send [23:38:04]OFD Sender: No OFD packet to send [23:38:09]OFD Sender: No OFD packet to send [23:38:14]OFD Sender: No OFD packet to send [23:38:19]OFD Sender: No OFD packet to send [23:38:24]OFD Sender: No OFD packet to send [23:38:29]OFD Sender: No OFD packet to send [23:38:34]OFD Sender: No OFD packet to send [23:38:39]OFD Sender: No OFD packet to send [23:38:44]OFD Sender: No OFD packet to send [23:38:49]OFD Sender: No OFD packet to send [23:38:54]OFD Sender: No OFD packet to send [23:38:59]OFD Sender: No OFD packet to send [23:39:04]OFD Sender: No OFD packet to send [23:39:09]OFD Sender: No OFD packet to send [23:39:14]OFD Sender: No OFD packet to send [23:39:19]OFD Sender: No OFD packet to send [23:39:24]OFD Sender: No OFD packet to send [23:39:29]OFD Sender: No OFD packet to send [23:39:34]OFD Sender: No OFD packet to send [23:39:39]OFD Sender: No OFD packet to send [23:39:44]OFD Sender: No OFD packet to send [23:39:49]OFD Sender: No OFD packet to send [23:39:54]OFD Sender: No OFD packet to send [23:39:59]OFD Sender: No OFD packet to send [23:40:04]OFD Sender: No OFD packet to send [23:40:09]OFD Sender: No OFD packet to send [23:40:14]OFD Sender: No OFD packet to send [23:40:19]OFD Sender: No OFD packet to send [23:40:24]OFD Sender: No OFD packet to send [23:40:29]OFD Sender: No OFD packet to send [23:40:34]OFD Sender: No OFD packet to send [23:40:39]OFD Sender: No OFD packet to send [23:40:44]OFD Sender: No OFD packet to send [23:40:49]OFD Sender: No OFD packet to send [23:40:54]OFD Sender: No OFD packet to send [23:40:59]OFD Sender: No OFD packet to send [23:41:04]OFD Sender: No OFD packet to send [23:41:09]OFD Sender: No OFD packet to send [23:41:14]OFD Sender: No OFD packet to send [23:41:19]OFD Sender: No OFD packet to send [23:41:24]OFD Sender: No OFD packet to send [23:41:29]OFD Sender: No OFD packet to send [23:41:34]OFD Sender: No OFD packet to send [23:41:39]OFD Sender: No OFD packet to send [23:41:44]OFD Sender: No OFD packet to send [23:41:49]OFD Sender: No OFD packet to send [23:41:54]OFD Sender: No OFD packet to send [23:41:59]OFD Sender: No OFD packet to send [23:42:04]OFD Sender: No OFD packet to send [23:42:09]OFD Sender: No OFD packet to send [23:42:14]OFD Sender: No OFD packet to send [23:42:19]OFD Sender: No OFD packet to send [23:42:24]OFD Sender: No OFD packet to send [23:42:29]OFD Sender: No OFD packet to send [23:42:34]OFD Sender: No OFD packet to send [23:42:39]OFD Sender: No OFD packet to send [23:42:44]OFD Sender: No OFD packet to send [23:42:49]OFD Sender: No OFD packet to send [23:42:54]OFD Sender: No OFD packet to send [23:42:59]OFD Sender: No OFD packet to send [23:43:04]OFD Sender: No OFD packet to send [23:43:09]OFD Sender: No OFD packet to send [23:43:14]OFD Sender: No OFD packet to send [23:43:19]OFD Sender: No OFD packet to send [23:43:24]OFD Sender: No OFD packet to send [23:43:29]OFD Sender: No OFD packet to send [23:43:34]OFD Sender: No OFD packet to send [23:43:39]OFD Sender: No OFD packet to send [23:43:44]OFD Sender: No OFD packet to send [23:43:49]OFD Sender: No OFD packet to send [23:43:54]OFD Sender: No OFD packet to send [23:43:59]OFD Sender: No OFD packet to send [23:44:04]OFD Sender: No OFD packet to send [23:44:09]OFD Sender: No OFD packet to send [23:44:14]OFD Sender: No OFD packet to send [23:44:19]OFD Sender: No OFD packet to send [23:44:24]OFD Sender: No OFD packet to send [23:44:29]OFD Sender: No OFD packet to send [23:44:34]OFD Sender: No OFD packet to send [23:44:39]OFD Sender: No OFD packet to send [23:44:44]OFD Sender: No OFD packet to send [23:44:49]OFD Sender: No OFD packet to send [23:44:54]OFD Sender: No OFD packet to send [23:44:59]OFD Sender: No OFD packet to send [23:45:04]OFD Sender: No OFD packet to send [23:45:09]OFD Sender: No OFD packet to send [23:45:14]OFD Sender: No OFD packet to send [23:45:19]OFD Sender: No OFD packet to send [23:45:24]OFD Sender: No OFD packet to send [23:45:29]OFD Sender: No OFD packet to send [23:45:34]OFD Sender: No OFD packet to send [23:45:39]OFD Sender: No OFD packet to send [23:45:44]OFD Sender: No OFD packet to send [23:45:49]OFD Sender: No OFD packet to send [23:45:54]OFD Sender: No OFD packet to send [23:45:59]OFD Sender: No OFD packet to send [23:46:04]OFD Sender: No OFD packet to send [23:46:09]OFD Sender: No OFD packet to send [23:46:14]OFD Sender: No OFD packet to send [23:46:19]OFD Sender: No OFD packet to send [23:46:24]OFD Sender: No OFD packet to send [23:46:29]OFD Sender: No OFD packet to send [23:46:34]OFD Sender: No OFD packet to send [23:46:39]OFD Sender: No OFD packet to send [23:46:44]OFD Sender: No OFD packet to send [23:46:49]OFD Sender: No OFD packet to send [23:46:54]OFD Sender: No OFD packet to send [23:46:59]OFD Sender: No OFD packet to send [23:47:04]OFD Sender: No OFD packet to send [23:47:05]accept exits with 7 [23:47:05]New connection [23:47:05]New thread 3066797412 created [23:47:05]Thread 3066654052 joined [23:47:05]Waiting for new connection... [23:47:05] Sock 7.Parse request [23:47:05]Sock 7.Check first char [23:47:05]Sock 7.First char is OK [23:47:05]request: POST /json_proto HTTP/1.0 [23:47:05]Method: POST [23:47:05]URL: /json_proto [23:47:05]Method is POST - this is cgi request [23:47:05]url: /json_proto [23:47:05]query_string will be loaded in cgi processing [23:47:05]execute_cgi json_proto POST (null) [23:47:05]execute_cgi path=json_proto method=POST [23:47:05]POST find Content-Length [23:47:05]Host: 172.17.60.69:8080 [23:47:05]Content-Length: 914 [23:47:05]Content-Type: application/json [23:47:05] [23:47:05]POST finish read [23:47:05]Found Content-Length = 914 [23:47:05]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)73328", "tax_sys" : 0, "items" : [ { "code": "4700321005017", "name": "\u0410\u0440\u0430\u0445\u0438\u0441 Mike \u0436\u0430\u0440\u0435\u043D\u044B\u0439 \u0441\u043E\u043B\u0435\u043D\u044B\u0439 50\u0433", "price" : 43.00, "quantity" : 1.000, "sum" : 43.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4680036914937", "name": "Gorilla \u044D\u043D \u043D\u0430\u043F 0,275\u043B", "price" : 90.00, "quantity" : 1.000, "sum" : 90.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 133.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:47:05]execute_script... [23:47:05]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)73328", "tax_sys" : 0, "items" : [ { "code": "4700321005017", "name": "\u0410\u0440\u0430\u0445\u0438\u0441 Mike \u0436\u0430\u0440\u0435\u043D\u044B\u0439 \u0441\u043E\u043B\u0435\u043D\u044B\u0439 50\u0433", "price" : 43.00, "quantity" : 1.000, "sum" : 43.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4680036914937", "name": "Gorilla \u044D\u043D \u043D\u0430\u043F 0,275\u043B", "price" : 90.00, "quantity" : 1.000, "sum" : 90.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 133.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:47:05]POST & json_proto [23:47:05]process_json_proto [23:47:05]json parsed OK: [23:47:05]protocol is kg_v1.0 [23:47:05]action value=close_receipt [23:47:05]process_action close_receipt [23:47:05]cmd_close_receipt [23:47:05]MH_GetDate [23:47:05]Write to MH i2c: F0 00 00 38 01 28 [23:47:05]Write i2c OK [23:47:05]MH_I2C_Read... [23:47:05]Read from MH i2c: F0 [23:47:05]MH_I2C_Read... [23:47:05]Read from MH i2c: F0 09 00 [23:47:05]MH_I2C_Read... [23:47:05]Read from MH i2c: F0 09 00 38 01 00 7A 04 5D 66 6A 96 4A 66 22 [23:47:05]GetLastDocTimeStamp 1717370861 [23:47:05]current date 1717372026 [23:47:05]FM_GetShiftState [23:47:05]SAM_PROTO_GetShiftState [23:47:05]wFMCommunicate request_size=4 [23:47:05]MH_SAM_APDU [23:47:05]CAPDU: 80 13 01 00 [23:47:05]Write to MH i2c: E2 08 00 39 01 80 13 01 00 00 00 00 00 B7 [23:47:05]Write i2c OK [23:47:05]MH_I2C_Read... [23:47:05]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:47:05]Read from MH i2c: E2 [23:47:05]MH_I2C_Read... [23:47:05]Read from MH i2c: E2 0E 00 [23:47:05]MH_I2C_Read... [23:47:05]Read from MH i2c: E2 0E 00 39 01 00 09 00 01 76 BD 5B 66 00 00 00 00 90 00 B7 [23:47:05]RAPDU: 09 00 01 76 BD 5B 66 00 00 00 00 90 00 [23:47:05]wFMCommunicate OK [23:47:05]SAM_PROTO_GetShiftState done [23:47:05]FM_GetShiftState done [23:47:05]opened in 1717288310 [23:47:05]opened+sec_in_day 1717374710 [23:47:05]quantity*price = 4300 [23:47:05]sum+1 = 4301 [23:47:05]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4680036914937 Gorilla эн нап 0,275л 1.000 * 90.00 = 90.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 133.00 НСП 1% : 1.18 НДС 12% : 14.13 Наличными: 133.00 Безнал.: 0.00 Место: АЗС № 117 "Партнер Нефть" Адрес: 720001, г. Каракол, ул. Прежевальского 101/1 (кольцо), 42.500140, 78.386597 СНО: Общий режим Чек 125 02.06.2024 23:47 Смена: 372 ФФД: 1.0 ЗНМ: 0300000031 РНМ: 0000000000092737 Версия ККМ: 001 ФМ: 0000000000875074 ФД: 63737 ФПД: 248567698997748 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240602T234706&type=1&operation_type=1&fn_number=0000000000875074&fd_number=63737&fm=248567698997748&tin=02508201610067®Number=0000000000092737&sum=13300 0 [23:47:06]StoreToDocumentArchive [23:47:06]shift 372 fd 63737 [23:47:06]save to /storage/0372/doc_00063737 [23:47:06]save last doc name /storage/0372/doc_00063737 to /storage/kkm_last_doc_name [23:47:06]save OK [23:47:06]Clear old archive folders... [23:47:06]ProcessDocumentItem done err = 0, tmpTLVsize=393 [23:47:06]tlvbuf is 008A80F0 [23:47:06]SAM_PROTO_ClearQueue [23:47:06]wFMCommunicate request_size=4 [23:47:06]MH_SAM_APDU [23:47:06]CAPDU: 80 09 00 00 [23:47:06]Write to MH i2c: E2 08 00 46 01 80 09 00 00 00 00 00 00 B9 [23:47:06]Write i2c OK [23:47:06]MH_I2C_Read... [23:47:06]Read from MH i2c: E2 [23:47:06]MH_I2C_Read... [23:47:06]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [23:47:06]Read from MH i2c: E2 03 00 [23:47:06]MH_I2C_Read... [23:47:06]Read from MH i2c: E2 03 00 46 01 00 90 00 BB [23:47:06]RAPDU: 90 00 [23:47:06]wFMCommunicate OK [23:47:06]SAM_PROTO_ClearQueue done [23:47:06]KKMCreateOFDPacket [23:47:06]OFDProtocolAddRootSTLVToBuf [23:47:06]FM_MakeSignedData [23:47:06]FM_MakeSignedData [23:47:06]SAM_PROTO_SignData [23:47:06]wFMCommunicate request_size=4 [23:47:06]MH_SAM_APDU [23:47:06]CAPDU: 80 0D 01 02 [23:47:06]Write to MH i2c: E2 08 00 47 01 80 0D 01 02 00 00 00 00 C1 [23:47:06]Write i2c OK [23:47:06]MH_I2C_Read... [23:47:06]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [23:47:06]Read from MH i2c: E2 [23:47:06]MH_I2C_Read... [23:47:06]Read from MH i2c: E2 03 00 [23:47:06]MH_I2C_Read... [23:47:06]Read from MH i2c: E2 03 00 47 01 00 90 00 BC [23:47:06]RAPDU: 90 00 [23:47:06]wFMCommunicate OK [23:47:06]wFMCommunicate request_size=255 [23:47:06]MH_SAM_APDU [23:47:06]CAPDU: 80 0D 02 02 FA 03 00 89 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 37 30 30 33 32 31 30 30 35 30 31 37 06 04 34 00 D0 90 D1 80 D0 B0 D1 85 D0 B8 D1 81 20 4D 69 6B 65 20 D0 B6 D0 B0 D1 80 D0 B5 D0 BD D1 8B D0 B9 20 D1 81 D0 BE D0 BB D0 B5 D0 BD D1 8B D0 B9 20 35 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 CC 10 00 00 00 00 13 04 06 00 CC 10 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 36 38 30 30 33 36 39 31 34 39 33 37 06 04 1B 00 47 6F 72 69 6C 6C 61 20 D1 8D D0 BD 20 D0 BD D0 B0 D0 BF 20 30 2C 32 37 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F4 33 00 00 00 00 EB 03 26 00 EF 03 0F 00 [23:47:06]Write to MH i2c: E2 02 01 48 01 80 0D 02 02 FA 00 03 00 89 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 37 30 30 33 32 31 30 30 35 30 31 37 06 04 34 00 D0 90 D1 80 D0 B0 D1 85 D0 B8 D1 81 20 4D 69 6B 65 20 D0 B6 D0 B0 D1 80 D0 B5 D0 BD D1 8B D0 B9 20 D1 81 D0 BE D0 BB D0 B5 D0 BD D1 8B D0 B9 20 35 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 CC 10 00 00 00 00 13 04 06 00 CC 10 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 36 38 30 30 33 36 39 31 34 39 33 37 06 04 1B 00 47 6F 72 69 6C 6C 61 20 D1 8D D0 BD 20 D0 BD D0 B0 D0 BF 20 30 2C 32 37 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F4 33 00 00 00 00 EB 03 26 00 EF 03 0F 00 00 00 39 [23:47:06]Write i2c OK [23:47:06]MH_I2C_Read... [23:47:07]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:47:07]Read from MH i2c: E2 [23:47:07]MH_I2C_Read... [23:47:07]Read from MH i2c: E2 03 00 [23:47:07]MH_I2C_Read... [23:47:07]Read from MH i2c: E2 03 00 48 01 00 90 00 BD [23:47:07]RAPDU: 90 00 [23:47:07]wFMCommunicate OK [23:47:07]wFMCommunicate request_size=152 [23:47:07]MH_SAM_APDU [23:47:07]CAPDU: 80 0D 02 02 93 F6 03 01 00 01 F7 03 06 00 76 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 85 05 00 00 00 00 07 04 06 00 F4 33 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 7D 00 00 00 F4 03 04 00 7A 04 5D 66 0E 04 04 00 74 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 10 04 04 00 F9 F8 00 00 35 04 06 00 E2 12 2D 66 C1 F4 [23:47:07]Write to MH i2c: E2 9B 00 49 01 80 0D 02 02 93 00 F6 03 01 00 01 F7 03 06 00 76 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 85 05 00 00 00 00 07 04 06 00 F4 33 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 7D 00 00 00 F4 03 04 00 7A 04 5D 66 0E 04 04 00 74 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 10 04 04 00 F9 F8 00 00 35 04 06 00 E2 12 2D 66 C1 F4 00 00 9B [23:47:07]Write i2c OK [23:47:07]MH_I2C_Read... [23:47:07]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:47:07]Read from MH i2c: E2 [23:47:07]MH_I2C_Read... [23:47:07]Read from MH i2c: E2 03 00 [23:47:07]MH_I2C_Read... [23:47:07]Read from MH i2c: E2 03 00 49 01 00 90 00 BE [23:47:07]RAPDU: 90 00 [23:47:07]wFMCommunicate OK [23:47:07]wFMCommunicate request_size=4 [23:47:07]MH_SAM_APDU [23:47:07]CAPDU: 80 0D 03 02 [23:47:07]Write to MH i2c: E2 08 00 4A 01 80 0D 03 02 00 00 00 00 C6 [23:47:07]Write i2c OK [23:47:07]MH_I2C_Read... [23:47:07]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [23:47:07]Read from MH i2c: E2 [23:47:07]MH_I2C_Read... [23:47:07]Read from MH i2c: E2 0B 00 [23:47:07]MH_I2C_Read... [23:47:07]Read from MH i2c: E2 0B 00 4A 01 00 07 1B 16 40 9A 3D 98 F3 90 00 A1 [23:47:07]RAPDU: 07 1B 16 40 9A 3D 98 F3 90 00 [23:47:07]wFMCommunicate OK [23:47:07]SAM_PROTO_SignData done [23:47:07]FM_MakeSignedData done [23:47:07]CreateOFDProtocolMessage [23:47:07]wFMCommunicate request_size=4 [23:47:07]MH_SAM_APDU [23:47:07]CAPDU: 80 11 00 00 [23:47:07]Write to MH i2c: E2 08 00 4B 01 80 11 00 00 00 00 00 00 C6 [23:47:07]Write i2c OK [23:47:07]MH_I2C_Read... [23:47:07]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:47:07]Read from MH i2c: E2 [23:47:07]MH_I2C_Read... [23:47:07]Read from MH i2c: E2 17 00 [23:47:07]MH_I2C_Read... [23:47:07]Read from MH i2c: E2 17 00 4B 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 90 00 18 [23:47:07]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 90 00 [23:47:07]wFMCommunicate OK [23:47:07]CreateOFDProtocolMessage done [23:47:07]OFDSenderStorePacket 63737 [23:47:07]StoreOFDPacket docnum=63737 [23:47:07]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 9D 01 00 00 C8 A9 95 01 1B 26 5A 03 01 00 03 00 89 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 37 30 30 33 32 31 30 30 35 30 31 37 06 04 34 00 D0 90 D1 80 D0 B0 D1 85 D0 B8 D1 81 20 4D 69 6B 65 20 D0 B6 D0 B0 D1 80 D0 B5 D0 BD D1 8B D0 B9 20 D1 81 D0 BE D0 BB D0 B5 D0 BD D1 8B D0 B9 20 35 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 CC 10 00 00 00 00 13 04 06 00 CC 10 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 36 38 30 30 33 36 39 31 34 39 33 37 06 04 1B 00 47 6F 72 69 6C 6C 61 20 D1 8D D0 BD 20 D0 BD D0 B0 D0 BF 20 30 2C 32 37 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F4 33 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 76 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 85 05 00 00 00 00 07 04 06 00 F4 33 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 7D 00 00 00 F4 03 04 00 7A 04 5D 66 0E 04 04 00 74 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 10 04 04 00 F9 F8 00 00 35 04 06 00 E2 12 2D 66 C1 F4 07 1B 16 40 9A 3D 98 F3 [23:47:07]CheckFolder [23:47:07]dirname=/storage/ofd_packets [23:47:07]CheckFolder done [23:47:07]ProducePacketName [23:47:07]name=ofd_packets/00063737 [23:47:07]NVStorageSaveData ofd_packets/00063737 [23:47:07]File name is /storage/ofd_packets/00063737 [23:47:07]Write 443 bytes [23:47:07]NVStorageSaveData done [23:47:07]OFDSenderStorePacket done [23:47:07]KKMCreateOFDPacket done [23:47:07]NVStorageSaveData kkm_last_timestamp [23:47:07]File name is /storage/kkm_last_timestamp [23:47:07]Write 4 bytes [23:47:07]NVStorageSaveData done [23:47:07]ExternCall_PrintAddStr [23:47:07]wPrintStart [23:47:07]Write to MH i2c: 01 00 00 4C 01 4D [23:47:07]Write i2c OK [23:47:07]MH_I2C_Read... [23:47:07]Read from MH i2c: 01 [23:47:07]MH_I2C_Read... [23:47:07]Read from MH i2c: 01 07 00 [23:47:07]MH_I2C_Read... [23:47:07]Read from MH i2c: 01 07 00 4C 01 00 00 00 00 00 FF 0F 62 [23:47:07]RasterBufferAndPrint [23:47:07]line Счет N : (3)73328 [23:47:07]line ИНН: 02508201610067 [23:47:07]line Контрольно-Кассовый Чек [23:47:07]line ПРОДАЖА [23:47:07]line Товар: 4700321005017 [23:47:07]line Арахис Mike жареный соленый 50г [23:47:07]line 1.000 * 43.00 [23:47:07]line = 43.00 [23:47:07]line НДС 12% НСП 1% [23:47:07]line > о реализуемом товаре [23:47:07]line Товар: 4680036914937 [23:47:07]line Gorilla эн нап 0,275л [23:47:07]line 1.000 * 90.00 [23:47:07]line = 90.00 [23:47:07]line НДС 12% НСП 1% [23:47:07]line > о реализуемом товаре [23:47:07]line ИТОГО: 133.00 [23:47:07]line НСП 1% : 1.18 [23:47:07]line НДС 12% : 14.13 [23:47:07]line Наличными: 133.00 [23:47:07]line Безнал.: 0.00 [23:47:07]line Место: АЗС № 117 "Партнер Нефть" [23:47:07]line Адрес: 720001, г. Каракол, ул. Прежевальского 101/1 (кольцо), 42.500140, 78.386597 [23:47:07]line СНО: Общий режим [23:47:07]line Чек 125 02.06.2024 23:47 [23:47:07]line Смена: 372 ФФД: 1.0 [23:47:07]line ЗНМ: 0300000031 [23:47:07]line РНМ: 0000000000092737 [23:47:07]line Версия ККМ: 001 [23:47:07]line ФМ: 0000000000875074 [23:47:07]line ФД: 63737 [23:47:07]line ФПД: 248567698997748 [23:47:07]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240602T234706&type=1&operation_type=1&fn_number=0000000000875074&fd_number=63737&fm=248567698997748&tin=02508201610067®Number=0000000000092737&sum=13300 [23:47:07]line 0 [23:47:07]OFD Sender: Processing packet 63737 [packets to send 14, broken 13] [23:47:07]ProducePacketName [23:47:07]name=ofd_packets/00063737 [23:47:07]OFD Sender: To server: pG, [23:47:07]CommunicateWithHost lk.salyk.kg:30040 [23:47:07]ConnectInit lk.salyk.kg [23:47:07]written 0, free lines is 4095 [23:47:07]Connected sock=10 [23:47:07]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 9D 01 00 00 C8 A9 95 01 1B 26 5A 03 01 00 03 00 89 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 37 30 30 33 32 31 30 30 35 30 31 37 06 04 34 00 D0 90 D1 80 D0 B0 D1 85 D0 B8 D1 81 20 4D 69 6B 65 20 D0 B6 D0 B0 D1 80 D0 B5 D0 BD D1 8B D0 B9 20 D1 81 D0 BE D0 BB D0 B5 D0 BD D1 8B D0 B9 20 35 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 CC 10 00 00 00 00 13 04 06 00 CC 10 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 36 38 30 30 33 36 39 31 34 39 33 37 06 04 1B 00 47 6F 72 69 6C 6C 61 20 D1 8D D0 BD 20 D0 BD D0 B0 D0 BF 20 30 2C 32 37 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F4 33 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 76 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 85 05 00 00 00 00 07 04 06 00 F4 33 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 7D 00 00 00 F4 03 04 00 7A 04 5D 66 0E 04 04 00 74 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 10 04 04 00 F9 F8 00 00 35 04 06 00 E2 12 2D 66 C1 F4 07 1B 16 40 9A 3D 98 F3 [23:47:08]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 4F 00 00 00 D5 7F 47 00 E7 23 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 10 04 04 00 F9 F8 00 00 F4 03 04 00 4E B0 5C 66 B6 04 01 00 00 7E 11 56 89 BE E6 15 2D [23:47:08]CommunicateWithHost err = 0 [23:47:08]CheckOFDResponse [23:47:08]1017 (14) - 77093643461234 [23:47:08]1041 (16) - 0000000000875074 [23:47:08]1040 (4) - 63737 [23:47:08]1012 (4) - 02.06.2024 17:47 [23:47:08]1206 (1) - 0 [23:47:08]OFD Sender: Remove packet 63737 [23:47:08]ProducePacketName [23:47:08]name=ofd_packets/00063737 [23:47:08]NVStorageDeleteData [23:47:08]Write to MH i2c: 01 00 00 7B 01 7C [23:47:08]Write i2c OK [23:47:08]MH_I2C_Read... [23:47:08]Read from MH i2c: 01 [23:47:08]MH_I2C_Read... [23:47:08]Read from MH i2c: 01 07 00 [23:47:08]MH_I2C_Read... [23:47:08]Read from MH i2c: 01 07 00 7B 01 00 00 00 00 00 83 0C 12 [23:47:08]RasterBufferAndPrint [23:47:08]line [23:47:08]line [23:47:08]line [23:47:08]line [23:47:08]line [23:47:08]written 0, free lines is 3210 [23:47:08]MH_Cut [23:47:08]Write to MH i2c: D1 01 00 82 01 01 55 [23:47:08]Write i2c OK [23:47:08]MH_I2C_Read... [23:47:08]Read from MH i2c: D1 [23:47:08]MH_I2C_Read... [23:47:08]Read from MH i2c: D1 01 00 [23:47:08]MH_I2C_Read... [23:47:08]Read from MH i2c: D1 01 00 82 01 00 54 [23:47:08]Write to MH i2c: 01 00 00 83 01 84 [23:47:08]Write i2c OK [23:47:08]MH_I2C_Read... [23:47:08]OFD Sender: No OFD packet to send [23:47:09]*** Cut start [23:47:09]*** Partial cut [23:47:09]*** CUTSNS_PIN = 1 [23:47:09]*** CUTSNS_PIN = 0 [23:47:09]*** Brake cut motor [23:47:09]Read from MH i2c: 01 [23:47:09]MH_I2C_Read... [23:47:09]*** Stop cut motor [23:47:09]*** Cut end [23:47:09]Read from MH i2c: 01 07 00 [23:47:09]MH_I2C_Read... [23:47:09]Read from MH i2c: 01 07 00 83 01 00 00 00 00 00 FF 0F 99 [23:47:09]process_action close_receipt done [23:47:09]requested_data is exist [23:47:09]produce_requested_data [23:47:09]requested_item fm.sn is exist - process it [23:47:09]wFMCommunicate request_size=4 [23:47:09]MH_SAM_APDU [23:47:09]CAPDU: 80 11 00 00 [23:47:09]Write to MH i2c: E2 08 00 84 01 80 11 00 00 00 00 00 00 FF [23:47:09]Write i2c OK [23:47:09]MH_I2C_Read... [23:47:09]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:47:09]Read from MH i2c: E2 [23:47:09]MH_I2C_Read... [23:47:09]Read from MH i2c: E2 17 00 [23:47:09]MH_I2C_Read... [23:47:09]Read from MH i2c: E2 17 00 84 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 90 00 51 [23:47:09]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 90 00 [23:47:09]wFMCommunicate OK [23:47:09]requested_item fd.num is exist - process it [23:47:09]SAM_PROTO_GetFieldsCounters [23:47:09]wFMCommunicate request_size=4 [23:47:09]MH_SAM_APDU [23:47:09]CAPDU: 80 13 00 00 [23:47:09]Write to MH i2c: E2 08 00 85 01 80 13 00 00 00 00 00 00 02 [23:47:09]Write i2c OK [23:47:09]MH_I2C_Read... [23:47:09]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:47:09]Read from MH i2c: E2 [23:47:09]MH_I2C_Read... [23:47:09]Read from MH i2c: E2 62 00 [23:47:09]MH_I2C_Read... [23:47:09]Read from MH i2c: E2 62 00 85 01 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 33 37 10 04 04 00 F9 F8 00 00 0E 04 04 00 74 01 00 00 12 04 04 00 7D 00 00 00 5E 04 04 00 7D 00 00 00 57 04 04 00 7E 00 00 00 19 04 04 00 00 00 00 00 90 00 02 [23:47:09]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 33 37 10 04 04 00 F9 F8 00 00 0E 04 04 00 74 01 00 00 12 04 04 00 7D 00 00 00 5E 04 04 00 7D 00 00 00 57 04 04 00 7E 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:47:10]wFMCommunicate OK [23:47:10]SAM_PROTO_GetFieldsCounters done [23:47:10]requested_item shift.num is exist - process it [23:47:10]requested_item shift.opened is exist - process it [23:47:10]req_shift_opened [23:47:10]FM_GetShiftState [23:47:10]SAM_PROTO_GetShiftState [23:47:10]wFMCommunicate request_size=4 [23:47:10]MH_SAM_APDU [23:47:10]CAPDU: 80 13 01 00 [23:47:10]Write to MH i2c: E2 08 00 86 01 80 13 01 00 00 00 00 00 04 [23:47:10]Write i2c OK [23:47:10]MH_I2C_Read... [23:47:10]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:47:10]Read from MH i2c: E2 [23:47:10]MH_I2C_Read... [23:47:10]Read from MH i2c: E2 0E 00 [23:47:10]MH_I2C_Read... [23:47:10]Read from MH i2c: E2 0E 00 86 01 00 09 00 01 76 BD 5B 66 00 00 00 00 90 00 04 [23:47:10]RAPDU: 09 00 01 76 BD 5B 66 00 00 00 00 90 00 [23:47:10]wFMCommunicate OK [23:47:10]SAM_PROTO_GetShiftState done [23:47:10]FM_GetShiftState done [23:47:10]req_shift_opened done [23:47:10]requested_item shift.open_date is exist - process it [23:47:10]req_shift_open_date [23:47:10]req_shift_open_date done [23:47:10]produce_requested_data done [23:47:10]produce_requested_data return {"fm.sn":"0000000000875074","fd.num":63737,"shift.num":372,"shift.opened":1,"shift.open_date":1717288310} [23:47:10]process_action_free close_receipt [23:47:10]json_value_free [23:47:10]json_value_free done [23:47:10]process_json_proto returns [23:47:10]Send response to host [23:47:10]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875074","fd.num":63737,"shift.num":372,"shift.opened":1,"shift.open_date":1717288310}}} [23:47:10]free response buf [23:47:10]execute_script done [23:47:10]execute_script returns [23:47:10]free content buf [23:47:10]Sock 7.Close socket [23:47:10]Sock 7.Thread stoped [23:47:13]OFD Sender: No OFD packet to send [23:47:18]OFD Sender: No OFD packet to send [23:47:23]OFD Sender: No OFD packet to send [23:47:28]OFD Sender: No OFD packet to send [23:47:33]OFD Sender: No OFD packet to send [23:47:34]accept exits with 9 [23:47:34]New connection [23:47:34]New thread 3066654052 created [23:47:34]Thread 3066797412 joined [23:47:34]Waiting for new connection... [23:47:34] Sock 9.Parse request [23:47:34]Sock 9.Check first char [23:47:34]Sock 9.First char is OK [23:47:34]request: POST /json_proto HTTP/1.0 [23:47:34]Method: POST [23:47:34]URL: /json_proto [23:47:34]Method is POST - this is cgi request [23:47:34]url: /json_proto [23:47:34]query_string will be loaded in cgi processing [23:47:34]execute_cgi json_proto POST (null) [23:47:34]execute_cgi path=json_proto method=POST [23:47:34]POST find Content-Length [23:47:34]Host: 172.17.60.69:8080 [23:47:34]Content-Length: 622 [23:47:34]Content-Type: application/json [23:47:34] [23:47:34]POST finish read [23:47:34]Found Content-Length = 622 [23:47:34]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)73329", "tax_sys" : 0, "items" : [ { "code": "48743587", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Silver", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 140.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:47:34]execute_script... [23:47:34]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)73329", "tax_sys" : 0, "items" : [ { "code": "48743587", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Silver", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 140.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:47:34]POST & json_proto [23:47:34]process_json_proto [23:47:34]json parsed OK: [23:47:34]protocol is kg_v1.0 [23:47:34]action value=close_receipt [23:47:34]process_action close_receipt [23:47:34]cmd_close_receipt [23:47:34]MH_GetDate [23:47:34]Write to MH i2c: F0 00 00 87 01 77 [23:47:34]Write i2c OK [23:47:34]MH_I2C_Read... [23:47:34]Read from MH i2c: F0 [23:47:34]MH_I2C_Read... [23:47:34]Read from MH i2c: F0 09 00 [23:47:34]MH_I2C_Read... [23:47:34]Read from MH i2c: F0 09 00 87 01 00 97 04 5D 66 6A 96 4A 66 8E [23:47:34]GetLastDocTimeStamp 1717372026 [23:47:34]current date 1717372055 [23:47:34]FM_GetShiftState [23:47:34]SAM_PROTO_GetShiftState [23:47:34]wFMCommunicate request_size=4 [23:47:34]MH_SAM_APDU [23:47:34]CAPDU: 80 13 01 00 [23:47:34]Write to MH i2c: E2 08 00 88 01 80 13 01 00 00 00 00 00 06 [23:47:34]Write i2c OK [23:47:34]MH_I2C_Read... [23:47:34]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:47:34]Read from MH i2c: E2 [23:47:34]MH_I2C_Read... [23:47:34]Read from MH i2c: E2 0E 00 [23:47:34]MH_I2C_Read... [23:47:34]Read from MH i2c: E2 0E 00 88 01 00 09 00 01 76 BD 5B 66 00 00 00 00 90 00 06 [23:47:34]RAPDU: 09 00 01 76 BD 5B 66 00 00 00 00 90 00 [23:47:34]wFMCommunicate OK [23:47:34]SAM_PROTO_GetShiftState done [23:47:34]FM_GetShiftState done [23:47:34]opened in 1717288310 [23:47:34]opened+sec_in_day 1717374710 [23:47:34]quantity*price = 14000 [23:47:34]sum+1 = 14001 [23:47:34]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 140.00 НСП 1% : 1.24 НДС 12% : 14.87 Наличными: 140.00 Безнал.: 0.00 Место: АЗС № 117 "Партнер Нефть" Адрес: 720001, г. Каракол, ул. Прежевальского 101/1 (кольцо), 42.500140, 78.386597 СНО: Общий режим Чек 126 02.06.2024 23:47 Смена: 372 ФФД: 1.0 ЗНМ: 0300000031 РНМ: 0000000000092737 Версия ККМ: 001 ФМ: 0000000000875074 ФД: 63738 ФПД: 5475575610909 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240602T234735&type=1&operation_type=1&fn_number=0000000000875074&fd_number=63738&fm=5475575610909&tin=02508201610067®Number=0000000000092737&sum=14000 0 [23:47:35]StoreToDocumentArchive [23:47:35]shift 372 fd 63738 [23:47:35]save to /storage/0372/doc_00063738 [23:47:35]save last doc name /storage/0372/doc_00063738 to /storage/kkm_last_doc_name [23:47:35]save OK [23:47:35]Clear old archive folders... [23:47:35]ProcessDocumentItem done err = 0, tmpTLVsize=275 [23:47:35]tlvbuf is 008C24F0 [23:47:35]SAM_PROTO_ClearQueue [23:47:35]wFMCommunicate request_size=4 [23:47:35]MH_SAM_APDU [23:47:35]CAPDU: 80 09 00 00 [23:47:35]Write to MH i2c: E2 08 00 95 01 80 09 00 00 00 00 00 00 08 [23:47:35]Write i2c OK [23:47:35]MH_I2C_Read... [23:47:35]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [23:47:35]Read from MH i2c: E2 [23:47:35]MH_I2C_Read... [23:47:35]Read from MH i2c: E2 03 00 [23:47:35]MH_I2C_Read... [23:47:35]Read from MH i2c: E2 03 00 95 01 00 90 00 0A [23:47:35]RAPDU: 90 00 [23:47:35]wFMCommunicate OK [23:47:35]SAM_PROTO_ClearQueue done [23:47:35]KKMCreateOFDPacket [23:47:35]OFDProtocolAddRootSTLVToBuf [23:47:35]FM_MakeSignedData [23:47:35]FM_MakeSignedData [23:47:35]SAM_PROTO_SignData [23:47:35]wFMCommunicate request_size=4 [23:47:35]MH_SAM_APDU [23:47:35]CAPDU: 80 0D 01 02 [23:47:35]Write to MH i2c: E2 08 00 96 01 80 0D 01 02 00 00 00 00 10 [23:47:35]Write i2c OK [23:47:35]MH_I2C_Read... [23:47:35]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [23:47:35]Read from MH i2c: E2 [23:47:35]MH_I2C_Read... [23:47:35]Read from MH i2c: E2 03 00 [23:47:35]MH_I2C_Read... [23:47:35]Read from MH i2c: E2 03 00 96 01 00 90 00 0B [23:47:35]RAPDU: 90 00 [23:47:35]wFMCommunicate OK [23:47:35]wFMCommunicate request_size=255 [23:47:35]MH_SAM_APDU [23:47:35]CAPDU: 80 0D 02 02 FA 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 7E 00 00 00 F4 03 04 00 97 04 5D 66 0E 04 04 00 74 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 33 37 11 04 10 00 30 30 30 30 30 [23:47:35]Write to MH i2c: E2 02 01 97 01 80 0D 02 02 FA 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 7E 00 00 00 F4 03 04 00 97 04 5D 66 0E 04 04 00 74 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 33 37 11 04 10 00 30 30 30 30 30 00 00 F4 [23:47:35]Write i2c OK [23:47:35]MH_I2C_Read... [23:47:35]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:47:35]Read from MH i2c: E2 [23:47:35]MH_I2C_Read... [23:47:35]Read from MH i2c: E2 03 00 [23:47:35]MH_I2C_Read... [23:47:35]Read from MH i2c: E2 03 00 97 01 00 90 00 0C [23:47:35]RAPDU: 90 00 [23:47:35]wFMCommunicate OK [23:47:35]wFMCommunicate request_size=34 [23:47:35]MH_SAM_APDU [23:47:35]CAPDU: 80 0D 02 02 1D 30 30 30 30 30 38 37 35 30 37 34 10 04 04 00 FA F8 00 00 35 04 06 00 04 FA E1 BD 3E 1D [23:47:35]Write to MH i2c: E2 25 00 98 01 80 0D 02 02 1D 00 30 30 30 30 30 38 37 35 30 37 34 10 04 04 00 FA F8 00 00 35 04 06 00 04 FA E1 BD 3E 1D 00 00 BC [23:47:35]Write i2c OK [23:47:35]MH_I2C_Read... [23:47:36]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:47:36]Read from MH i2c: E2 [23:47:36]MH_I2C_Read... [23:47:36]Read from MH i2c: E2 03 00 [23:47:36]MH_I2C_Read... [23:47:36]Read from MH i2c: E2 03 00 98 01 00 90 00 0D [23:47:36]RAPDU: 90 00 [23:47:36]wFMCommunicate OK [23:47:36]wFMCommunicate request_size=4 [23:47:36]MH_SAM_APDU [23:47:36]CAPDU: 80 0D 03 02 [23:47:36]Write to MH i2c: E2 08 00 99 01 80 0D 03 02 00 00 00 00 15 [23:47:36]Write i2c OK [23:47:36]MH_I2C_Read... [23:47:36]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [23:47:36]Read from MH i2c: E2 [23:47:36]MH_I2C_Read... [23:47:36]Read from MH i2c: E2 0B 00 [23:47:36]MH_I2C_Read... [23:47:36]Read from MH i2c: E2 0B 00 99 01 00 E8 F6 FB 3E BD B2 5B FF 90 00 F6 [23:47:36]RAPDU: E8 F6 FB 3E BD B2 5B FF 90 00 [23:47:36]wFMCommunicate OK [23:47:36]SAM_PROTO_SignData done [23:47:36]FM_MakeSignedData done [23:47:36]CreateOFDProtocolMessage [23:47:36]wFMCommunicate request_size=4 [23:47:36]MH_SAM_APDU [23:47:36]CAPDU: 80 11 00 00 [23:47:36]Write to MH i2c: E2 08 00 9A 01 80 11 00 00 00 00 00 00 15 [23:47:36]Write i2c OK [23:47:36]MH_I2C_Read... [23:47:36]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:47:36]Read from MH i2c: E2 [23:47:36]MH_I2C_Read... [23:47:36]Read from MH i2c: E2 17 00 [23:47:36]MH_I2C_Read... [23:47:36]Read from MH i2c: E2 17 00 9A 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 90 00 67 [23:47:36]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 90 00 [23:47:36]wFMCommunicate OK [23:47:36]CreateOFDProtocolMessage done [23:47:36]OFDSenderStorePacket 63738 [23:47:36]StoreOFDPacket docnum=63738 [23:47:36]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 27 01 00 00 B8 03 1F 01 50 A5 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 7E 00 00 00 F4 03 04 00 97 04 5D 66 0E 04 04 00 74 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 10 04 04 00 FA F8 00 00 35 04 06 00 04 FA E1 BD 3E 1D E8 F6 FB 3E BD B2 5B FF [23:47:36]CheckFolder [23:47:36]dirname=/storage/ofd_packets [23:47:36]CheckFolder done [23:47:36]ProducePacketName [23:47:36]name=ofd_packets/00063738 [23:47:36]NVStorageSaveData ofd_packets/00063738 [23:47:36]File name is /storage/ofd_packets/00063738 [23:47:36]Write 325 bytes [23:47:36]NVStorageSaveData done [23:47:36]OFDSenderStorePacket done [23:47:36]KKMCreateOFDPacket done [23:47:36]NVStorageSaveData kkm_last_timestamp [23:47:36]File name is /storage/kkm_last_timestamp [23:47:36]Write 4 bytes [23:47:36]NVStorageSaveData done [23:47:36]ExternCall_PrintAddStr [23:47:36]wPrintStart [23:47:36]Write to MH i2c: 01 00 00 9B 01 9C [23:47:36]Write i2c OK [23:47:36]MH_I2C_Read... [23:47:36]Read from MH i2c: 01 [23:47:36]MH_I2C_Read... [23:47:36]Read from MH i2c: 01 07 00 [23:47:36]MH_I2C_Read... [23:47:36]Read from MH i2c: 01 07 00 9B 01 00 00 00 00 00 FF 0F B1 [23:47:36]RasterBufferAndPrint [23:47:36]line Счет N : (3)73329 [23:47:36]line ИНН: 02508201610067 [23:47:36]line Контрольно-Кассовый Чек [23:47:36]line ПРОДАЖА [23:47:36]line Товар: 48743587 [23:47:36]line Сигареты Winston XStyle Silver [23:47:36]line 1.000 * 140.00 [23:47:36]line = 140.00 [23:47:36]line НДС 12% НСП 1% [23:47:36]line > о реализуемом товаре [23:47:36]line ИТОГО: 140.00 [23:47:36]line НСП 1% : 1.24 [23:47:36]line НДС 12% : 14.87 [23:47:36]line Наличными: 140.00 [23:47:36]line Безнал.: 0.00 [23:47:36]line Место: АЗС № 117 "Партнер Нефть" [23:47:36]line Адрес: 720001, г. Каракол, ул. Прежевальского 101/1 (кольцо), 42.500140, 78.386597 [23:47:36]line СНО: Общий режим [23:47:36]line Чек 126 02.06.2024 23:47 [23:47:36]line Смена: 372 ФФД: 1.0 [23:47:36]line ЗНМ: 0300000031 [23:47:36]line РНМ: 0000000000092737 [23:47:36]line Версия ККМ: 001 [23:47:36]line ФМ: 0000000000875074 [23:47:36]line ФД: 63738 [23:47:36]line ФПД: 5475575610909 [23:47:36]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240602T234735&type=1&operation_type=1&fn_number=0000000000875074&fd_number=63738&fm=5475575610909&tin=02508201610067®Number=0000000000092737&sum=14000 [23:47:36]line 0 [23:47:36]OFD Sender: Processing packet 63738 [packets to send 14, broken 13] [23:47:36]ProducePacketName [23:47:36]name=ofd_packets/00063738 [23:47:36]OFD Sender: To server: pG, [23:47:36]CommunicateWithHost lk.salyk.kg:30040 [23:47:36]ConnectInit lk.salyk.kg [23:47:36]written 0, free lines is 4095 [23:47:36]Connected sock=10 [23:47:36]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 27 01 00 00 B8 03 1F 01 50 A5 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 7E 00 00 00 F4 03 04 00 97 04 5D 66 0E 04 04 00 74 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 10 04 04 00 FA F8 00 00 35 04 06 00 04 FA E1 BD 3E 1D E8 F6 FB 3E BD B2 5B FF [23:47:36]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 4F 00 00 00 5E 4C 47 00 AA 64 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 10 04 04 00 FA F8 00 00 F4 03 04 00 6A B0 5C 66 B6 04 01 00 00 FA 96 C5 34 07 D4 BE 20 [23:47:36]CommunicateWithHost err = 0 [23:47:36]CheckOFDResponse [23:47:36]1017 (14) - 77093643461234 [23:47:36]1041 (16) - 0000000000875074 [23:47:36]1040 (4) - 63738 [23:47:36]1012 (4) - 02.06.2024 17:48 [23:47:36]1206 (1) - 0 [23:47:36]OFD Sender: Remove packet 63738 [23:47:36]ProducePacketName [23:47:36]name=ofd_packets/00063738 [23:47:36]NVStorageDeleteData [23:47:36]Write to MH i2c: 01 00 00 C4 01 C5 [23:47:36]Write i2c OK [23:47:36]MH_I2C_Read... [23:47:36]Read from MH i2c: 01 [23:47:36]MH_I2C_Read... [23:47:36]Read from MH i2c: 01 07 00 [23:47:36]MH_I2C_Read... [23:47:36]Read from MH i2c: 01 07 00 C4 01 00 00 00 00 00 D9 0C B1 [23:47:36]RasterBufferAndPrint [23:47:36]line [23:47:36]line [23:47:36]line [23:47:36]line [23:47:36]line [23:47:36]written 0, free lines is 3296 [23:47:36]MH_Cut [23:47:36]Write to MH i2c: D1 01 00 CB 01 01 9E [23:47:36]Write i2c OK [23:47:36]MH_I2C_Read... [23:47:36]Read from MH i2c: D1 [23:47:36]MH_I2C_Read... [23:47:36]Read from MH i2c: D1 01 00 [23:47:36]MH_I2C_Read... [23:47:36]Read from MH i2c: D1 01 00 CB 01 00 9D [23:47:36]Write to MH i2c: 01 00 00 CC 01 CD [23:47:36]Write i2c OK [23:47:36]MH_I2C_Read... [23:47:37]OFD Sender: No OFD packet to send [23:47:37]*** Cut start [23:47:37]*** Partial cut [23:47:37]*** CUTSNS_PIN = 1 [23:47:37]*** CUTSNS_PIN = 0 [23:47:38]*** Brake cut motor [23:47:38]Read from MH i2c: 01 [23:47:38]MH_I2C_Read... [23:47:38]*** Stop cut motor [23:47:38]*** Cut end [23:47:38]Read from MH i2c: 01 07 00 [23:47:38]MH_I2C_Read... [23:47:38]Read from MH i2c: 01 07 00 CC 01 00 00 00 00 00 FF 0F E2 [23:47:38]process_action close_receipt done [23:47:38]requested_data is exist [23:47:38]produce_requested_data [23:47:38]requested_item fm.sn is exist - process it [23:47:38]wFMCommunicate request_size=4 [23:47:38]MH_SAM_APDU [23:47:38]CAPDU: 80 11 00 00 [23:47:38]Write to MH i2c: E2 08 00 CD 01 80 11 00 00 00 00 00 00 48 [23:47:38]Write i2c OK [23:47:38]MH_I2C_Read... [23:47:38]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:47:38]Read from MH i2c: E2 [23:47:38]MH_I2C_Read... [23:47:38]Read from MH i2c: E2 17 00 [23:47:38]MH_I2C_Read... [23:47:38]Read from MH i2c: E2 17 00 CD 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 90 00 9A [23:47:38]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 90 00 [23:47:38]wFMCommunicate OK [23:47:38]requested_item fd.num is exist - process it [23:47:38]SAM_PROTO_GetFieldsCounters [23:47:38]wFMCommunicate request_size=4 [23:47:38]MH_SAM_APDU [23:47:38]CAPDU: 80 13 00 00 [23:47:38]Write to MH i2c: E2 08 00 CE 01 80 13 00 00 00 00 00 00 4B [23:47:38]Write i2c OK [23:47:38]MH_I2C_Read... [23:47:38]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:47:38]Read from MH i2c: E2 [23:47:38]MH_I2C_Read... [23:47:38]Read from MH i2c: E2 62 00 [23:47:38]MH_I2C_Read... [23:47:38]Read from MH i2c: E2 62 00 CE 01 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 33 37 10 04 04 00 FA F8 00 00 0E 04 04 00 74 01 00 00 12 04 04 00 7E 00 00 00 5E 04 04 00 7E 00 00 00 57 04 04 00 7F 00 00 00 19 04 04 00 00 00 00 00 90 00 4F [23:47:38]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 33 37 10 04 04 00 FA F8 00 00 0E 04 04 00 74 01 00 00 12 04 04 00 7E 00 00 00 5E 04 04 00 7E 00 00 00 57 04 04 00 7F 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:47:38]wFMCommunicate OK [23:47:38]SAM_PROTO_GetFieldsCounters done [23:47:38]requested_item shift.num is exist - process it [23:47:38]requested_item shift.opened is exist - process it [23:47:38]req_shift_opened [23:47:38]FM_GetShiftState [23:47:38]SAM_PROTO_GetShiftState [23:47:38]wFMCommunicate request_size=4 [23:47:38]MH_SAM_APDU [23:47:38]CAPDU: 80 13 01 00 [23:47:38]Write to MH i2c: E2 08 00 CF 01 80 13 01 00 00 00 00 00 4D [23:47:38]Write i2c OK [23:47:38]MH_I2C_Read... [23:47:38]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:47:38]Read from MH i2c: E2 [23:47:38]MH_I2C_Read... [23:47:38]Read from MH i2c: E2 0E 00 [23:47:38]MH_I2C_Read... [23:47:38]Read from MH i2c: E2 0E 00 CF 01 00 09 00 01 76 BD 5B 66 00 00 00 00 90 00 4D [23:47:38]RAPDU: 09 00 01 76 BD 5B 66 00 00 00 00 90 00 [23:47:38]wFMCommunicate OK [23:47:38]SAM_PROTO_GetShiftState done [23:47:38]FM_GetShiftState done [23:47:38]req_shift_opened done [23:47:38]requested_item shift.open_date is exist - process it [23:47:38]req_shift_open_date [23:47:38]req_shift_open_date done [23:47:38]produce_requested_data done [23:47:38]produce_requested_data return {"fm.sn":"0000000000875074","fd.num":63738,"shift.num":372,"shift.opened":1,"shift.open_date":1717288310} [23:47:38]process_action_free close_receipt [23:47:38]json_value_free [23:47:38]json_value_free done [23:47:38]process_json_proto returns [23:47:38]Send response to host [23:47:38]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875074","fd.num":63738,"shift.num":372,"shift.opened":1,"shift.open_date":1717288310}}} [23:47:38]free response buf [23:47:38]execute_script done [23:47:38]execute_script returns [23:47:38]free content buf [23:47:38]Sock 9.Close socket [23:47:38]Sock 9.Thread stoped [23:47:42]OFD Sender: No OFD packet to send [23:47:47]OFD Sender: No OFD packet to send [23:47:52]OFD Sender: No OFD packet to send [23:47:57]OFD Sender: No OFD packet to send [23:48:02]OFD Sender: No OFD packet to send [23:48:07]OFD Sender: No OFD packet to send [23:48:12]OFD Sender: No OFD packet to send [23:48:17]OFD Sender: No OFD packet to send [23:48:22]OFD Sender: No OFD packet to send [23:48:27]OFD Sender: No OFD packet to send [23:48:32]OFD Sender: No OFD packet to send [23:48:37]OFD Sender: No OFD packet to send [23:48:42]OFD Sender: No OFD packet to send [23:48:47]OFD Sender: No OFD packet to send [23:48:52]OFD Sender: No OFD packet to send [23:48:52]accept exits with 7 [23:48:52]New connection [23:48:52]New thread 3066797412 created [23:48:52]Thread 3066654052 joined [23:48:52]Waiting for new connection... [23:48:52] Sock 7.Parse request [23:48:52]Sock 7.Check first char [23:48:52]Sock 7.First char is OK [23:48:52]request: POST /json_proto HTTP/1.0 [23:48:52]Method: POST [23:48:52]URL: /json_proto [23:48:52]Method is POST - this is cgi request [23:48:52]url: /json_proto [23:48:52]query_string will be loaded in cgi processing [23:48:52]execute_cgi json_proto POST (null) [23:48:52]execute_cgi path=json_proto method=POST [23:48:52]POST find Content-Length [23:48:52]Host: 172.17.60.69:8080 [23:48:52]Content-Length: 622 [23:48:52]Content-Type: application/json [23:48:52] [23:48:52]POST finish read [23:48:52]Found Content-Length = 622 [23:48:52]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)73330", "tax_sys" : 0, "items" : [ { "code": "48743587", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Silver", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 140.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:48:52]execute_script... [23:48:52]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)73330", "tax_sys" : 0, "items" : [ { "code": "48743587", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Silver", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 140.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:48:52]POST & json_proto [23:48:52]process_json_proto [23:48:52]json parsed OK: [23:48:52]protocol is kg_v1.0 [23:48:52]action value=close_receipt [23:48:52]process_action close_receipt [23:48:52]cmd_close_receipt [23:48:52]MH_GetDate [23:48:52]Write to MH i2c: F0 00 00 D0 01 C0 [23:48:52]Write i2c OK [23:48:52]MH_I2C_Read... [23:48:52]Read from MH i2c: F0 [23:48:52]MH_I2C_Read... [23:48:52]Read from MH i2c: F0 09 00 [23:48:52]MH_I2C_Read... [23:48:52]Read from MH i2c: F0 09 00 D0 01 00 E5 04 5D 66 6A 96 4A 66 25 [23:48:52]GetLastDocTimeStamp 1717372055 [23:48:52]current date 1717372133 [23:48:52]FM_GetShiftState [23:48:52]SAM_PROTO_GetShiftState [23:48:52]wFMCommunicate request_size=4 [23:48:52]MH_SAM_APDU [23:48:52]CAPDU: 80 13 01 00 [23:48:52]Write to MH i2c: E2 08 00 D1 01 80 13 01 00 00 00 00 00 4F [23:48:52]Write i2c OK [23:48:52]MH_I2C_Read... [23:48:52]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:48:52]Read from MH i2c: E2 [23:48:52]MH_I2C_Read... [23:48:52]Read from MH i2c: E2 0E 00 [23:48:52]MH_I2C_Read... [23:48:52]Read from MH i2c: E2 0E 00 D1 01 00 09 00 01 76 BD 5B 66 00 00 00 00 90 00 4F [23:48:52]RAPDU: 09 00 01 76 BD 5B 66 00 00 00 00 90 00 [23:48:52]wFMCommunicate OK [23:48:52]SAM_PROTO_GetShiftState done [23:48:52]FM_GetShiftState done [23:48:52]opened in 1717288310 [23:48:52]opened+sec_in_day 1717374710 [23:48:52]quantity*price = 14000 [23:48:52]sum+1 = 14001 [23:48:52]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 140.00 НСП 1% : 1.24 НДС 12% : 14.87 Наличными: 140.00 Безнал.: 0.00 Место: АЗС № 117 "Партнер Нефть" Адрес: 720001, г. Каракол, ул. Прежевальского 101/1 (кольцо), 42.500140, 78.386597 СНО: Общий режим Чек 127 02.06.2024 23:48 Смена: 372 ФФД: 1.0 ЗНМ: 0300000031 РНМ: 0000000000092737 Версия ККМ: 001 ФМ: 0000000000875074 ФД: 63739 ФПД: 261503475876934 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240602T234853&type=1&operation_type=1&fn_number=0000000000875074&fd_number=63739&fm=261503475876934&tin=02508201610067®Number=0000000000092737&sum=14000 0 [23:48:53]StoreToDocumentArchive [23:48:53]shift 372 fd 63739 [23:48:53]save to /storage/0372/doc_00063739 [23:48:53]save last doc name /storage/0372/doc_00063739 to /storage/kkm_last_doc_name [23:48:53]save OK [23:48:53]Clear old archive folders... [23:48:53]ProcessDocumentItem done err = 0, tmpTLVsize=275 [23:48:53]tlvbuf is 008C07D0 [23:48:53]SAM_PROTO_ClearQueue [23:48:53]wFMCommunicate request_size=4 [23:48:53]MH_SAM_APDU [23:48:53]CAPDU: 80 09 00 00 [23:48:53]Write to MH i2c: E2 08 00 DE 01 80 09 00 00 00 00 00 00 51 [23:48:53]Write i2c OK [23:48:53]MH_I2C_Read... [23:48:53]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [23:48:53]Read from MH i2c: E2 [23:48:53]MH_I2C_Read... [23:48:53]Read from MH i2c: E2 03 00 [23:48:53]MH_I2C_Read... [23:48:53]Read from MH i2c: E2 03 00 DE 01 00 90 00 53 [23:48:53]RAPDU: 90 00 [23:48:53]wFMCommunicate OK [23:48:53]SAM_PROTO_ClearQueue done [23:48:53]KKMCreateOFDPacket [23:48:53]OFDProtocolAddRootSTLVToBuf [23:48:53]FM_MakeSignedData [23:48:53]FM_MakeSignedData [23:48:53]SAM_PROTO_SignData [23:48:53]wFMCommunicate request_size=4 [23:48:53]MH_SAM_APDU [23:48:53]CAPDU: 80 0D 01 02 [23:48:53]Write to MH i2c: E2 08 00 DF 01 80 0D 01 02 00 00 00 00 59 [23:48:53]Write i2c OK [23:48:53]MH_I2C_Read... [23:48:53]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [23:48:53]Read from MH i2c: E2 [23:48:53]MH_I2C_Read... [23:48:53]Read from MH i2c: E2 03 00 [23:48:53]MH_I2C_Read... [23:48:53]Read from MH i2c: E2 03 00 DF 01 00 90 00 54 [23:48:53]RAPDU: 90 00 [23:48:53]wFMCommunicate OK [23:48:53]wFMCommunicate request_size=255 [23:48:53]MH_SAM_APDU [23:48:53]CAPDU: 80 0D 02 02 FA 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 7F 00 00 00 F4 03 04 00 E5 04 5D 66 0E 04 04 00 74 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 33 37 11 04 10 00 30 30 30 30 30 [23:48:53]Write to MH i2c: E2 02 01 E0 01 80 0D 02 02 FA 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 7F 00 00 00 F4 03 04 00 E5 04 5D 66 0E 04 04 00 74 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 33 37 11 04 10 00 30 30 30 30 30 00 00 8C [23:48:53]Write i2c OK [23:48:53]MH_I2C_Read... [23:48:53]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:48:53]Read from MH i2c: E2 [23:48:53]MH_I2C_Read... [23:48:53]Read from MH i2c: E2 03 00 [23:48:53]MH_I2C_Read... [23:48:53]Read from MH i2c: E2 03 00 E0 01 00 90 00 55 [23:48:53]RAPDU: 90 00 [23:48:53]wFMCommunicate OK [23:48:53]wFMCommunicate request_size=34 [23:48:53]MH_SAM_APDU [23:48:53]CAPDU: 80 0D 02 02 1D 30 30 30 30 30 38 37 35 30 37 34 10 04 04 00 FB F8 00 00 35 04 06 00 ED D6 05 C9 84 46 [23:48:53]Write to MH i2c: E2 25 00 E1 01 80 0D 02 02 1D 00 30 30 30 30 30 38 37 35 30 37 34 10 04 04 00 FB F8 00 00 35 04 06 00 ED D6 05 C9 84 46 00 00 6A [23:48:53]Write i2c OK [23:48:53]MH_I2C_Read... [23:48:53]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:48:53]Read from MH i2c: E2 [23:48:53]MH_I2C_Read... [23:48:53]Read from MH i2c: E2 03 00 [23:48:53]MH_I2C_Read... [23:48:53]Read from MH i2c: E2 03 00 E1 01 00 90 00 56 [23:48:53]RAPDU: 90 00 [23:48:53]wFMCommunicate OK [23:48:53]wFMCommunicate request_size=4 [23:48:53]MH_SAM_APDU [23:48:53]CAPDU: 80 0D 03 02 [23:48:53]Write to MH i2c: E2 08 00 E2 01 80 0D 03 02 00 00 00 00 5E [23:48:53]Write i2c OK [23:48:53]MH_I2C_Read... [23:48:53]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [23:48:53]Read from MH i2c: E2 [23:48:53]MH_I2C_Read... [23:48:53]Read from MH i2c: E2 0B 00 [23:48:53]MH_I2C_Read... [23:48:53]Read from MH i2c: E2 0B 00 E2 01 00 AD 2E 2C F6 80 A6 3A CA 90 00 86 [23:48:53]RAPDU: AD 2E 2C F6 80 A6 3A CA 90 00 [23:48:53]wFMCommunicate OK [23:48:53]SAM_PROTO_SignData done [23:48:53]FM_MakeSignedData done [23:48:53]CreateOFDProtocolMessage [23:48:53]wFMCommunicate request_size=4 [23:48:53]MH_SAM_APDU [23:48:53]CAPDU: 80 11 00 00 [23:48:53]Write to MH i2c: E2 08 00 E3 01 80 11 00 00 00 00 00 00 5E [23:48:53]Write i2c OK [23:48:53]MH_I2C_Read... [23:48:54]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:48:54]Read from MH i2c: E2 [23:48:54]MH_I2C_Read... [23:48:54]Read from MH i2c: E2 17 00 [23:48:54]MH_I2C_Read... [23:48:54]Read from MH i2c: E2 17 00 E3 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 90 00 B0 [23:48:54]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 90 00 [23:48:54]wFMCommunicate OK [23:48:54]CreateOFDProtocolMessage done [23:48:54]OFDSenderStorePacket 63739 [23:48:54]StoreOFDPacket docnum=63739 [23:48:54]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 27 01 00 00 40 49 1F 01 76 98 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 7F 00 00 00 F4 03 04 00 E5 04 5D 66 0E 04 04 00 74 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 10 04 04 00 FB F8 00 00 35 04 06 00 ED D6 05 C9 84 46 AD 2E 2C F6 80 A6 3A CA [23:48:54]CheckFolder [23:48:54]dirname=/storage/ofd_packets [23:48:54]CheckFolder done [23:48:54]ProducePacketName [23:48:54]name=ofd_packets/00063739 [23:48:54]NVStorageSaveData ofd_packets/00063739 [23:48:54]File name is /storage/ofd_packets/00063739 [23:48:54]Write 325 bytes [23:48:54]NVStorageSaveData done [23:48:54]OFDSenderStorePacket done [23:48:54]KKMCreateOFDPacket done [23:48:54]NVStorageSaveData kkm_last_timestamp [23:48:54]File name is /storage/kkm_last_timestamp [23:48:54]Write 4 bytes [23:48:54]NVStorageSaveData done [23:48:54]ExternCall_PrintAddStr [23:48:54]wPrintStart [23:48:54]Write to MH i2c: 01 00 00 E4 01 E5 [23:48:54]Write i2c OK [23:48:54]MH_I2C_Read... [23:48:54]Read from MH i2c: 01 [23:48:54]MH_I2C_Read... [23:48:54]Read from MH i2c: 01 07 00 [23:48:54]MH_I2C_Read... [23:48:54]Read from MH i2c: 01 07 00 E4 01 00 00 00 00 00 FF 0F FA [23:48:54]RasterBufferAndPrint [23:48:54]line Счет N : (3)73330 [23:48:54]line ИНН: 02508201610067 [23:48:54]line Контрольно-Кассовый Чек [23:48:54]line ПРОДАЖА [23:48:54]line Товар: 48743587 [23:48:54]line Сигареты Winston XStyle Silver [23:48:54]line 1.000 * 140.00 [23:48:54]line = 140.00 [23:48:54]line НДС 12% НСП 1% [23:48:54]line > о реализуемом товаре [23:48:54]line ИТОГО: 140.00 [23:48:54]line НСП 1% : 1.24 [23:48:54]line НДС 12% : 14.87 [23:48:54]line Наличными: 140.00 [23:48:54]line Безнал.: 0.00 [23:48:54]line Место: АЗС № 117 "Партнер Нефть" [23:48:54]line Адрес: 720001, г. Каракол, ул. Прежевальского 101/1 (кольцо), 42.500140, 78.386597 [23:48:54]line СНО: Общий режим [23:48:54]line Чек 127 02.06.2024 23:48 [23:48:54]line Смена: 372 ФФД: 1.0 [23:48:54]line ЗНМ: 0300000031 [23:48:54]line РНМ: 0000000000092737 [23:48:54]line Версия ККМ: 001 [23:48:54]line ФМ: 0000000000875074 [23:48:54]line ФД: 63739 [23:48:54]line ФПД: 261503475876934 [23:48:54]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240602T234853&type=1&operation_type=1&fn_number=0000000000875074&fd_number=63739&fm=261503475876934&tin=02508201610067®Number=0000000000092737&sum=14000 [23:48:54]line 0 [23:48:54]written 0, free lines is 4095 [23:48:54]OFD Sender: Processing packet 63739 [packets to send 14, broken 13] [23:48:54]ProducePacketName [23:48:54]name=ofd_packets/00063739 [23:48:54]OFD Sender: To server: pG, [23:48:54]CommunicateWithHost lk.salyk.kg:30040 [23:48:54]ConnectInit lk.salyk.kg [23:48:54]Connected sock=10 [23:48:54]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 27 01 00 00 40 49 1F 01 76 98 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 7F 00 00 00 F4 03 04 00 E5 04 5D 66 0E 04 04 00 74 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 10 04 04 00 FB F8 00 00 35 04 06 00 ED D6 05 C9 84 46 AD 2E 2C F6 80 A6 3A CA [23:48:54]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 4F 00 00 00 85 CE 47 00 38 4E A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 10 04 04 00 FB F8 00 00 F4 03 04 00 B8 B0 5C 66 B6 04 01 00 00 87 06 C5 BA 30 F2 62 16 [23:48:54]CommunicateWithHost err = 0 [23:48:54]CheckOFDResponse [23:48:54]1017 (14) - 77093643461234 [23:48:54]1041 (16) - 0000000000875074 [23:48:54]1040 (4) - 63739 [23:48:54]1012 (4) - 02.06.2024 17:49 [23:48:54]1206 (1) - 0 [23:48:54]OFD Sender: Remove packet 63739 [23:48:54]ProducePacketName [23:48:54]name=ofd_packets/00063739 [23:48:54]NVStorageDeleteData [23:48:54]Write to MH i2c: 01 00 00 0D 02 0F [23:48:54]Write i2c OK [23:48:54]MH_I2C_Read... [23:48:54]Read from MH i2c: 01 [23:48:54]MH_I2C_Read... [23:48:54]Read from MH i2c: 01 07 00 [23:48:54]MH_I2C_Read... [23:48:54]Read from MH i2c: 01 07 00 0D 02 00 00 00 00 00 EF 0C 11 [23:48:54]RasterBufferAndPrint [23:48:54]line [23:48:54]line [23:48:54]line [23:48:54]line [23:48:54]line [23:48:54]written 0, free lines is 3317 [23:48:54]MH_Cut [23:48:54]Write to MH i2c: D1 01 00 14 02 01 E8 [23:48:54]Write i2c OK [23:48:54]MH_I2C_Read... [23:48:54]Read from MH i2c: D1 [23:48:54]MH_I2C_Read... [23:48:54]Read from MH i2c: D1 01 00 [23:48:54]MH_I2C_Read... [23:48:54]Read from MH i2c: D1 01 00 14 02 00 E7 [23:48:54]Write to MH i2c: 01 00 00 15 02 17 [23:48:54]Write i2c OK [23:48:54]MH_I2C_Read... [23:48:54]OFD Sender: No OFD packet to send [23:48:55]*** Cut start [23:48:55]*** Partial cut [23:48:55]*** CUTSNS_PIN = 1 [23:48:55]*** CUTSNS_PIN = 0 [23:48:55]*** Brake cut motor [23:48:55]Read from MH i2c: 01 [23:48:55]MH_I2C_Read... [23:48:55]*** Stop cut motor [23:48:55]*** Cut end [23:48:55]Read from MH i2c: 01 07 00 [23:48:55]MH_I2C_Read... [23:48:55]Read from MH i2c: 01 07 00 15 02 00 00 00 00 00 FF 0F 2C [23:48:55]process_action close_receipt done [23:48:55]requested_data is exist [23:48:55]produce_requested_data [23:48:55]requested_item fm.sn is exist - process it [23:48:55]wFMCommunicate request_size=4 [23:48:55]MH_SAM_APDU [23:48:55]CAPDU: 80 11 00 00 [23:48:55]Write to MH i2c: E2 08 00 16 02 80 11 00 00 00 00 00 00 92 [23:48:55]Write i2c OK [23:48:55]MH_I2C_Read... [23:48:55]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:48:55]Read from MH i2c: E2 [23:48:55]MH_I2C_Read... [23:48:55]Read from MH i2c: E2 17 00 [23:48:55]MH_I2C_Read... [23:48:55]Read from MH i2c: E2 17 00 16 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 90 00 E4 [23:48:55]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 90 00 [23:48:55]wFMCommunicate OK [23:48:55]requested_item fd.num is exist - process it [23:48:55]SAM_PROTO_GetFieldsCounters [23:48:55]wFMCommunicate request_size=4 [23:48:55]MH_SAM_APDU [23:48:55]CAPDU: 80 13 00 00 [23:48:55]Write to MH i2c: E2 08 00 17 02 80 13 00 00 00 00 00 00 95 [23:48:55]Write i2c OK [23:48:55]MH_I2C_Read... [23:48:56]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:48:56]Read from MH i2c: E2 [23:48:56]MH_I2C_Read... [23:48:56]Read from MH i2c: E2 62 00 [23:48:56]MH_I2C_Read... [23:48:56]Read from MH i2c: E2 62 00 17 02 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 33 37 10 04 04 00 FB F8 00 00 0E 04 04 00 74 01 00 00 12 04 04 00 7F 00 00 00 5E 04 04 00 7F 00 00 00 57 04 04 00 80 00 00 00 19 04 04 00 00 00 00 00 90 00 9D [23:48:56]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 33 37 10 04 04 00 FB F8 00 00 0E 04 04 00 74 01 00 00 12 04 04 00 7F 00 00 00 5E 04 04 00 7F 00 00 00 57 04 04 00 80 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:48:56]wFMCommunicate OK [23:48:56]SAM_PROTO_GetFieldsCounters done [23:48:56]requested_item shift.num is exist - process it [23:48:56]requested_item shift.opened is exist - process it [23:48:56]req_shift_opened [23:48:56]FM_GetShiftState [23:48:56]SAM_PROTO_GetShiftState [23:48:56]wFMCommunicate request_size=4 [23:48:56]MH_SAM_APDU [23:48:56]CAPDU: 80 13 01 00 [23:48:56]Write to MH i2c: E2 08 00 18 02 80 13 01 00 00 00 00 00 97 [23:48:56]Write i2c OK [23:48:56]MH_I2C_Read... [23:48:56]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:48:56]Read from MH i2c: E2 [23:48:56]MH_I2C_Read... [23:48:56]Read from MH i2c: E2 0E 00 [23:48:56]MH_I2C_Read... [23:48:56]Read from MH i2c: E2 0E 00 18 02 00 09 00 01 76 BD 5B 66 00 00 00 00 90 00 97 [23:48:56]RAPDU: 09 00 01 76 BD 5B 66 00 00 00 00 90 00 [23:48:56]wFMCommunicate OK [23:48:56]SAM_PROTO_GetShiftState done [23:48:56]FM_GetShiftState done [23:48:56]req_shift_opened done [23:48:56]requested_item shift.open_date is exist - process it [23:48:56]req_shift_open_date [23:48:56]req_shift_open_date done [23:48:56]produce_requested_data done [23:48:56]produce_requested_data return {"fm.sn":"0000000000875074","fd.num":63739,"shift.num":372,"shift.opened":1,"shift.open_date":1717288310} [23:48:56]process_action_free close_receipt [23:48:56]json_value_free [23:48:56]json_value_free done [23:48:56]process_json_proto returns [23:48:56]Send response to host [23:48:56]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875074","fd.num":63739,"shift.num":372,"shift.opened":1,"shift.open_date":1717288310}}} [23:48:56]free response buf [23:48:56]execute_script done [23:48:56]execute_script returns [23:48:56]free content buf [23:48:56]Sock 7.Close socket [23:48:56]Sock 7.Thread stoped [23:48:59]OFD Sender: No OFD packet to send [23:49:04]OFD Sender: No OFD packet to send [23:49:09]OFD Sender: No OFD packet to send [23:49:14]OFD Sender: No OFD packet to send [23:49:19]OFD Sender: No OFD packet to send [23:49:24]OFD Sender: No OFD packet to send [23:49:29]OFD Sender: No OFD packet to send [23:49:34]OFD Sender: No OFD packet to send [23:49:39]OFD Sender: No OFD packet to send [23:49:44]OFD Sender: No OFD packet to send [23:49:49]OFD Sender: No OFD packet to send [23:49:54]OFD Sender: No OFD packet to send [23:49:59]OFD Sender: No OFD packet to send [23:50:04]OFD Sender: No OFD packet to send [23:50:09]OFD Sender: No OFD packet to send [23:50:14]OFD Sender: No OFD packet to send [23:50:19]OFD Sender: No OFD packet to send [23:50:24]OFD Sender: No OFD packet to send [23:50:29]OFD Sender: No OFD packet to send [23:50:35]OFD Sender: No OFD packet to send [23:50:40]OFD Sender: No OFD packet to send [23:50:45]OFD Sender: No OFD packet to send [23:50:50]OFD Sender: No OFD packet to send [23:50:55]OFD Sender: No OFD packet to send [23:51:00]OFD Sender: No OFD packet to send [23:51:05]OFD Sender: No OFD packet to send [23:51:10]OFD Sender: No OFD packet to send [23:51:15]OFD Sender: No OFD packet to send [23:51:20]OFD Sender: No OFD packet to send [23:51:25]OFD Sender: No OFD packet to send [23:51:30]OFD Sender: No OFD packet to send [23:51:35]OFD Sender: No OFD packet to send [23:51:40]OFD Sender: No OFD packet to send [23:51:45]OFD Sender: No OFD packet to send [23:51:50]OFD Sender: No OFD packet to send [23:51:55]OFD Sender: No OFD packet to send [23:52:00]OFD Sender: No OFD packet to send [23:52:05]OFD Sender: No OFD packet to send [23:52:10]OFD Sender: No OFD packet to send [23:52:15]OFD Sender: No OFD packet to send [23:52:20]OFD Sender: No OFD packet to send [23:52:25]OFD Sender: No OFD packet to send [23:52:30]OFD Sender: No OFD packet to send [23:52:35]OFD Sender: No OFD packet to send [23:52:40]OFD Sender: No OFD packet to send [23:52:45]OFD Sender: No OFD packet to send [23:52:50]OFD Sender: No OFD packet to send [23:52:55]OFD Sender: No OFD packet to send [23:53:00]OFD Sender: No OFD packet to send [23:53:05]OFD Sender: No OFD packet to send [23:53:10]OFD Sender: No OFD packet to send [23:53:15]OFD Sender: No OFD packet to send [23:53:20]OFD Sender: No OFD packet to send [23:53:25]OFD Sender: No OFD packet to send [23:53:30]OFD Sender: No OFD packet to send [23:53:35]OFD Sender: No OFD packet to send [23:53:40]OFD Sender: No OFD packet to send [23:53:45]OFD Sender: No OFD packet to send [23:53:50]OFD Sender: No OFD packet to send [23:53:55]OFD Sender: No OFD packet to send [23:54:00]OFD Sender: No OFD packet to send [23:54:05]OFD Sender: No OFD packet to send [23:54:10]OFD Sender: No OFD packet to send [23:54:15]OFD Sender: No OFD packet to send [23:54:20]OFD Sender: No OFD packet to send [23:54:25]OFD Sender: No OFD packet to send [23:54:30]OFD Sender: No OFD packet to send [23:54:35]OFD Sender: No OFD packet to send [23:54:40]OFD Sender: No OFD packet to send [23:54:45]OFD Sender: No OFD packet to send [23:54:50]OFD Sender: No OFD packet to send [23:54:55]OFD Sender: No OFD packet to send [23:55:00]OFD Sender: No OFD packet to send [23:55:05]OFD Sender: No OFD packet to send [23:55:10]OFD Sender: No OFD packet to send [23:55:11]accept exits with 9 [23:55:11]New connection [23:55:11]New thread 3066654052 created [23:55:11]Thread 3066797412 joined [23:55:11]Waiting for new connection... [23:55:11] Sock 9.Parse request [23:55:11]Sock 9.Check first char [23:55:11]Sock 9.First char is OK [23:55:11]request: POST /json_proto HTTP/1.0 [23:55:11]Method: POST [23:55:11]URL: /json_proto [23:55:11]Method is POST - this is cgi request [23:55:11]url: /json_proto [23:55:11]query_string will be loaded in cgi processing [23:55:11]execute_cgi json_proto POST (null) [23:55:11]execute_cgi path=json_proto method=POST [23:55:11]POST find Content-Length [23:55:11]Host: 172.17.60.69:8080 [23:55:11]Content-Length: 821 [23:55:11]Content-Type: application/json [23:55:11] [23:55:11]POST finish read [23:55:11]Found Content-Length = 821 [23:55:11]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)73331", "tax_sys" : 0, "items" : [ { "code": "8710732217097", "name": "\u0417\u0430\u0436\u0438\u0433\u0430\u043B\u043A\u0430 Cricket \u041F\u041D \u043F\u044C\u0435\u0437\u043E", "price" : 67.00, "quantity" : 1.000, "sum" : 67.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 67.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:55:11]execute_script... [23:55:11]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)73331", "tax_sys" : 0, "items" : [ { "code": "8710732217097", "name": "\u0417\u0430\u0436\u0438\u0433\u0430\u043B\u043A\u0430 Cricket \u041F\u041D \u043F\u044C\u0435\u0437\u043E", "price" : 67.00, "quantity" : 1.000, "sum" : 67.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 67.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:55:11]POST & json_proto [23:55:11]process_json_proto [23:55:11]json parsed OK: [23:55:11]protocol is kg_v1.0 [23:55:11]action value=close_receipt [23:55:11]process_action close_receipt [23:55:11]cmd_close_receipt [23:55:11]MH_GetDate [23:55:11]Write to MH i2c: F0 00 00 19 02 0A [23:55:11]Write i2c OK [23:55:11]MH_I2C_Read... [23:55:11]Read from MH i2c: F0 [23:55:11]MH_I2C_Read... [23:55:11]Read from MH i2c: F0 09 00 [23:55:11]MH_I2C_Read... [23:55:11]Read from MH i2c: F0 09 00 19 02 00 60 06 5D 66 6A 96 4A 66 EC [23:55:11]GetLastDocTimeStamp 1717372133 [23:55:11]current date 1717372512 [23:55:11]FM_GetShiftState [23:55:11]SAM_PROTO_GetShiftState [23:55:11]wFMCommunicate request_size=4 [23:55:11]MH_SAM_APDU [23:55:11]CAPDU: 80 13 01 00 [23:55:11]Write to MH i2c: E2 08 00 1A 02 80 13 01 00 00 00 00 00 99 [23:55:11]Write i2c OK [23:55:11]MH_I2C_Read... [23:55:11]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:55:11]Read from MH i2c: E2 [23:55:11]MH_I2C_Read... [23:55:11]Read from MH i2c: E2 0E 00 [23:55:11]MH_I2C_Read... [23:55:11]Read from MH i2c: E2 0E 00 1A 02 00 09 00 01 76 BD 5B 66 00 00 00 00 90 00 99 [23:55:11]RAPDU: 09 00 01 76 BD 5B 66 00 00 00 00 90 00 [23:55:11]wFMCommunicate OK [23:55:11]SAM_PROTO_GetShiftState done [23:55:11]FM_GetShiftState done [23:55:11]opened in 1717288310 [23:55:11]opened+sec_in_day 1717374710 [23:55:11]quantity*price = 6700 [23:55:11]sum+1 = 6701 [23:55:11]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 67.00 НСП 1% : 0.59 НДС 12% : 7.11 Наличными: 0.00 Безнал.: 67.00 Место: АЗС № 117 "Партнер Нефть" Адрес: 720001, г. Каракол, ул. Прежевальского 101/1 (кольцо), 42.500140, 78.386597 СНО: Общий режим Чек 128 02.06.2024 23:55 Смена: 372 ФФД: 1.0 ЗНМ: 0300000031 РНМ: 0000000000092737 Версия ККМ: 001 Платежная система: O! деньги ФМ: 0000000000875074 ФД: 63740 ФПД: 178698328997891 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240602T235512&type=1&operation_type=1&fn_number=0000000000875074&fd_number=63740&fm=178698328997891&tin=02508201610067®Number=0000000000092737&sum=6700 0 [23:55:12]StoreToDocumentArchive [23:55:12]shift 372 fd 63740 [23:55:12]save to /storage/0372/doc_00063740 [23:55:12]save last doc name /storage/0372/doc_00063740 to /storage/kkm_last_doc_name [23:55:12]save OK [23:55:12]Clear old archive folders... [23:55:12]ProcessDocumentItem done err = 0, tmpTLVsize=284 [23:55:12]tlvbuf is 008C1F00 [23:55:12]SAM_PROTO_ClearQueue [23:55:12]wFMCommunicate request_size=4 [23:55:12]MH_SAM_APDU [23:55:12]CAPDU: 80 09 00 00 [23:55:12]Write to MH i2c: E2 08 00 27 02 80 09 00 00 00 00 00 00 9B [23:55:12]Write i2c OK [23:55:12]MH_I2C_Read... [23:55:12]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [23:55:12]Read from MH i2c: E2 [23:55:12]MH_I2C_Read... [23:55:12]Read from MH i2c: E2 03 00 [23:55:12]MH_I2C_Read... [23:55:12]Read from MH i2c: E2 03 00 27 02 00 90 00 9D [23:55:12]RAPDU: 90 00 [23:55:12]wFMCommunicate OK [23:55:12]SAM_PROTO_ClearQueue done [23:55:12]KKMCreateOFDPacket [23:55:12]OFDProtocolAddRootSTLVToBuf [23:55:12]FM_MakeSignedData [23:55:12]FM_MakeSignedData [23:55:12]SAM_PROTO_SignData [23:55:12]wFMCommunicate request_size=4 [23:55:12]MH_SAM_APDU [23:55:12]CAPDU: 80 0D 01 02 [23:55:12]Write to MH i2c: E2 08 00 28 02 80 0D 01 02 00 00 00 00 A3 [23:55:12]Write i2c OK [23:55:12]MH_I2C_Read... [23:55:12]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [23:55:12]Read from MH i2c: E2 [23:55:12]MH_I2C_Read... [23:55:12]Read from MH i2c: E2 03 00 [23:55:12]MH_I2C_Read... [23:55:12]Read from MH i2c: E2 03 00 28 02 00 90 00 9E [23:55:12]RAPDU: 90 00 [23:55:12]wFMCommunicate OK [23:55:12]wFMCommunicate request_size=255 [23:55:12]MH_SAM_APDU [23:55:12]CAPDU: 80 0D 02 02 FA 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 38 37 31 30 37 33 32 32 31 37 30 39 37 06 04 2A 00 D0 97 D0 B0 D0 B6 D0 B8 D0 B3 D0 B0 D0 BB D0 BA D0 B0 20 43 72 69 63 6B 65 74 20 D0 9F D0 9D 20 D0 BF D1 8C D0 B5 D0 B7 D0 BE FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 2C 1A 00 00 00 00 13 04 06 00 2C 1A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 2C 1A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C7 02 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 2C 1A 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 80 00 00 00 F4 03 04 00 60 06 5D 66 0E 04 04 00 74 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 33 37 [23:55:12]Write to MH i2c: E2 02 01 29 02 80 0D 02 02 FA 00 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 38 37 31 30 37 33 32 32 31 37 30 39 37 06 04 2A 00 D0 97 D0 B0 D0 B6 D0 B8 D0 B3 D0 B0 D0 BB D0 BA D0 B0 20 43 72 69 63 6B 65 74 20 D0 9F D0 9D 20 D0 BF D1 8C D0 B5 D0 B7 D0 BE FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 2C 1A 00 00 00 00 13 04 06 00 2C 1A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 2C 1A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C7 02 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 2C 1A 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 80 00 00 00 F4 03 04 00 60 06 5D 66 0E 04 04 00 74 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 33 37 00 00 E9 [23:55:12]Write i2c OK [23:55:12]MH_I2C_Read... [23:55:12]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:55:12]Read from MH i2c: E2 [23:55:12]MH_I2C_Read... [23:55:12]Read from MH i2c: E2 03 00 [23:55:12]MH_I2C_Read... [23:55:12]Read from MH i2c: E2 03 00 29 02 00 90 00 9F [23:55:12]RAPDU: 90 00 [23:55:12]wFMCommunicate OK [23:55:12]wFMCommunicate request_size=43 [23:55:12]MH_SAM_APDU [23:55:12]CAPDU: 80 0D 02 02 26 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 10 04 04 00 FC F8 00 00 35 04 06 00 A2 86 72 6C 00 03 [23:55:12]Write to MH i2c: E2 2E 00 2A 02 80 0D 02 02 26 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 10 04 04 00 FC F8 00 00 35 04 06 00 A2 86 72 6C 00 03 00 00 8A [23:55:12]Write i2c OK [23:55:12]MH_I2C_Read... [23:55:12]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:55:12]Read from MH i2c: E2 [23:55:12]MH_I2C_Read... [23:55:12]Read from MH i2c: E2 03 00 [23:55:12]MH_I2C_Read... [23:55:12]Read from MH i2c: E2 03 00 2A 02 00 90 00 A0 [23:55:12]RAPDU: 90 00 [23:55:12]wFMCommunicate OK [23:55:12]wFMCommunicate request_size=4 [23:55:12]MH_SAM_APDU [23:55:12]CAPDU: 80 0D 03 02 [23:55:12]Write to MH i2c: E2 08 00 2B 02 80 0D 03 02 00 00 00 00 A8 [23:55:12]Write i2c OK [23:55:12]MH_I2C_Read... [23:55:13]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [23:55:13]Read from MH i2c: E2 [23:55:13]MH_I2C_Read... [23:55:13]Read from MH i2c: E2 0B 00 [23:55:13]MH_I2C_Read... [23:55:13]Read from MH i2c: E2 0B 00 2B 02 00 08 A9 19 86 E0 9E 19 38 90 00 C8 [23:55:13]RAPDU: 08 A9 19 86 E0 9E 19 38 90 00 [23:55:13]wFMCommunicate OK [23:55:13]SAM_PROTO_SignData done [23:55:13]FM_MakeSignedData done [23:55:13]CreateOFDProtocolMessage [23:55:13]wFMCommunicate request_size=4 [23:55:13]MH_SAM_APDU [23:55:13]CAPDU: 80 11 00 00 [23:55:13]Write to MH i2c: E2 08 00 2C 02 80 11 00 00 00 00 00 00 A8 [23:55:13]Write i2c OK [23:55:13]MH_I2C_Read... [23:55:13]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:55:13]Read from MH i2c: E2 [23:55:13]MH_I2C_Read... [23:55:13]Read from MH i2c: E2 17 00 [23:55:13]MH_I2C_Read... [23:55:13]Read from MH i2c: E2 17 00 2C 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 90 00 FA [23:55:13]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 90 00 [23:55:13]wFMCommunicate OK [23:55:13]CreateOFDProtocolMessage done [23:55:13]OFDSenderStorePacket 63740 [23:55:13]StoreOFDPacket docnum=63740 [23:55:13]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 30 01 00 00 87 A0 28 01 34 B2 5A 03 01 00 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 38 37 31 30 37 33 32 32 31 37 30 39 37 06 04 2A 00 D0 97 D0 B0 D0 B6 D0 B8 D0 B3 D0 B0 D0 BB D0 BA D0 B0 20 43 72 69 63 6B 65 74 20 D0 9F D0 9D 20 D0 BF D1 8C D0 B5 D0 B7 D0 BE FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 2C 1A 00 00 00 00 13 04 06 00 2C 1A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 2C 1A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C7 02 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 2C 1A 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 80 00 00 00 F4 03 04 00 60 06 5D 66 0E 04 04 00 74 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 10 04 04 00 FC F8 00 00 35 04 06 00 A2 86 72 6C 00 03 08 A9 19 86 E0 9E 19 38 [23:55:13]CheckFolder [23:55:13]dirname=/storage/ofd_packets [23:55:13]CheckFolder done [23:55:13]ProducePacketName [23:55:13]name=ofd_packets/00063740 [23:55:13]NVStorageSaveData ofd_packets/00063740 [23:55:13]File name is /storage/ofd_packets/00063740 [23:55:13]Write 334 bytes [23:55:13]NVStorageSaveData done [23:55:13]OFDSenderStorePacket done [23:55:13]KKMCreateOFDPacket done [23:55:13]NVStorageSaveData kkm_last_timestamp [23:55:13]File name is /storage/kkm_last_timestamp [23:55:13]Write 4 bytes [23:55:13]NVStorageSaveData done [23:55:13]ExternCall_PrintAddStr [23:55:13]wPrintStart [23:55:13]Write to MH i2c: 01 00 00 2D 02 2F [23:55:13]Write i2c OK [23:55:13]MH_I2C_Read... [23:55:13]Read from MH i2c: 01 [23:55:13]MH_I2C_Read... [23:55:13]Read from MH i2c: 01 07 00 [23:55:13]MH_I2C_Read... [23:55:13]Read from MH i2c: 01 07 00 2D 02 00 00 00 00 00 FF 0F 44 [23:55:13]RasterBufferAndPrint [23:55:13]line Счет N : (3)73331 [23:55:13]line ИНН: 02508201610067 [23:55:13]line Контрольно-Кассовый Чек [23:55:13]line ПРОДАЖА [23:55:13]line Товар: 8710732217097 [23:55:13]line Зажигалка Cricket ПН пьезо [23:55:13]line 1.000 * 67.00 [23:55:13]line = 67.00 [23:55:13]line НДС 12% НСП 1% [23:55:13]line > о реализуемом товаре [23:55:13]line ИТОГО: 67.00 [23:55:13]line НСП 1% : 0.59 [23:55:13]line НДС 12% : 7.11 [23:55:13]line Наличными: 0.00 [23:55:13]line Безнал.: 67.00 [23:55:13]line Место: АЗС № 117 "Партнер Нефть" [23:55:13]line Адрес: 720001, г. Каракол, ул. Прежевальского 101/1 (кольцо), 42.500140, 78.386597 [23:55:13]line СНО: Общий режим [23:55:13]line Чек 128 02.06.2024 23:55 [23:55:13]line Смена: 372 ФФД: 1.0 [23:55:13]line ЗНМ: 0300000031 [23:55:13]line РНМ: 0000000000092737 [23:55:13]line Версия ККМ: 001 [23:55:13]line Платежная система: O! деньги [23:55:13]line ФМ: 0000000000875074 [23:55:13]line ФД: 63740 [23:55:13]line ФПД: 178698328997891 [23:55:13]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240602T235512&type=1&operation_type=1&fn_number=0000000000875074&fd_number=63740&fm=178698328997891&tin=02508201610067®Number=0000000000092737&sum=6700 [23:55:13]line 0 [23:55:13]OFD Sender: Processing packet 63740 [packets to send 14, broken 13] [23:55:13]ProducePacketName [23:55:13]name=ofd_packets/00063740 [23:55:13]OFD Sender: To server: pG, [23:55:13]CommunicateWithHost lk.salyk.kg:30040 [23:55:13]ConnectInit lk.salyk.kg [23:55:13]written 0, free lines is 4095 [23:55:13]Connected sock=10 [23:55:13]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 30 01 00 00 87 A0 28 01 34 B2 5A 03 01 00 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 38 37 31 30 37 33 32 32 31 37 30 39 37 06 04 2A 00 D0 97 D0 B0 D0 B6 D0 B8 D0 B3 D0 B0 D0 BB D0 BA D0 B0 20 43 72 69 63 6B 65 74 20 D0 9F D0 9D 20 D0 BF D1 8C D0 B5 D0 B7 D0 BE FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 2C 1A 00 00 00 00 13 04 06 00 2C 1A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 2C 1A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C7 02 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 2C 1A 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 80 00 00 00 F4 03 04 00 60 06 5D 66 0E 04 04 00 74 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 10 04 04 00 FC F8 00 00 35 04 06 00 A2 86 72 6C 00 03 08 A9 19 86 E0 9E 19 38 [23:55:13]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 4F 00 00 00 45 92 47 00 EC 4C A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 10 04 04 00 FC F8 00 00 F4 03 04 00 33 B2 5C 66 B6 04 01 00 00 83 6B AD FA FE 88 76 53 [23:55:13]CommunicateWithHost err = 0 [23:55:13]CheckOFDResponse [23:55:13]1017 (14) - 77093643461234 [23:55:13]1041 (16) - 0000000000875074 [23:55:13]1040 (4) - 63740 [23:55:13]1012 (4) - 02.06.2024 17:56 [23:55:13]1206 (1) - 0 [23:55:13]OFD Sender: Remove packet 63740 [23:55:13]ProducePacketName [23:55:13]name=ofd_packets/00063740 [23:55:13]NVStorageDeleteData [23:55:13]Write to MH i2c: 01 00 00 57 02 59 [23:55:13]Write i2c OK [23:55:13]MH_I2C_Read... [23:55:13]Read from MH i2c: 01 [23:55:13]MH_I2C_Read... [23:55:13]Read from MH i2c: 01 07 00 [23:55:13]MH_I2C_Read... [23:55:13]Read from MH i2c: 01 07 00 57 02 00 00 00 00 00 D9 0C 45 [23:55:13]RasterBufferAndPrint [23:55:13]line [23:55:13]line [23:55:13]line [23:55:13]line [23:55:13]line [23:55:13]written 0, free lines is 3299 [23:55:13]MH_Cut [23:55:13]Write to MH i2c: D1 01 00 5E 02 01 32 [23:55:13]Write i2c OK [23:55:13]MH_I2C_Read... [23:55:13]Read from MH i2c: D1 [23:55:13]MH_I2C_Read... [23:55:13]Read from MH i2c: D1 01 00 [23:55:13]MH_I2C_Read... [23:55:13]Read from MH i2c: D1 01 00 5E 02 00 31 [23:55:13]Write to MH i2c: 01 00 00 5F 02 61 [23:55:13]Write i2c OK [23:55:13]MH_I2C_Read... [23:55:14]OFD Sender: No OFD packet to send [23:55:14]*** Cut start [23:55:14]*** Partial cut [23:55:14]*** CUTSNS_PIN = 1 [23:55:14]*** CUTSNS_PIN = 0 [23:55:15]*** Brake cut motor [23:55:15]Read from MH i2c: 01 [23:55:15]MH_I2C_Read... [23:55:15]*** Stop cut motor [23:55:15]*** Cut end [23:55:15]Read from MH i2c: 01 07 00 [23:55:15]MH_I2C_Read... [23:55:15]Read from MH i2c: 01 07 00 5F 02 00 00 00 00 00 FF 0F 76 [23:55:15]process_action close_receipt done [23:55:15]requested_data is exist [23:55:15]produce_requested_data [23:55:15]requested_item fm.sn is exist - process it [23:55:15]wFMCommunicate request_size=4 [23:55:15]MH_SAM_APDU [23:55:15]CAPDU: 80 11 00 00 [23:55:15]Write to MH i2c: E2 08 00 60 02 80 11 00 00 00 00 00 00 DC [23:55:15]Write i2c OK [23:55:15]MH_I2C_Read... [23:55:15]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:55:15]Read from MH i2c: E2 [23:55:15]MH_I2C_Read... [23:55:15]Read from MH i2c: E2 17 00 [23:55:15]MH_I2C_Read... [23:55:15]Read from MH i2c: E2 17 00 60 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 90 00 2E [23:55:15]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 90 00 [23:55:15]wFMCommunicate OK [23:55:15]requested_item fd.num is exist - process it [23:55:15]SAM_PROTO_GetFieldsCounters [23:55:15]wFMCommunicate request_size=4 [23:55:15]MH_SAM_APDU [23:55:15]CAPDU: 80 13 00 00 [23:55:15]Write to MH i2c: E2 08 00 61 02 80 13 00 00 00 00 00 00 DF [23:55:15]Write i2c OK [23:55:15]MH_I2C_Read... [23:55:15]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:55:15]Read from MH i2c: E2 [23:55:15]MH_I2C_Read... [23:55:15]Read from MH i2c: E2 62 00 [23:55:15]MH_I2C_Read... [23:55:15]Read from MH i2c: E2 62 00 61 02 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 33 37 10 04 04 00 FC F8 00 00 0E 04 04 00 74 01 00 00 12 04 04 00 80 00 00 00 5E 04 04 00 80 00 00 00 57 04 04 00 81 00 00 00 19 04 04 00 00 00 00 00 90 00 EB [23:55:15]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 33 37 10 04 04 00 FC F8 00 00 0E 04 04 00 74 01 00 00 12 04 04 00 80 00 00 00 5E 04 04 00 80 00 00 00 57 04 04 00 81 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:55:15]wFMCommunicate OK [23:55:15]SAM_PROTO_GetFieldsCounters done [23:55:15]requested_item shift.num is exist - process it [23:55:15]requested_item shift.opened is exist - process it [23:55:15]req_shift_opened [23:55:15]FM_GetShiftState [23:55:15]SAM_PROTO_GetShiftState [23:55:15]wFMCommunicate request_size=4 [23:55:15]MH_SAM_APDU [23:55:15]CAPDU: 80 13 01 00 [23:55:15]Write to MH i2c: E2 08 00 62 02 80 13 01 00 00 00 00 00 E1 [23:55:15]Write i2c OK [23:55:15]MH_I2C_Read... [23:55:15]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:55:15]Read from MH i2c: E2 [23:55:15]MH_I2C_Read... [23:55:15]Read from MH i2c: E2 0E 00 [23:55:15]MH_I2C_Read... [23:55:15]Read from MH i2c: E2 0E 00 62 02 00 09 00 01 76 BD 5B 66 00 00 00 00 90 00 E1 [23:55:15]RAPDU: 09 00 01 76 BD 5B 66 00 00 00 00 90 00 [23:55:15]wFMCommunicate OK [23:55:15]SAM_PROTO_GetShiftState done [23:55:15]FM_GetShiftState done [23:55:15]req_shift_opened done [23:55:15]requested_item shift.open_date is exist - process it [23:55:15]req_shift_open_date [23:55:15]req_shift_open_date done [23:55:15]produce_requested_data done [23:55:15]produce_requested_data return {"fm.sn":"0000000000875074","fd.num":63740,"shift.num":372,"shift.opened":1,"shift.open_date":1717288310} [23:55:15]process_action_free close_receipt [23:55:15]json_value_free [23:55:15]json_value_free done [23:55:15]process_json_proto returns [23:55:15]Send response to host [23:55:15]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875074","fd.num":63740,"shift.num":372,"shift.opened":1,"shift.open_date":1717288310}}} [23:55:15]free response buf [23:55:15]execute_script done [23:55:15]execute_script returns [23:55:15]free content buf [23:55:15]Sock 9.Close socket [23:55:15]Sock 9.Thread stoped [23:55:19]OFD Sender: No OFD packet to send [23:55:24]OFD Sender: No OFD packet to send [23:55:29]OFD Sender: No OFD packet to send [23:55:34]OFD Sender: No OFD packet to send [23:55:39]OFD Sender: No OFD packet to send [23:55:44]OFD Sender: No OFD packet to send [23:55:49]OFD Sender: No OFD packet to send [23:55:54]OFD Sender: No OFD packet to send [23:55:59]OFD Sender: No OFD packet to send [23:56:04]OFD Sender: No OFD packet to send [23:56:09]OFD Sender: No OFD packet to send [23:56:14]OFD Sender: No OFD packet to send [23:56:19]OFD Sender: No OFD packet to send [23:56:24]OFD Sender: No OFD packet to send [23:56:29]OFD Sender: No OFD packet to send [23:56:34]OFD Sender: No OFD packet to send [23:56:39]OFD Sender: No OFD packet to send [23:56:44]OFD Sender: No OFD packet to send [23:56:48]accept exits with 7 [23:56:48]New connection [23:56:48]New thread 3066797412 created [23:56:48]Thread 3066654052 joined [23:56:48]Waiting for new connection... [23:56:48] Sock 7.Parse request [23:56:48]Sock 7.Check first char [23:56:48]Sock 7.First char is OK [23:56:48]request: POST /json_proto HTTP/1.0 [23:56:48]Method: POST [23:56:48]URL: /json_proto [23:56:48]Method is POST - this is cgi request [23:56:48]url: /json_proto [23:56:48]query_string will be loaded in cgi processing [23:56:48]execute_cgi json_proto POST (null) [23:56:48]execute_cgi path=json_proto method=POST [23:56:48]POST find Content-Length [23:56:48]Host: 172.17.60.69:8080 [23:56:48]Content-Length: 215 [23:56:48]Content-Type: application/json [23:56:48] [23:56:48]POST finish read [23:56:48]Found Content-Length = 215 [23:56:48]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:56:48]execute_script... [23:56:48]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:56:48]POST & json_proto [23:56:48]process_json_proto [23:56:48]json parsed OK: [23:56:48]protocol is kg_v1.0 [23:56:48]action value=get_value [23:56:48]process_action get_value [23:56:48]cmd_get_value [23:56:48]process_action get_value done [23:56:48]requested_data is exist [23:56:48]produce_requested_data [23:56:48]requested_item kkm.sn is exist - process it [23:56:48]requested_item kkm.ver is exist - process it [23:56:48]requested_item fm.sn is exist - process it [23:56:48]wFMCommunicate request_size=4 [23:56:48]MH_SAM_APDU [23:56:48]CAPDU: 80 11 00 00 [23:56:48]Write to MH i2c: E2 08 00 63 02 80 11 00 00 00 00 00 00 DF [23:56:48]Write i2c OK [23:56:48]MH_I2C_Read... [23:56:48]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:56:48]Read from MH i2c: E2 [23:56:48]MH_I2C_Read... [23:56:48]Read from MH i2c: E2 17 00 [23:56:48]MH_I2C_Read... [23:56:48]Read from MH i2c: E2 17 00 63 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 90 00 31 [23:56:48]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 90 00 [23:56:48]wFMCommunicate OK [23:56:48]requested_item fd.num is exist - process it [23:56:48]SAM_PROTO_GetFieldsCounters [23:56:48]wFMCommunicate request_size=4 [23:56:48]MH_SAM_APDU [23:56:48]CAPDU: 80 13 00 00 [23:56:48]Write to MH i2c: E2 08 00 64 02 80 13 00 00 00 00 00 00 E2 [23:56:48]Write i2c OK [23:56:48]MH_I2C_Read... [23:56:48]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:56:48]Read from MH i2c: E2 [23:56:48]MH_I2C_Read... [23:56:48]Read from MH i2c: E2 62 00 [23:56:48]MH_I2C_Read... [23:56:48]Read from MH i2c: E2 62 00 64 02 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 33 37 10 04 04 00 FC F8 00 00 0E 04 04 00 74 01 00 00 12 04 04 00 80 00 00 00 5E 04 04 00 80 00 00 00 57 04 04 00 81 00 00 00 19 04 04 00 00 00 00 00 90 00 EE [23:56:48]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 33 37 10 04 04 00 FC F8 00 00 0E 04 04 00 74 01 00 00 12 04 04 00 80 00 00 00 5E 04 04 00 80 00 00 00 57 04 04 00 81 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:56:48]wFMCommunicate OK [23:56:48]SAM_PROTO_GetFieldsCounters done [23:56:48]requested_item shift.num is exist - process it [23:56:48]requested_item shift.opened is exist - process it [23:56:48]req_shift_opened [23:56:48]FM_GetShiftState [23:56:48]SAM_PROTO_GetShiftState [23:56:48]wFMCommunicate request_size=4 [23:56:48]MH_SAM_APDU [23:56:48]CAPDU: 80 13 01 00 [23:56:48]Write to MH i2c: E2 08 00 65 02 80 13 01 00 00 00 00 00 E4 [23:56:48]Write i2c OK [23:56:48]MH_I2C_Read... [23:56:48]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:56:48]Read from MH i2c: E2 [23:56:48]MH_I2C_Read... [23:56:48]Read from MH i2c: E2 0E 00 [23:56:48]MH_I2C_Read... [23:56:48]Read from MH i2c: E2 0E 00 65 02 00 09 00 01 76 BD 5B 66 00 00 00 00 90 00 E4 [23:56:48]RAPDU: 09 00 01 76 BD 5B 66 00 00 00 00 90 00 [23:56:48]wFMCommunicate OK [23:56:48]SAM_PROTO_GetShiftState done [23:56:48]FM_GetShiftState done [23:56:48]req_shift_opened done [23:56:48]requested_item shift.open_date is exist - process it [23:56:48]req_shift_open_date [23:56:48]req_shift_open_date done [23:56:48]produce_requested_data done [23:56:48]produce_requested_data return {"kkm.sn":"0300000031","kkm.ver":"001","fm.sn":"0000000000875074","fd.num":63740,"shift.num":372,"shift.opened":1,"shift.open_date":1717288310} [23:56:48]process_action_free get_value [23:56:48]json_value_free [23:56:48]json_value_free done [23:56:48]process_json_proto returns [23:56:48]Send response to host [23:56:48]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000031","kkm.ver":"001","fm.sn":"0000000000875074","fd.num":63740,"shift.num":372,"shift.opened":1,"shift.open_date":1717288310}}} [23:56:48]free response buf [23:56:48]execute_script done [23:56:48]execute_script returns [23:56:48]free content buf [23:56:48]Sock 7.Close socket [23:56:48]Sock 7.Thread stoped [23:56:48]accept exits with 9 [23:56:48]New connection [23:56:48]New thread 3066654052 created [23:56:48]Thread 3066797412 joined [23:56:48]Waiting for new connection... [23:56:48] Sock 9.Parse request [23:56:48]Sock 9.Check first char [23:56:48]Sock 9.First char is OK [23:56:48]request: POST /json_proto HTTP/1.0 [23:56:48]Method: POST [23:56:48]URL: /json_proto [23:56:48]Method is POST - this is cgi request [23:56:48]url: /json_proto [23:56:48]query_string will be loaded in cgi processing [23:56:48]execute_cgi json_proto POST (null) [23:56:48]execute_cgi path=json_proto method=POST [23:56:48]POST find Content-Length [23:56:48]Host: 172.17.60.69:8080 [23:56:48]Content-Length: 331 [23:56:48]Content-Type: application/json [23:56:48] [23:56:48]POST finish read [23:56:48]Found Content-Length = 331 [23:56:48]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [23:56:48]execute_script... [23:56:48]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [23:56:48]POST & json_proto [23:56:48]process_json_proto [23:56:48]json parsed OK: [23:56:48]protocol is kg_v1.0 [23:56:48]action value=get_value [23:56:48]process_action get_value [23:56:48]cmd_get_value [23:56:48]process_action get_value done [23:56:48]requested_data is exist [23:56:48]produce_requested_data [23:56:48]requested_item fm.sale.total is exist - process it [23:56:48]SAM_PROTO_GetFMData [23:56:48]wFMCommunicate request_size=4 [23:56:48]MH_SAM_APDU [23:56:48]CAPDU: 80 13 03 00 [23:56:48]Write to MH i2c: E2 08 00 66 02 80 13 03 00 00 00 00 00 E7 [23:56:48]Write i2c OK [23:56:48]MH_I2C_Read... [23:56:49]OFD Sender: No OFD packet to send [23:56:49]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [23:56:49]Read from MH i2c: E2 [23:56:49]MH_I2C_Read... [23:56:49]Read from MH i2c: E2 FD 00 [23:56:49]MH_I2C_Read... [23:56:49]Read from MH i2c: E2 FD 00 66 02 00 C5 04 85 04 C1 04 6E 04 04 00 14 F6 00 00 69 04 A1 00 6F 04 04 00 B7 F3 00 00 B1 04 04 00 ED F4 77 76 70 04 04 00 06 9B CB 65 72 04 04 00 E7 59 AC 10 00 04 7D 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 B0 15 95 0C EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0D 00 F6 03 01 00 01 F7 03 04 00 D4 58 0C 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 5D 02 00 00 B1 04 04 00 64 11 7D 03 70 04 04 00 E0 B5 61 03 72 04 03 00 84 5B 1B 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 F2 D8 5E EF 03 09 90 00 66 [23:56:49]RAPDU: C5 04 85 04 C1 04 6E 04 04 00 14 F6 00 00 69 04 A1 00 6F 04 04 00 B7 F3 00 00 B1 04 04 00 ED F4 77 76 70 04 04 00 06 9B CB 65 72 04 04 00 E7 59 AC 10 00 04 7D 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 B0 15 95 0C EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0D 00 F6 03 01 00 01 F7 03 04 00 D4 58 0C 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 5D 02 00 00 B1 04 04 00 64 11 7D 03 70 04 04 00 E0 B5 61 03 72 04 03 00 84 5B 1B 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 F2 D8 5E EF 03 09 90 00 [23:56:49]wFMCommunicate OK [23:56:49]wFMCommunicate request_size=4 [23:56:49]MH_SAM_APDU [23:56:49]CAPDU: 80 17 00 00 [23:56:49]Write to MH i2c: E2 08 00 67 02 80 17 00 00 00 00 00 00 E9 [23:56:49]Write i2c OK [23:56:49]MH_I2C_Read... [23:56:49]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:56:49]Read from MH i2c: E2 [23:56:49]MH_I2C_Read... [23:56:49]Read from MH i2c: E2 FD 00 [23:56:49]MH_I2C_Read... [23:56:49]Read from MH i2c: E2 FD 00 67 02 00 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 2E E7 07 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 90 00 BB [23:56:49]RAPDU: 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 2E E7 07 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 90 00 [23:56:49]wFMCommunicate OK [23:56:49]wFMCommunicate request_size=4 [23:56:49]MH_SAM_APDU [23:56:49]CAPDU: 80 17 00 00 [23:56:49]Write to MH i2c: E2 08 00 68 02 80 17 00 00 00 00 00 00 EA [23:56:49]Write i2c OK [23:56:49]MH_I2C_Read... [23:56:49]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:56:49]Read from MH i2c: E2 [23:56:49]MH_I2C_Read... [23:56:49]Read from MH i2c: E2 FD 00 [23:56:49]MH_I2C_Read... [23:56:49]Read from MH i2c: E2 FD 00 68 02 00 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 90 00 FC [23:56:49]RAPDU: 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 90 00 [23:56:49]wFMCommunicate OK [23:56:49]wFMCommunicate request_size=4 [23:56:49]MH_SAM_APDU [23:56:49]CAPDU: 80 17 00 00 [23:56:49]Write to MH i2c: E2 08 00 69 02 80 17 00 00 00 00 00 00 EB [23:56:49]Write i2c OK [23:56:49]MH_I2C_Read... [23:56:50]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:56:50]Read from MH i2c: E2 [23:56:50]MH_I2C_Read... [23:56:50]Read from MH i2c: E2 FD 00 [23:56:50]MH_I2C_Read... [23:56:50]Read from MH i2c: E2 FD 00 69 02 00 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 90 00 77 [23:56:50]RAPDU: 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 90 00 [23:56:50]wFMCommunicate OK [23:56:50]wFMCommunicate request_size=4 [23:56:50]MH_SAM_APDU [23:56:50]CAPDU: 80 17 00 00 [23:56:50]Write to MH i2c: E2 08 00 6A 02 80 17 00 00 00 00 00 00 EC [23:56:50]Write i2c OK [23:56:50]MH_I2C_Read... [23:56:50]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 223! [23:56:50]Read from MH i2c: E2 [23:56:50]MH_I2C_Read... [23:56:50]Read from MH i2c: E2 E2 00 [23:56:50]MH_I2C_Read... [23:56:50]Read from MH i2c: E2 E2 00 6A 02 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 CA [23:56:50]RAPDU: EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [23:56:50]wFMCommunicate OK [23:56:50]SAM_PROTO_GetFMData done [23:56:50]requested_item fm.sale_refund.total is exist - process it [23:56:50]requested_item fm.buy.total is exist - process it [23:56:50]requested_item shift.sale.total is exist - process it [23:56:50]SAM_PROTO_GetShiftData [23:56:50]wFMCommunicate request_size=4 [23:56:50]MH_SAM_APDU [23:56:50]CAPDU: 80 13 02 00 [23:56:50]Write to MH i2c: E2 08 00 6B 02 80 13 02 00 00 00 00 00 EB [23:56:50]Write i2c OK [23:56:50]MH_I2C_Read... [23:56:50]Read from MH i2c: E2 [23:56:50]MH_I2C_Read... [23:56:50]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [23:56:50]Read from MH i2c: E2 FD 00 [23:56:50]MH_I2C_Read... [23:56:50]Read from MH i2c: E2 FD 00 6B 02 00 AE 04 AA 04 AA 04 6E 04 04 00 80 00 00 00 69 04 9B 00 6F 04 04 00 80 00 00 00 B1 04 03 00 68 58 26 70 04 03 00 7C 99 1C 72 04 03 00 EC BE 09 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 6B 12 04 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 D7 56 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 24 [23:56:50]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 80 00 00 00 69 04 9B 00 6F 04 04 00 80 00 00 00 B1 04 03 00 68 58 26 70 04 03 00 7C 99 1C 72 04 03 00 EC BE 09 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 6B 12 04 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 D7 56 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [23:56:50]wFMCommunicate OK [23:56:50]wFMCommunicate request_size=4 [23:56:50]MH_SAM_APDU [23:56:50]CAPDU: 80 17 00 00 [23:56:50]Write to MH i2c: E2 08 00 6C 02 80 17 00 00 00 00 00 00 EE [23:56:50]Write i2c OK [23:56:50]MH_I2C_Read... [23:56:51]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:56:51]Read from MH i2c: E2 [23:56:51]MH_I2C_Read... [23:56:51]Read from MH i2c: E2 FD 00 [23:56:51]MH_I2C_Read... [23:56:51]Read from MH i2c: E2 FD 00 6C 02 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 10 [23:56:51]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [23:56:51]wFMCommunicate OK [23:56:51]wFMCommunicate request_size=4 [23:56:51]MH_SAM_APDU [23:56:51]CAPDU: 80 17 00 00 [23:56:51]Write to MH i2c: E2 08 00 6D 02 80 17 00 00 00 00 00 00 EF [23:56:51]Write i2c OK [23:56:51]MH_I2C_Read... [23:56:51]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:56:51]Read from MH i2c: E2 [23:56:51]MH_I2C_Read... [23:56:51]Read from MH i2c: E2 FD 00 [23:56:51]MH_I2C_Read... [23:56:51]Read from MH i2c: E2 FD 00 6D 02 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 A6 [23:56:51]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [23:56:51]wFMCommunicate OK [23:56:51]wFMCommunicate request_size=4 [23:56:51]MH_SAM_APDU [23:56:51]CAPDU: 80 17 00 00 [23:56:51]Write to MH i2c: E2 08 00 6E 02 80 17 00 00 00 00 00 00 F0 [23:56:51]Write i2c OK [23:56:51]MH_I2C_Read... [23:56:51]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:56:51]Read from MH i2c: E2 [23:56:51]MH_I2C_Read... [23:56:51]Read from MH i2c: E2 FD 00 [23:56:51]MH_I2C_Read... [23:56:51]Read from MH i2c: E2 FD 00 6E 02 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 62 [23:56:51]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [23:56:51]wFMCommunicate OK [23:56:51]wFMCommunicate request_size=4 [23:56:51]MH_SAM_APDU [23:56:51]CAPDU: 80 17 00 00 [23:56:51]Write to MH i2c: E2 08 00 6F 02 80 17 00 00 00 00 00 00 F1 [23:56:51]Write i2c OK [23:56:51]MH_I2C_Read... [23:56:52]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [23:56:52]Read from MH i2c: E2 [23:56:52]MH_I2C_Read... [23:56:52]Read from MH i2c: E2 CB 00 [23:56:52]MH_I2C_Read... [23:56:52]Read from MH i2c: E2 CB 00 6F 02 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 DA [23:56:52]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [23:56:52]wFMCommunicate OK [23:56:52]SAM_PROTO_GetShiftData done [23:56:52]requested_item shift.sale.total_cash is exist - process it [23:56:52]requested_item shift.sale_refund.total is exist - process it [23:56:52]requested_item shift.sale_refund.total_cash is exist - process it [23:56:52]requested_item shift.buy.total is exist - process it [23:56:52]requested_item shift.buy.total_cash is exist - process it [23:56:52]produce_requested_data done [23:56:52]produce_requested_data return {"fm.sale.total":19875729.73,"fm.sale_refund.total":585281.00,"fm.buy.total":0.00,"shift.sale.total":25130.00,"shift.sale.total_cash":18743.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [23:56:52]process_action_free get_value [23:56:52]json_value_free [23:56:52]json_value_free done [23:56:52]process_json_proto returns [23:56:52]Send response to host [23:56:52]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":19875729.73,"fm.sale_refund.total":585281.00,"fm.buy.total":0.00,"shift.sale.total":25130.00,"shift.sale.total_cash":18743.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [23:56:52]free response buf [23:56:52]execute_script done [23:56:52]execute_script returns [23:56:52]free content buf [23:56:52]Sock 9.Close socket [23:56:52]Sock 9.Thread stoped [23:56:52]accept exits with 7 [23:56:52]New connection [23:56:52]New thread 3066797412 created [23:56:52]Thread 3066654052 joined [23:56:52]Waiting for new connection... [23:56:52] Sock 7.Parse request [23:56:52]Sock 7.Check first char [23:56:52]Sock 7.First char is OK [23:56:52]request: POST /json_proto HTTP/1.0 [23:56:52]Method: POST [23:56:52]URL: /json_proto [23:56:52]Method is POST - this is cgi request [23:56:52]url: /json_proto [23:56:52]query_string will be loaded in cgi processing [23:56:52]execute_cgi json_proto POST (null) [23:56:52]execute_cgi path=json_proto method=POST [23:56:52]POST find Content-Length [23:56:52]Host: 172.17.60.69:8080 [23:56:52]Content-Length: 331 [23:56:52]Content-Type: application/json [23:56:52] [23:56:52]POST finish read [23:56:52]Found Content-Length = 331 [23:56:52]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [23:56:52]execute_script... [23:56:52]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [23:56:52]POST & json_proto [23:56:52]process_json_proto [23:56:52]json parsed OK: [23:56:52]protocol is kg_v1.0 [23:56:52]action value=get_value [23:56:52]process_action get_value [23:56:52]cmd_get_value [23:56:52]process_action get_value done [23:56:52]requested_data is exist [23:56:52]produce_requested_data [23:56:52]requested_item fm.sale.total is exist - process it [23:56:52]SAM_PROTO_GetFMData [23:56:52]wFMCommunicate request_size=4 [23:56:52]MH_SAM_APDU [23:56:52]CAPDU: 80 13 03 00 [23:56:52]Write to MH i2c: E2 08 00 70 02 80 13 03 00 00 00 00 00 F1 [23:56:52]Write i2c OK [23:56:52]MH_I2C_Read... [23:56:52]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [23:56:52]Read from MH i2c: E2 [23:56:52]MH_I2C_Read... [23:56:52]Read from MH i2c: E2 FD 00 [23:56:52]MH_I2C_Read... [23:56:52]Read from MH i2c: E2 FD 00 70 02 00 C5 04 85 04 C1 04 6E 04 04 00 14 F6 00 00 69 04 A1 00 6F 04 04 00 B7 F3 00 00 B1 04 04 00 ED F4 77 76 70 04 04 00 06 9B CB 65 72 04 04 00 E7 59 AC 10 00 04 7D 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 B0 15 95 0C EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0D 00 F6 03 01 00 01 F7 03 04 00 D4 58 0C 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 5D 02 00 00 B1 04 04 00 64 11 7D 03 70 04 04 00 E0 B5 61 03 72 04 03 00 84 5B 1B 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 F2 D8 5E EF 03 09 90 00 70 [23:56:52]RAPDU: C5 04 85 04 C1 04 6E 04 04 00 14 F6 00 00 69 04 A1 00 6F 04 04 00 B7 F3 00 00 B1 04 04 00 ED F4 77 76 70 04 04 00 06 9B CB 65 72 04 04 00 E7 59 AC 10 00 04 7D 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 B0 15 95 0C EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0D 00 F6 03 01 00 01 F7 03 04 00 D4 58 0C 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 5D 02 00 00 B1 04 04 00 64 11 7D 03 70 04 04 00 E0 B5 61 03 72 04 03 00 84 5B 1B 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 F2 D8 5E EF 03 09 90 00 [23:56:52]wFMCommunicate OK [23:56:52]wFMCommunicate request_size=4 [23:56:52]MH_SAM_APDU [23:56:52]CAPDU: 80 17 00 00 [23:56:52]Write to MH i2c: E2 08 00 71 02 80 17 00 00 00 00 00 00 F3 [23:56:52]Write i2c OK [23:56:52]MH_I2C_Read... [23:56:52]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:56:52]Read from MH i2c: E2 [23:56:52]MH_I2C_Read... [23:56:52]Read from MH i2c: E2 FD 00 [23:56:52]MH_I2C_Read... [23:56:52]Read from MH i2c: E2 FD 00 71 02 00 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 2E E7 07 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 90 00 C5 [23:56:53]RAPDU: 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 2E E7 07 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 90 00 [23:56:53]wFMCommunicate OK [23:56:53]wFMCommunicate request_size=4 [23:56:53]MH_SAM_APDU [23:56:53]CAPDU: 80 17 00 00 [23:56:53]Write to MH i2c: E2 08 00 72 02 80 17 00 00 00 00 00 00 F4 [23:56:53]Write i2c OK [23:56:53]MH_I2C_Read... [23:56:53]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:56:53]Read from MH i2c: E2 [23:56:53]MH_I2C_Read... [23:56:53]Read from MH i2c: E2 FD 00 [23:56:53]MH_I2C_Read... [23:56:53]Read from MH i2c: E2 FD 00 72 02 00 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 90 00 06 [23:56:53]RAPDU: 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 90 00 [23:56:53]wFMCommunicate OK [23:56:53]wFMCommunicate request_size=4 [23:56:53]MH_SAM_APDU [23:56:53]CAPDU: 80 17 00 00 [23:56:53]Write to MH i2c: E2 08 00 73 02 80 17 00 00 00 00 00 00 F5 [23:56:53]Write i2c OK [23:56:53]MH_I2C_Read... [23:56:53]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:56:53]Read from MH i2c: E2 [23:56:53]MH_I2C_Read... [23:56:53]Read from MH i2c: E2 FD 00 [23:56:53]MH_I2C_Read... [23:56:53]Read from MH i2c: E2 FD 00 73 02 00 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 90 00 81 [23:56:53]RAPDU: 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 90 00 [23:56:53]wFMCommunicate OK [23:56:53]wFMCommunicate request_size=4 [23:56:53]MH_SAM_APDU [23:56:53]CAPDU: 80 17 00 00 [23:56:53]Write to MH i2c: E2 08 00 74 02 80 17 00 00 00 00 00 00 F6 [23:56:53]Write i2c OK [23:56:53]MH_I2C_Read... [23:56:54]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 223! [23:56:54]Read from MH i2c: E2 [23:56:54]MH_I2C_Read... [23:56:54]Read from MH i2c: E2 E2 00 [23:56:54]MH_I2C_Read... [23:56:54]Read from MH i2c: E2 E2 00 74 02 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 D4 [23:56:54]RAPDU: EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [23:56:54]wFMCommunicate OK [23:56:54]SAM_PROTO_GetFMData done [23:56:54]requested_item fm.sale_refund.total is exist - process it [23:56:54]requested_item fm.buy.total is exist - process it [23:56:54]requested_item shift.sale.total is exist - process it [23:56:54]SAM_PROTO_GetShiftData [23:56:54]wFMCommunicate request_size=4 [23:56:54]MH_SAM_APDU [23:56:54]CAPDU: 80 13 02 00 [23:56:54]Write to MH i2c: E2 08 00 75 02 80 13 02 00 00 00 00 00 F5 [23:56:54]Write i2c OK [23:56:54]MH_I2C_Read... [23:56:54]OFD Sender: No OFD packet to send [23:56:54]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [23:56:54]Read from MH i2c: E2 [23:56:54]MH_I2C_Read... [23:56:54]Read from MH i2c: E2 FD 00 [23:56:54]MH_I2C_Read... [23:56:54]Read from MH i2c: E2 FD 00 75 02 00 AE 04 AA 04 AA 04 6E 04 04 00 80 00 00 00 69 04 9B 00 6F 04 04 00 80 00 00 00 B1 04 03 00 68 58 26 70 04 03 00 7C 99 1C 72 04 03 00 EC BE 09 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 6B 12 04 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 D7 56 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 2E [23:56:54]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 80 00 00 00 69 04 9B 00 6F 04 04 00 80 00 00 00 B1 04 03 00 68 58 26 70 04 03 00 7C 99 1C 72 04 03 00 EC BE 09 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 6B 12 04 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 D7 56 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [23:56:54]wFMCommunicate OK [23:56:54]wFMCommunicate request_size=4 [23:56:54]MH_SAM_APDU [23:56:54]CAPDU: 80 17 00 00 [23:56:54]Write to MH i2c: E2 08 00 76 02 80 17 00 00 00 00 00 00 F8 [23:56:54]Write i2c OK [23:56:54]MH_I2C_Read... [23:56:54]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:56:54]Read from MH i2c: E2 [23:56:54]MH_I2C_Read... [23:56:54]Read from MH i2c: E2 FD 00 [23:56:54]MH_I2C_Read... [23:56:54]Read from MH i2c: E2 FD 00 76 02 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 1A [23:56:54]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [23:56:55]wFMCommunicate OK [23:56:55]wFMCommunicate request_size=4 [23:56:55]MH_SAM_APDU [23:56:55]CAPDU: 80 17 00 00 [23:56:55]Write to MH i2c: E2 08 00 77 02 80 17 00 00 00 00 00 00 F9 [23:56:55]Write i2c OK [23:56:55]MH_I2C_Read... [23:56:55]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:56:55]Read from MH i2c: E2 [23:56:55]MH_I2C_Read... [23:56:55]Read from MH i2c: E2 FD 00 [23:56:55]MH_I2C_Read... [23:56:55]Read from MH i2c: E2 FD 00 77 02 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 B0 [23:56:55]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [23:56:55]wFMCommunicate OK [23:56:55]wFMCommunicate request_size=4 [23:56:55]MH_SAM_APDU [23:56:55]CAPDU: 80 17 00 00 [23:56:55]Write to MH i2c: E2 08 00 78 02 80 17 00 00 00 00 00 00 FA [23:56:55]Write i2c OK [23:56:55]MH_I2C_Read... [23:56:55]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:56:55]Read from MH i2c: E2 [23:56:55]MH_I2C_Read... [23:56:55]Read from MH i2c: E2 FD 00 [23:56:55]MH_I2C_Read... [23:56:55]Read from MH i2c: E2 FD 00 78 02 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 6C [23:56:55]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [23:56:55]wFMCommunicate OK [23:56:55]wFMCommunicate request_size=4 [23:56:55]MH_SAM_APDU [23:56:55]CAPDU: 80 17 00 00 [23:56:55]Write to MH i2c: E2 08 00 79 02 80 17 00 00 00 00 00 00 FB [23:56:55]Write i2c OK [23:56:55]MH_I2C_Read... [23:56:55]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [23:56:55]Read from MH i2c: E2 [23:56:55]MH_I2C_Read... [23:56:55]Read from MH i2c: E2 CB 00 [23:56:55]MH_I2C_Read... [23:56:55]Read from MH i2c: E2 CB 00 79 02 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 E4 [23:56:56]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [23:56:56]wFMCommunicate OK [23:56:56]SAM_PROTO_GetShiftData done [23:56:56]requested_item shift.sale.total_cash is exist - process it [23:56:56]requested_item shift.sale_refund.total is exist - process it [23:56:56]requested_item shift.sale_refund.total_cash is exist - process it [23:56:56]requested_item shift.buy.total is exist - process it [23:56:56]requested_item shift.buy.total_cash is exist - process it [23:56:56]produce_requested_data done [23:56:56]produce_requested_data return {"fm.sale.total":19875729.73,"fm.sale_refund.total":585281.00,"fm.buy.total":0.00,"shift.sale.total":25130.00,"shift.sale.total_cash":18743.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [23:56:56]process_action_free get_value [23:56:56]json_value_free [23:56:56]json_value_free done [23:56:56]process_json_proto returns [23:56:56]Send response to host [23:56:56]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":19875729.73,"fm.sale_refund.total":585281.00,"fm.buy.total":0.00,"shift.sale.total":25130.00,"shift.sale.total_cash":18743.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [23:56:56]free response buf [23:56:56]execute_script done [23:56:56]execute_script returns [23:56:56]free content buf [23:56:56]Sock 7.Close socket [23:56:56]Sock 7.Thread stoped [23:56:56]accept exits with 9 [23:56:56]New connection [23:56:56]New thread 3066654052 created [23:56:56]Thread 3066797412 joined [23:56:56]Waiting for new connection... [23:56:56] Sock 9.Parse request [23:56:56]Sock 9.Check first char [23:56:56]Sock 9.First char is OK [23:56:56]request: POST /json_proto HTTP/1.0 [23:56:56]Method: POST [23:56:56]URL: /json_proto [23:56:56]Method is POST - this is cgi request [23:56:56]url: /json_proto [23:56:56]query_string will be loaded in cgi processing [23:56:56]execute_cgi json_proto POST (null) [23:56:56]execute_cgi path=json_proto method=POST [23:56:56]POST find Content-Length [23:56:56]Host: 172.17.60.69:8080 [23:56:56]Content-Length: 280 [23:56:56]Content-Type: application/json [23:56:56] [23:56:56]POST finish read [23:56:56]Found Content-Length = 280 [23:56:56]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "x_report", "params" : { "operator" : "\u041A\u043E\u0439\u0433\u0435\u043B\u044C\u0434\u0438\u0435\u0432\u0430 \u0420." } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:56:56]execute_script... [23:56:56]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "x_report", "params" : { "operator" : "\u041A\u043E\u0439\u0433\u0435\u043B\u044C\u0434\u0438\u0435\u0432\u0430 \u0420." } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:56:56]POST & json_proto [23:56:56]process_json_proto [23:56:56]json parsed OK: [23:56:56]protocol is kg_v1.0 [23:56:56]action value=x_report [23:56:56]process_action x_report [23:56:56]cmd_x_report [23:56:56]MH_GetDate [23:56:56]Write to MH i2c: F0 00 00 7A 02 6B [23:56:56]Write i2c OK [23:56:56]MH_I2C_Read... [23:56:56]Read from MH i2c: F0 [23:56:56]MH_I2C_Read... [23:56:56]Read from MH i2c: F0 09 00 [23:56:56]MH_I2C_Read... [23:56:56]Read from MH i2c: F0 09 00 7A 02 00 C9 06 5D 66 6A 96 4A 66 B6 [23:56:56]GetLastDocTimeStamp 1717372512 [23:56:56]current date 1717372617 [23:56:56]FM_GetShiftState [23:56:56]SAM_PROTO_GetShiftState [23:56:56]wFMCommunicate request_size=4 [23:56:56]MH_SAM_APDU [23:56:56]CAPDU: 80 13 01 00 [23:56:56]Write to MH i2c: E2 08 00 7B 02 80 13 01 00 00 00 00 00 FA [23:56:56]Write i2c OK [23:56:56]MH_I2C_Read... [23:56:56]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:56:56]Read from MH i2c: E2 [23:56:56]MH_I2C_Read... [23:56:56]Read from MH i2c: E2 0E 00 [23:56:56]MH_I2C_Read... [23:56:56]Read from MH i2c: E2 0E 00 7B 02 00 09 00 01 76 BD 5B 66 00 00 00 00 90 00 FA [23:56:56]RAPDU: 09 00 01 76 BD 5B 66 00 00 00 00 90 00 [23:56:56]wFMCommunicate OK [23:56:56]SAM_PROTO_GetShiftState done [23:56:56]FM_GetShiftState done [23:56:56]KKMCreateXReportDocument [23:56:56]Load OK [23:56:56]Malloc new data [23:56:56]MH_GetDate [23:56:56]Write to MH i2c: F0 00 00 7C 02 6D [23:56:56]Write i2c OK [23:56:56]MH_I2C_Read... [23:56:56]Read from MH i2c: F0 [23:56:56]MH_I2C_Read... [23:56:56]Read from MH i2c: F0 09 00 [23:56:56]MH_I2C_Read... [23:56:56]Read from MH i2c: F0 09 00 7C 02 00 C9 06 5D 66 6A 96 4A 66 B8 [23:56:56]Malloc new data [23:56:56]Malloc new data [23:56:56]wFMCommunicate request_size=4 [23:56:56]MH_SAM_APDU [23:56:56]CAPDU: 80 11 00 00 [23:56:56]Write to MH i2c: E2 08 00 7D 02 80 11 00 00 00 00 00 00 F9 [23:56:56]Write i2c OK [23:56:56]MH_I2C_Read... [23:56:56]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:56:56]Read from MH i2c: E2 [23:56:56]MH_I2C_Read... [23:56:56]Read from MH i2c: E2 17 00 [23:56:56]MH_I2C_Read... [23:56:56]Read from MH i2c: E2 17 00 7D 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 90 00 4B [23:56:56]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 90 00 [23:56:56]wFMCommunicate OK [23:56:56]SAM_PROTO_GetFieldsCounters [23:56:56]wFMCommunicate request_size=4 [23:56:56]MH_SAM_APDU [23:56:56]CAPDU: 80 13 00 00 [23:56:56]Write to MH i2c: E2 08 00 7E 02 80 13 00 00 00 00 00 00 FC [23:56:56]Write i2c OK [23:56:56]MH_I2C_Read... [23:56:56]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:56:56]Read from MH i2c: E2 [23:56:56]MH_I2C_Read... [23:56:56]Read from MH i2c: E2 62 00 [23:56:56]MH_I2C_Read... [23:56:56]Read from MH i2c: E2 62 00 7E 02 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 33 37 10 04 04 00 FC F8 00 00 0E 04 04 00 74 01 00 00 12 04 04 00 80 00 00 00 5E 04 04 00 80 00 00 00 57 04 04 00 81 00 00 00 19 04 04 00 00 00 00 00 90 00 08 [23:56:56]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 33 37 10 04 04 00 FC F8 00 00 0E 04 04 00 74 01 00 00 12 04 04 00 80 00 00 00 5E 04 04 00 80 00 00 00 57 04 04 00 81 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:56:56]wFMCommunicate OK [23:56:56]SAM_PROTO_GetFieldsCounters done [23:56:56]Malloc new data [23:56:56]Malloc new data [23:56:56]Malloc new data [23:56:56]KKMCreateXReportDocument OK [23:56:56]KKMSetXReportData OK [23:56:56]KKMPrepareXReportFMData [23:56:56]SAM_PROTO_GetShiftData [23:56:56]wFMCommunicate request_size=4 [23:56:56]MH_SAM_APDU [23:56:56]CAPDU: 80 13 02 00 [23:56:56]Write to MH i2c: E2 08 00 7F 02 80 13 02 00 00 00 00 00 FF [23:56:56]Write i2c OK [23:56:56]MH_I2C_Read... [23:56:56]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [23:56:56]Read from MH i2c: E2 [23:56:56]MH_I2C_Read... [23:56:56]Read from MH i2c: E2 FD 00 [23:56:56]MH_I2C_Read... [23:56:56]Read from MH i2c: E2 FD 00 7F 02 00 AE 04 AA 04 AA 04 6E 04 04 00 80 00 00 00 69 04 9B 00 6F 04 04 00 80 00 00 00 B1 04 03 00 68 58 26 70 04 03 00 7C 99 1C 72 04 03 00 EC BE 09 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 6B 12 04 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 D7 56 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 38 [23:56:57]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 80 00 00 00 69 04 9B 00 6F 04 04 00 80 00 00 00 B1 04 03 00 68 58 26 70 04 03 00 7C 99 1C 72 04 03 00 EC BE 09 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 6B 12 04 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 D7 56 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [23:56:57]wFMCommunicate OK [23:56:57]wFMCommunicate request_size=4 [23:56:57]MH_SAM_APDU [23:56:57]CAPDU: 80 17 00 00 [23:56:57]Write to MH i2c: E2 08 00 80 02 80 17 00 00 00 00 00 00 02 [23:56:57]Write i2c OK [23:56:57]MH_I2C_Read... [23:56:57]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:56:57]Read from MH i2c: E2 [23:56:57]MH_I2C_Read... [23:56:57]Read from MH i2c: E2 FD 00 [23:56:57]MH_I2C_Read... [23:56:57]Read from MH i2c: E2 FD 00 80 02 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 24 [23:56:57]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [23:56:57]wFMCommunicate OK [23:56:57]wFMCommunicate request_size=4 [23:56:57]MH_SAM_APDU [23:56:57]CAPDU: 80 17 00 00 [23:56:57]Write to MH i2c: E2 08 00 81 02 80 17 00 00 00 00 00 00 03 [23:56:57]Write i2c OK [23:56:57]MH_I2C_Read... [23:56:57]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:56:57]Read from MH i2c: E2 [23:56:57]MH_I2C_Read... [23:56:57]Read from MH i2c: E2 FD 00 [23:56:57]MH_I2C_Read... [23:56:57]Read from MH i2c: E2 FD 00 81 02 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 BA [23:56:57]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [23:56:57]wFMCommunicate OK [23:56:57]wFMCommunicate request_size=4 [23:56:57]MH_SAM_APDU [23:56:57]CAPDU: 80 17 00 00 [23:56:57]Write to MH i2c: E2 08 00 82 02 80 17 00 00 00 00 00 00 04 [23:56:57]Write i2c OK [23:56:57]MH_I2C_Read... [23:56:58]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:56:58]Read from MH i2c: E2 [23:56:58]MH_I2C_Read... [23:56:58]Read from MH i2c: E2 FD 00 [23:56:58]MH_I2C_Read... [23:56:58]Read from MH i2c: E2 FD 00 82 02 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 76 [23:56:58]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [23:56:58]wFMCommunicate OK [23:56:58]wFMCommunicate request_size=4 [23:56:58]MH_SAM_APDU [23:56:58]CAPDU: 80 17 00 00 [23:56:58]Write to MH i2c: E2 08 00 83 02 80 17 00 00 00 00 00 00 05 [23:56:58]Write i2c OK [23:56:58]MH_I2C_Read... [23:56:58]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [23:56:58]Read from MH i2c: E2 [23:56:58]MH_I2C_Read... [23:56:58]Read from MH i2c: E2 CB 00 [23:56:58]MH_I2C_Read... [23:56:58]Read from MH i2c: E2 CB 00 83 02 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 EE [23:56:58]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [23:56:58]wFMCommunicate OK [23:56:58]SAM_PROTO_GetShiftData done [23:56:58]1194 (1194) - счетчики итогов смены [23:56:58] 1134 (4) - 128 - количество чеков со всеми признаками расчетов [23:56:58] 1129 (155) - счетчики операций «приход» [23:56:58] 1135 (4) - 128 - количество чеков по признаку расчетов [23:56:58] 1201 (3) - 25130.00 - общая итоговая сумма в чеках [23:56:58] 1136 (3) - 18743.00 - итоговая сумма в чеках наличными [23:56:58] 1138 (3) - 6387.00 - итоговая сумма в чеках безналичными [23:56:58] 1024 (122) - суммы налогов [23:56:58] 1006 (9) - суммы НДС [23:56:58] 1010 (1) - 0% - код ставки НДС [23:56:58] 1011 (0) - 0.00 - сумма НДС по ставке [23:56:58] 1006 (12) - суммы НДС [23:56:58] 1010 (1) - 12% - код ставки НДС [23:56:58] 1011 (3) - 2668.59 - сумма НДС по ставке [23:56:58] 1007 (9) - суммы НСП [23:56:58] 1014 (1) - 0% - код ставки НСП [23:56:58] 1015 (0) - 0.00 - сумма НСП по ставке [23:56:58] 1007 (11) - суммы НСП [23:56:58] 1014 (1) - 1% - код ставки НСП [23:56:58] 1015 (2) - 222.31 - сумма НСП по ставке [23:56:58] 1007 (9) - суммы НСП [23:56:58] 1014 (1) - 2% - код ставки НСП [23:56:58] 1015 (0) - 0.00 - сумма НСП по ставке [23:56:58] 1007 (9) - суммы НСП [23:56:58] 1014 (1) - 3% - код ставки НСП [23:56:58] 1015 (0) - 0.00 - сумма НСП по ставке [23:56:58] 1007 (9) - суммы НСП [23:56:58] 1014 (1) - 5% - код ставки НСП [23:56:58] 1015 (0) - 0.00 - сумма НСП по ставке [23:56:58] 1007 (9) - суммы НСП [23:56:58] 1014 (1) - 0,50% - код ставки НСП [23:56:58] 1015 (0) - 0.00 - сумма НСП по ставке [23:56:58] 1007 (9) - суммы НСП [23:56:58] 1014 (1) - 1,50% - код ставки НСП [23:56:58] 1015 (0) - 0.00 - сумма НСП по ставке [23:56:58] 1130 (141) - счетчики операций «возврат прихода» [23:56:58] 1135 (4) - 0 - количество чеков по признаку расчетов [23:56:58] 1201 (0) - 0.00 - общая итоговая сумма в чеках [23:56:58] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [23:56:58] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [23:56:58] 1024 (117) - суммы налогов [23:56:58] 1006 (9) - суммы НДС [23:56:58] 1010 (1) - 0% - код ставки НДС [23:56:58] 1011 (0) - 0.00 - сумма НДС по ставке [23:56:58] 1006 (9) - суммы НДС [23:56:58] 1010 (1) - 12% - код ставки НДС [23:56:58] 1011 (0) - 0.00 - сумма НДС по ставке [23:56:58] 1007 (9) - суммы НСП [23:56:58] 1014 (1) - 0% - код ставки НСП [23:56:58] 1015 (0) - 0.00 - сумма НСП по ставке [23:56:58] 1007 (9) - суммы НСП [23:56:58] 1014 (1) - 1% - код ставки НСП [23:56:58] 1015 (0) - 0.00 - сумма НСП по ставке [23:56:58] 1007 (9) - суммы НСП [23:56:58] 1014 (1) - 2% - код ставки НСП [23:56:58] 1015 (0) - 0.00 - сумма НСП по ставке [23:56:58] 1007 (9) - суммы НСП [23:56:58] 1014 (1) - 3% - код ставки НСП [23:56:58] 1015 (0) - 0.00 - сумма НСП по ставке [23:56:58] 1007 (9) - суммы НСП [23:56:58] 1014 (1) - 5% - код ставки НСП [23:56:58] 1015 (0) - 0.00 - сумма НСП по ставке [23:56:58] 1007 (9) - суммы НСП [23:56:58] 1014 (1) - 0,50% - код ставки НСП [23:56:58] 1015 (0) - 0.00 - сумма НСП по ставке [23:56:58] 1007 (9) - суммы НСП [23:56:58] 1014 (1) - 1,50% - код ставки НСП [23:56:58] 1015 (0) - 0.00 - сумма НСП по ставке [23:56:58] 1131 (141) - счетчики операций «расход» [23:56:58] 1135 (4) - 0 - количество чеков по признаку расчетов [23:56:58] 1201 (0) - 0.00 - общая итоговая сумма в чеках [23:56:58] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [23:56:58] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [23:56:58] 1024 (117) - суммы налогов [23:56:58] 1006 (9) - суммы НДС [23:56:58] 1010 (1) - 0% - код ставки НДС [23:56:58] 1011 (0) - 0.00 - сумма НДС по ставке [23:56:58] 1006 (9) - суммы НДС [23:56:58] 1010 (1) - 12% - код ставки НДС [23:56:58] 1011 (0) - 0.00 - сумма НДС по ставке [23:56:58] 1007 (9) - суммы НСП [23:56:58] 1014 (1) - 0% - код ставки НСП [23:56:58] 1015 (0) - 0.00 - сумма НСП по ставке [23:56:58] 1007 (9) - суммы НСП [23:56:58] 1014 (1) - 1% - код ставки НСП [23:56:58] 1015 (0) - 0.00 - сумма НСП по ставке [23:56:58] 1007 (9) - суммы НСП [23:56:59] 1014 (1) - 2% - код ставки НСП [23:56:59] 1015 (0) - 0.00 - сумма НСП по ставке [23:56:59] 1007 (9) - суммы НСП [23:56:59] 1014 (1) - 3% - код ставки НСП [23:56:59] 1015 (0) - 0.00 - сумма НСП по ставке [23:56:59] 1007 (9) - суммы НСП [23:56:59] 1014 (1) - 5% - код ставки НСП [23:56:59] 1015 (0) - 0.00 - сумма НСП по ставке [23:56:59] 1007 (9) - суммы НСП [23:56:59] 1014 (1) - 0,50% - код ставки НСП [23:56:59] 1015 (0) - 0.00 - сумма НСП по ставке [23:56:59] 1007 (9) - суммы НСП [23:56:59] 1014 (1) - 1,50% - код ставки НСП [23:56:59] 1015 (0) - 0.00 - сумма НСП по ставке [23:56:59] 1132 (141) - счетчики операций «возврат расхода» [23:56:59] 1135 (4) - 0 - количество чеков по признаку расчетов [23:56:59] 1201 (0) - 0.00 - общая итоговая сумма в чеках [23:56:59] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [23:56:59] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [23:56:59] 1024 (117) - суммы налогов [23:56:59] 1006 (9) - суммы НДС [23:56:59] 1010 (1) - 0% - код ставки НДС [23:56:59] 1011 (0) - 0.00 - сумма НДС по ставке [23:56:59] 1006 (9) - суммы НДС [23:56:59] 1010 (1) - 12% - код ставки НДС [23:56:59] 1011 (0) - 0.00 - сумма НДС по ставке [23:56:59] 1007 (9) - суммы НСП [23:56:59] 1014 (1) - 0% - код ставки НСП [23:56:59] 1015 (0) - 0.00 - сумма НСП по ставке [23:56:59] 1007 (9) - суммы НСП [23:56:59] 1014 (1) - 1% - код ставки НСП [23:56:59] 1015 (0) - 0.00 - сумма НСП по ставке [23:56:59] 1007 (9) - суммы НСП [23:56:59] 1014 (1) - 2% - код ставки НСП [23:56:59] 1015 (0) - 0.00 - сумма НСП по ставке [23:56:59] 1007 (9) - суммы НСП [23:56:59] 1014 (1) - 3% - код ставки НСП [23:56:59] 1015 (0) - 0.00 - сумма НСП по ставке [23:56:59] 1007 (9) - суммы НСП [23:56:59] 1014 (1) - 5% - код ставки НСП [23:56:59] 1015 (0) - 0.00 - сумма НСП по ставке [23:56:59] 1007 (9) - суммы НСП [23:56:59] 1014 (1) - 0,50% - код ставки НСП [23:56:59] 1015 (0) - 0.00 - сумма НСП по ставке [23:56:59] 1007 (9) - суммы НСП [23:56:59] 1014 (1) - 1,50% - код ставки НСП [23:56:59] 1015 (0) - 0.00 - сумма НСП по ставке [23:56:59] 1133 (588) - - счетчики коррекции - не используются [23:56:59]SetTLVBufToDocument [23:56:59]Processing tag 1194 (04AA) [23:56:59]Load OK [23:56:59]SetTLVBufToDocument [23:56:59]Processing tag 1134 (046E) [23:56:59]Malloc new data [23:56:59]Processing tag 1129 (0469) [23:56:59]Load OK [23:56:59]SetTLVBufToDocument [23:56:59]Processing tag 1135 (046F) [23:56:59]Malloc new data [23:56:59]Processing tag 1201 (04B1) [23:56:59]Malloc new data [23:56:59]Processing tag 1136 (0470) [23:56:59]Malloc new data [23:56:59]Processing tag 1138 (0472) [23:56:59]Malloc new data [23:56:59]Processing tag 1024 (0400) [23:56:59]Load OK [23:56:59]SetTLVBufToDocument [23:56:59]Processing tag 1006 (03EE) [23:56:59]Load OK [23:56:59]SetTLVBufToDocument [23:56:59]Processing tag 1010 (03F2) [23:56:59]Malloc new data [23:56:59]Processing tag 1011 (03F3) [23:56:59]Malloc new data [23:56:59]SetTLVBufToDocument err=0 [23:56:59]Processing tag 1006 (03EE) [23:56:59]Load OK [23:56:59]SetTLVBufToDocument [23:56:59]Processing tag 1010 (03F2) [23:56:59]Malloc new data [23:56:59]Processing tag 1011 (03F3) [23:56:59]Malloc new data [23:56:59]SetTLVBufToDocument err=0 [23:56:59]Processing tag 1007 (03EF) [23:56:59]Load OK [23:56:59]SetTLVBufToDocument [23:56:59]Processing tag 1014 (03F6) [23:56:59]Malloc new data [23:56:59]Processing tag 1015 (03F7) [23:56:59]Malloc new data [23:56:59]SetTLVBufToDocument err=0 [23:56:59]Processing tag 1007 (03EF) [23:56:59]Load OK [23:56:59]SetTLVBufToDocument [23:56:59]Processing tag 1014 (03F6) [23:56:59]Malloc new data [23:56:59]Processing tag 1015 (03F7) [23:56:59]Malloc new data [23:56:59]SetTLVBufToDocument err=0 [23:56:59]Processing tag 1007 (03EF) [23:56:59]Load OK [23:56:59]SetTLVBufToDocument [23:56:59]Processing tag 1014 (03F6) [23:56:59]Malloc new data [23:56:59]Processing tag 1015 (03F7) [23:56:59]Malloc new data [23:56:59]SetTLVBufToDocument err=0 [23:56:59]Processing tag 1007 (03EF) [23:56:59]Load OK [23:56:59]SetTLVBufToDocument [23:56:59]Processing tag 1014 (03F6) [23:56:59]Malloc new data [23:56:59]Processing tag 1015 (03F7) [23:56:59]Malloc new data [23:56:59]SetTLVBufToDocument err=0 [23:56:59]Processing tag 1007 (03EF) [23:56:59]Load OK [23:56:59]SetTLVBufToDocument [23:56:59]Processing tag 1014 (03F6) [23:56:59]Malloc new data [23:56:59]Processing tag 1015 (03F7) [23:56:59]Malloc new data [23:56:59]SetTLVBufToDocument err=0 [23:56:59]Processing tag 1007 (03EF) [23:56:59]Load OK [23:56:59]SetTLVBufToDocument [23:56:59]Processing tag 1014 (03F6) [23:56:59]Malloc new data [23:56:59]Processing tag 1015 (03F7) [23:56:59]Malloc new data [23:56:59]SetTLVBufToDocument err=0 [23:56:59]Processing tag 1007 (03EF) [23:56:59]Load OK [23:56:59]SetTLVBufToDocument [23:56:59]Processing tag 1014 (03F6) [23:56:59]Malloc new data [23:56:59]Processing tag 1015 (03F7) [23:56:59]Malloc new data [23:56:59]SetTLVBufToDocument err=0 [23:56:59]SetTLVBufToDocument err=0 [23:56:59]SetTLVBufToDocument err=0 [23:56:59]Processing tag 1130 (046A) [23:56:59]Load OK [23:56:59]SetTLVBufToDocument [23:56:59]Processing tag 1135 (046F) [23:56:59]Malloc new data [23:56:59]Processing tag 1201 (04B1) [23:56:59]Malloc new data [23:56:59]Processing tag 1136 (0470) [23:56:59]Malloc new data [23:56:59]Processing tag 1138 (0472) [23:56:59]Malloc new data [23:56:59]Processing tag 1024 (0400) [23:56:59]Load OK [23:56:59]SetTLVBufToDocument [23:56:59]Processing tag 1006 (03EE) [23:56:59]Load OK [23:56:59]SetTLVBufToDocument [23:56:59]Processing tag 1010 (03F2) [23:56:59]Malloc new data [23:56:59]Processing tag 1011 (03F3) [23:56:59]Malloc new data [23:56:59]SetTLVBufToDocument err=0 [23:56:59]Processing tag 1006 (03EE) [23:56:59]Load OK [23:56:59]SetTLVBufToDocument [23:56:59]Processing tag 1010 (03F2) [23:56:59]Malloc new data [23:56:59]Processing tag 1011 (03F3) [23:56:59]Malloc new data [23:56:59]SetTLVBufToDocument err=0 [23:56:59]Processing tag 1007 (03EF) [23:56:59]Load OK [23:56:59]SetTLVBufToDocument [23:56:59]Processing tag 1014 (03F6) [23:56:59]Malloc new data [23:56:59]Processing tag 1015 (03F7) [23:56:59]Malloc new data [23:56:59]SetTLVBufToDocument err=0 [23:56:59]Processing tag 1007 (03EF) [23:56:59]Load OK [23:56:59]SetTLVBufToDocument [23:56:59]Processing tag 1014 (03F6) [23:56:59]Malloc new data [23:56:59]Processing tag 1015 (03F7) [23:56:59]Malloc new data [23:56:59]SetTLVBufToDocument err=0 [23:56:59]Processing tag 1007 (03EF) [23:56:59]Load OK [23:56:59]SetTLVBufToDocument [23:56:59]Processing tag 1014 (03F6) [23:56:59]Malloc new data [23:56:59]Processing tag 1015 (03F7) [23:56:59]Malloc new data [23:56:59]SetTLVBufToDocument err=0 [23:56:59]Processing tag 1007 (03EF) [23:56:59]Load OK [23:56:59]SetTLVBufToDocument [23:56:59]Processing tag 1014 (03F6) [23:56:59]Malloc new data [23:56:59]Processing tag 1015 (03F7) [23:56:59]Malloc new data [23:56:59]SetTLVBufToDocument err=0 [23:56:59]Processing tag 1007 (03EF) [23:56:59]Load OK [23:56:59]SetTLVBufToDocument [23:56:59]Processing tag 1014 (03F6) [23:56:59]Malloc new data [23:56:59]Processing tag 1015 (03F7) [23:56:59]Malloc new data [23:56:59]SetTLVBufToDocument err=0 [23:56:59]Processing tag 1007 (03EF) [23:56:59]Load OK [23:56:59]SetTLVBufToDocument [23:56:59]Processing tag 1014 (03F6) [23:56:59]Malloc new data [23:56:59]Processing tag 1015 (03F7) [23:56:59]Malloc new data [23:56:59]SetTLVBufToDocument err=0 [23:56:59]Processing tag 1007 (03EF) [23:56:59]Load OK [23:56:59]SetTLVBufToDocument [23:56:59]Processing tag 1014 (03F6) [23:56:59]Malloc new data [23:56:59]Processing tag 1015 (03F7) [23:56:59]Malloc new data [23:56:59]SetTLVBufToDocument err=0 [23:56:59]SetTLVBufToDocument err=0 [23:56:59]SetTLVBufToDocument err=0 [23:56:59]Processing tag 1131 (046B) [23:56:59]Load OK [23:56:59]SetTLVBufToDocument [23:56:59]Processing tag 1135 (046F) [23:56:59]Malloc new data [23:56:59]Processing tag 1201 (04B1) [23:56:59]Malloc new data [23:56:59]Processing tag 1136 (0470) [23:56:59]Malloc new data [23:56:59]Processing tag 1138 (0472) [23:56:59]Malloc new data [23:56:59]Processing tag 1024 (0400) [23:56:59]Load OK [23:56:59]SetTLVBufToDocument [23:56:59]Processing tag 1006 (03EE) [23:56:59]Load OK [23:56:59]SetTLVBufToDocument [23:56:59]Processing tag 1010 (03F2) [23:56:59]Malloc new data [23:56:59]Processing tag 1011 (03F3) [23:56:59]Malloc new data [23:56:59]SetTLVBufToDocument err=0 [23:56:59]Processing tag 1006 (03EE) [23:56:59]Load OK [23:56:59]SetTLVBufToDocument [23:56:59]Processing tag 1010 (03F2) [23:56:59]Malloc new data [23:56:59]Processing tag 1011 (03F3) [23:56:59]Malloc new data [23:56:59]SetTLVBufToDocument err=0 [23:56:59]Processing tag 1007 (03EF) [23:56:59]Load OK [23:56:59]SetTLVBufToDocument [23:56:59]Processing tag 1014 (03F6) [23:56:59]Malloc new data [23:56:59]Processing tag 1015 (03F7) [23:56:59]Malloc new data [23:56:59]SetTLVBufToDocument err=0 [23:56:59]Processing tag 1007 (03EF) [23:56:59]Load OK [23:56:59]SetTLVBufToDocument [23:56:59]Processing tag 1014 (03F6) [23:56:59]Malloc new data [23:56:59]Processing tag 1015 (03F7) [23:56:59]Malloc new data [23:56:59]SetTLVBufToDocument err=0 [23:56:59]Processing tag 1007 (03EF) [23:56:59]Load OK [23:56:59]SetTLVBufToDocument [23:56:59]Processing tag 1014 (03F6) [23:56:59]Malloc new data [23:56:59]Processing tag 1015 (03F7) [23:56:59]Malloc new data [23:56:59]SetTLVBufToDocument err=0 [23:56:59]Processing tag 1007 (03EF) [23:56:59]Load OK [23:56:59]SetTLVBufToDocument [23:56:59]Processing tag 1014 (03F6) [23:56:59]Malloc new data [23:56:59]Processing tag 1015 (03F7) [23:56:59]Malloc new data [23:56:59]SetTLVBufToDocument err=0 [23:56:59]Processing tag 1007 (03EF) [23:56:59]Load OK [23:56:59]SetTLVBufToDocument [23:56:59]Processing tag 1014 (03F6) [23:56:59]Malloc new data [23:56:59]Processing tag 1015 (03F7) [23:56:59]Malloc new data [23:56:59]OFD Sender: No OFD packet to send [23:56:59]SetTLVBufToDocument err=0 [23:56:59]Processing tag 1007 (03EF) [23:56:59]Load OK [23:56:59]SetTLVBufToDocument [23:56:59]Processing tag 1014 (03F6) [23:56:59]Malloc new data [23:56:59]Processing tag 1015 (03F7) [23:56:59]Malloc new data [23:56:59]SetTLVBufToDocument err=0 [23:56:59]Processing tag 1007 (03EF) [23:56:59]Load OK [23:56:59]SetTLVBufToDocument [23:56:59]Processing tag 1014 (03F6) [23:56:59]Malloc new data [23:56:59]Processing tag 1015 (03F7) [23:56:59]Malloc new data [23:56:59]SetTLVBufToDocument err=0 [23:56:59]SetTLVBufToDocument err=0 [23:56:59]SetTLVBufToDocument err=0 [23:56:59]Processing tag 1132 (046C) [23:56:59]Load OK [23:56:59]SetTLVBufToDocument [23:56:59]Processing tag 1135 (046F) [23:56:59]Malloc new data [23:56:59]Processing tag 1201 (04B1) [23:56:59]Malloc new data [23:56:59]Processing tag 1136 (0470) [23:56:59]Malloc new data [23:56:59]Processing tag 1138 (0472) [23:56:59]Malloc new data [23:56:59]Processing tag 1024 (0400) [23:56:59]Load OK [23:56:59]SetTLVBufToDocument [23:56:59]Processing tag 1006 (03EE) [23:56:59]Load OK [23:56:59]SetTLVBufToDocument [23:56:59]Processing tag 1010 (03F2) [23:56:59]Malloc new data [23:56:59]Processing tag 1011 (03F3) [23:56:59]Malloc new data [23:56:59]SetTLVBufToDocument err=0 [23:56:59]Processing tag 1006 (03EE) [23:56:59]Load OK [23:56:59]SetTLVBufToDocument [23:56:59]Processing tag 1010 (03F2) [23:56:59]Malloc new data [23:56:59]Processing tag 1011 (03F3) [23:56:59]Malloc new data [23:56:59]SetTLVBufToDocument err=0 [23:56:59]Processing tag 1007 (03EF) [23:56:59]Load OK [23:56:59]SetTLVBufToDocument [23:56:59]Processing tag 1014 (03F6) [23:56:59]Malloc new data [23:56:59]Processing tag 1015 (03F7) [23:56:59]Malloc new data [23:56:59]SetTLVBufToDocument err=0 [23:56:59]Processing tag 1007 (03EF) [23:56:59]Load OK [23:56:59]SetTLVBufToDocument [23:56:59]Processing tag 1014 (03F6) [23:56:59]Malloc new data [23:56:59]Processing tag 1015 (03F7) [23:56:59]Malloc new data [23:57:00]SetTLVBufToDocument err=0 [23:57:00]Processing tag 1007 (03EF) [23:57:00]Load OK [23:57:00]SetTLVBufToDocument [23:57:00]Processing tag 1014 (03F6) [23:57:00]Malloc new data [23:57:00]Processing tag 1015 (03F7) [23:57:00]Malloc new data [23:57:00]SetTLVBufToDocument err=0 [23:57:00]Processing tag 1007 (03EF) [23:57:00]Load OK [23:57:00]SetTLVBufToDocument [23:57:00]Processing tag 1014 (03F6) [23:57:00]Malloc new data [23:57:00]Processing tag 1015 (03F7) [23:57:00]Malloc new data [23:57:00]SetTLVBufToDocument err=0 [23:57:00]Processing tag 1007 (03EF) [23:57:00]Load OK [23:57:00]SetTLVBufToDocument [23:57:00]Processing tag 1014 (03F6) [23:57:00]Malloc new data [23:57:00]Processing tag 1015 (03F7) [23:57:00]Malloc new data [23:57:00]SetTLVBufToDocument err=0 [23:57:00]Processing tag 1007 (03EF) [23:57:00]Load OK [23:57:00]SetTLVBufToDocument [23:57:00]Processing tag 1014 (03F6) [23:57:00]Malloc new data [23:57:00]Processing tag 1015 (03F7) [23:57:00]Malloc new data [23:57:00]SetTLVBufToDocument err=0 [23:57:00]Processing tag 1007 (03EF) [23:57:00]Load OK [23:57:00]SetTLVBufToDocument [23:57:00]Processing tag 1014 (03F6) [23:57:00]Malloc new data [23:57:00]Processing tag 1015 (03F7) [23:57:00]Malloc new data [23:57:00]SetTLVBufToDocument err=0 [23:57:00]SetTLVBufToDocument err=0 [23:57:00]SetTLVBufToDocument err=0 [23:57:00]Processing tag 1133 (046D) [23:57:00]Malloc new data [23:57:00]SetTLVBufToDocument err=0 [23:57:00]SetTLVBufToDocument err=0 [23:57:00]Malloc new data [23:57:00]SAM_PROTO_GetFMData [23:57:00]wFMCommunicate request_size=4 [23:57:00]MH_SAM_APDU [23:57:00]CAPDU: 80 13 03 00 [23:57:00]Write to MH i2c: E2 08 00 84 02 80 13 03 00 00 00 00 00 05 [23:57:00]Write i2c OK [23:57:00]MH_I2C_Read... [23:57:00]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [23:57:00]Read from MH i2c: E2 [23:57:00]MH_I2C_Read... [23:57:00]Read from MH i2c: E2 FD 00 [23:57:00]MH_I2C_Read... [23:57:00]Read from MH i2c: E2 FD 00 84 02 00 C5 04 85 04 C1 04 6E 04 04 00 14 F6 00 00 69 04 A1 00 6F 04 04 00 B7 F3 00 00 B1 04 04 00 ED F4 77 76 70 04 04 00 06 9B CB 65 72 04 04 00 E7 59 AC 10 00 04 7D 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 B0 15 95 0C EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0D 00 F6 03 01 00 01 F7 03 04 00 D4 58 0C 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 5D 02 00 00 B1 04 04 00 64 11 7D 03 70 04 04 00 E0 B5 61 03 72 04 03 00 84 5B 1B 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 F2 D8 5E EF 03 09 90 00 84 [23:57:00]RAPDU: C5 04 85 04 C1 04 6E 04 04 00 14 F6 00 00 69 04 A1 00 6F 04 04 00 B7 F3 00 00 B1 04 04 00 ED F4 77 76 70 04 04 00 06 9B CB 65 72 04 04 00 E7 59 AC 10 00 04 7D 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 B0 15 95 0C EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0D 00 F6 03 01 00 01 F7 03 04 00 D4 58 0C 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 5D 02 00 00 B1 04 04 00 64 11 7D 03 70 04 04 00 E0 B5 61 03 72 04 03 00 84 5B 1B 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 F2 D8 5E EF 03 09 90 00 [23:57:00]wFMCommunicate OK [23:57:00]wFMCommunicate request_size=4 [23:57:00]MH_SAM_APDU [23:57:00]CAPDU: 80 17 00 00 [23:57:00]Write to MH i2c: E2 08 00 85 02 80 17 00 00 00 00 00 00 07 [23:57:00]Write i2c OK [23:57:00]MH_I2C_Read... [23:57:00]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:57:00]Read from MH i2c: E2 [23:57:00]MH_I2C_Read... [23:57:00]Read from MH i2c: E2 FD 00 [23:57:00]MH_I2C_Read... [23:57:00]Read from MH i2c: E2 FD 00 85 02 00 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 2E E7 07 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 90 00 D9 [23:57:01]RAPDU: 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 2E E7 07 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 90 00 [23:57:01]wFMCommunicate OK [23:57:01]wFMCommunicate request_size=4 [23:57:01]MH_SAM_APDU [23:57:01]CAPDU: 80 17 00 00 [23:57:01]Write to MH i2c: E2 08 00 86 02 80 17 00 00 00 00 00 00 08 [23:57:01]Write i2c OK [23:57:01]MH_I2C_Read... [23:57:01]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:57:01]Read from MH i2c: E2 [23:57:01]MH_I2C_Read... [23:57:01]Read from MH i2c: E2 FD 00 [23:57:01]MH_I2C_Read... [23:57:01]Read from MH i2c: E2 FD 00 86 02 00 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 90 00 1A [23:57:01]RAPDU: 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 90 00 [23:57:01]wFMCommunicate OK [23:57:01]wFMCommunicate request_size=4 [23:57:01]MH_SAM_APDU [23:57:01]CAPDU: 80 17 00 00 [23:57:01]Write to MH i2c: E2 08 00 87 02 80 17 00 00 00 00 00 00 09 [23:57:01]Write i2c OK [23:57:01]MH_I2C_Read... [23:57:01]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:57:01]Read from MH i2c: E2 [23:57:01]MH_I2C_Read... [23:57:01]Read from MH i2c: E2 FD 00 [23:57:01]MH_I2C_Read... [23:57:01]Read from MH i2c: E2 FD 00 87 02 00 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 90 00 95 [23:57:02]RAPDU: 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 90 00 [23:57:02]wFMCommunicate OK [23:57:02]wFMCommunicate request_size=4 [23:57:02]MH_SAM_APDU [23:57:02]CAPDU: 80 17 00 00 [23:57:02]Write to MH i2c: E2 08 00 88 02 80 17 00 00 00 00 00 00 0A [23:57:02]Write i2c OK [23:57:02]MH_I2C_Read... [23:57:02]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 223! [23:57:02]Read from MH i2c: E2 [23:57:02]MH_I2C_Read... [23:57:02]Read from MH i2c: E2 E2 00 [23:57:02]MH_I2C_Read... [23:57:02]Read from MH i2c: E2 E2 00 88 02 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 E8 [23:57:02]RAPDU: EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [23:57:02]wFMCommunicate OK [23:57:02]SAM_PROTO_GetFMData done [23:57:02]FM_GetFMData:85 04 C1 04 6E 04 04 00 14 F6 00 00 69 04 A1 00 6F 04 04 00 B7 F3 00 00 B1 04 04 00 ED F4 77 76 70 04 04 00 06 9B CB 65 72 04 04 00 E7 59 AC 10 00 04 7D 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 B0 15 95 0C EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0D 00 F6 03 01 00 01 F7 03 04 00 D4 58 0C 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 5D 02 00 00 B1 04 04 00 64 11 7D 03 70 04 04 00 E0 B5 61 03 72 04 03 00 84 5B 1B 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 F2 D8 5E EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 2E E7 07 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [23:57:03]oper:6F 04 04 00 B7 F3 00 00 B1 04 04 00 ED F4 77 76 70 04 04 00 06 9B CB 65 72 04 04 00 E7 59 AC 10 00 04 7D 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 B0 15 95 0C EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0D 00 F6 03 01 00 01 F7 03 04 00 D4 58 0C 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [23:57:03]total:ED F4 77 76 [23:57:03]Malloc new data [23:57:03]oper:6F 04 04 00 5D 02 00 00 B1 04 04 00 64 11 7D 03 70 04 04 00 E0 B5 61 03 72 04 03 00 84 5B 1B 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 F2 D8 5E EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 2E E7 07 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [23:57:03]total:64 11 7D 03 [23:57:03]Malloc new data [23:57:03]oper:6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [23:57:03]total: [23:57:03]Malloc new data [23:57:03]oper:6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [23:57:03]total: [23:57:03]Malloc new data [23:57:03]KKMPrepareXReportFMData err=0 [23:57:03]Х отчет ИНН: 02508201610067 Кассир: Койгельдиева Р. 02.06.2024 23:56 Смена: 266 РНМ: 0000000000092737 ЗНМ: 0300000031 СНО: Общий режим Всего чеков: 128 ИТОГИ ПРИХОД Чеков: 128 Общий итог: 25130.00 Итого наличными: 18743.00 Итого безнал.: 6387.00 НДС 0% : 0.00 НДС 12% : 2668.59 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 222.31 ИТОГИ ВОЗВРАТ ПРИХОДА Чеков: 0 Общий итог: 0.00 Итого наличными: 0.00 Итого безнал.: 0.00 НДС 0% : 0.00 НДС 12% : 0.00 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 0.00 ИТОГИ РАСХОД Чеков: 0 Общий итог: 0.00 Итого наличными: 0.00 Итого безнал.: 0.00 НДС 0% : 0.00 НДС 12% : 0.00 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 0.00 ИТОГИ ВОЗВРАТ РАСХОДА Чеков: 0 Общий итог: 0.00 Итого наличными: 0.00 Итого безнал.: 0.00 НДС 0% : 0.00 НДС 12% : 0.00 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 0.00 Сумма внесений: 0.00 Сумма выплат: 0.00 Нал. в кассе: 18743.00 НС Приход: 19875729.73 НС Возвр.Прихода: 585281.00 НС Расход: 0.00 НС Возвр.Расхода: 0.00 ФМ: 0000000000875074 [23:57:03]StoreToDocumentArchive [23:57:03]MH_GetDate [23:57:03]Write to MH i2c: F0 00 00 89 02 7A [23:57:03]Write i2c OK [23:57:03]MH_I2C_Read... [23:57:03]Read from MH i2c: F0 [23:57:03]MH_I2C_Read... [23:57:03]Read from MH i2c: F0 09 00 [23:57:03]MH_I2C_Read... [23:57:03]Read from MH i2c: F0 09 00 89 02 00 D0 06 5D 66 6A 96 4A 66 CC [23:57:03]shift 266 fd 1717372624 [23:57:03]Create dir for shift 0266 [23:57:03]save to /storage/0266/doc_1717372624 [23:57:03]save last doc name /storage/0266/doc_1717372624 to /storage/kkm_last_doc_name [23:57:03]save OK [23:57:03]Clear old archive folders... [23:57:03]NVStorageSaveData kkm_last_timestamp [23:57:03]File name is /storage/kkm_last_timestamp [23:57:03]Write 4 bytes [23:57:03]NVStorageSaveData done [23:57:03]ExternCall_PrintAddStr [23:57:03]wPrintStart [23:57:03]Write to MH i2c: 01 00 00 8A 02 8C [23:57:03]Write i2c OK [23:57:03]MH_I2C_Read... [23:57:03]Read from MH i2c: 01 [23:57:03]MH_I2C_Read... [23:57:03]Read from MH i2c: 01 07 00 [23:57:03]MH_I2C_Read... [23:57:03]Read from MH i2c: 01 07 00 8A 02 00 00 00 00 00 FF 0F A1 [23:57:03]RasterBufferAndPrint [23:57:03]line Х отчет [23:57:03]line ИНН: 02508201610067 [23:57:03]line Кассир: Койгельдиева Р. [23:57:03]line 02.06.2024 23:56 [23:57:03]line Смена: 266 [23:57:03]line РНМ: 0000000000092737 [23:57:03]line ЗНМ: 0300000031 [23:57:03]line СНО: Общий режим [23:57:03]line Всего чеков: 128 [23:57:03]line ИТОГИ ПРИХОД [23:57:03]line Чеков: 128 [23:57:03]line Общий итог: 25130.00 [23:57:03]line Итого наличными: 18743.00 [23:57:03]line Итого безнал.: 6387.00 [23:57:03]line НДС 0% : 0.00 [23:57:03]line НДС 12% : 2668.59 [23:57:03]line НСП 0% : 0.00 [23:57:03]line НСП 1,50% : 0.00 [23:57:03]line НСП 0,50% : 0.00 [23:57:03]line НСП 5% : 0.00 [23:57:03]line НСП 3% : 0.00 [23:57:03]line НСП 2% : 0.00 [23:57:03]line НСП 1% : 222.31 [23:57:03]line ИТОГИ ВОЗВРАТ ПРИХОДА [23:57:03]line Чеков: 0 [23:57:03]line Общий итог: 0.00 [23:57:03]line Итого наличными: 0.00 [23:57:03]line Итого безнал.: 0.00 [23:57:03]line НДС 0% : 0.00 [23:57:03]line НДС 12% : 0.00 [23:57:03]line НСП 0% : 0.00 [23:57:03]line НСП 1,50% : 0.00 [23:57:03]line НСП 0,50% : 0.00 [23:57:03]line НСП 5% : 0.00 [23:57:03]line НСП 3% : 0.00 [23:57:03]line НСП 2% : 0.00 [23:57:03]line НСП 1% : 0.00 [23:57:03]line ИТОГИ РАСХОД [23:57:03]line Чеков: 0 [23:57:03]line Общий итог: 0.00 [23:57:03]line Итого наличными: 0.00 [23:57:03]line Итого безнал.: 0.00 [23:57:03]line НДС 0% : 0.00 [23:57:03]line НДС 12% : 0.00 [23:57:03]line НСП 0% : 0.00 [23:57:03]line НСП 1,50% : 0.00 [23:57:03]line НСП 0,50% : 0.00 [23:57:03]line НСП 5% : 0.00 [23:57:03]line НСП 3% : 0.00 [23:57:03]line НСП 2% : 0.00 [23:57:03]line НСП 1% : 0.00 [23:57:03]line ИТОГИ ВОЗВРАТ РАСХОДА [23:57:03]line Чеков: 0 [23:57:03]line Общий итог: 0.00 [23:57:03]line Итого наличными: 0.00 [23:57:03]line Итого безнал.: 0.00 [23:57:03]line НДС 0% : 0.00 [23:57:03]line НДС 12% : 0.00 [23:57:03]line НСП 0% : 0.00 [23:57:03]line НСП 1,50% : 0.00 [23:57:03]line НСП 0,50% : 0.00 [23:57:03]line НСП 5% : 0.00 [23:57:03]line НСП 3% : 0.00 [23:57:03]line НСП 2% : 0.00 [23:57:03]line НСП 1% : 0.00 [23:57:03]line Сумма внесений: 0.00 [23:57:03]line Сумма выплат: 0.00 [23:57:03]line Нал. в кассе: 18743.00 [23:57:03]line НС Приход: 19875729.73 [23:57:03]line НС Возвр.Прихода: 585281.00 [23:57:03]line НС Расход: 0.00 [23:57:03]line НС Возвр.Расхода: 0.00 [23:57:03]line ФМ: 0000000000875074 [23:57:03]written 0, free lines is 4095 [23:57:04]Write to MH i2c: 01 00 00 D5 02 D7 [23:57:04]Write i2c OK [23:57:04]MH_I2C_Read... [23:57:04]Read from MH i2c: 01 [23:57:04]MH_I2C_Read... [23:57:04]Read from MH i2c: 01 07 00 [23:57:04]MH_I2C_Read... [23:57:04]Read from MH i2c: 01 07 00 D5 02 00 00 00 00 00 9F 0A 87 [23:57:04]RasterBufferAndPrint [23:57:04]line [23:57:04]line [23:57:04]line [23:57:04]line [23:57:04]line [23:57:04]written 0, free lines is 2750 [23:57:04]MH_Cut [23:57:04]Write to MH i2c: D1 01 00 DC 02 01 B0 [23:57:04]Write i2c OK [23:57:04]MH_I2C_Read... [23:57:04]Read from MH i2c: D1 [23:57:04]MH_I2C_Read... [23:57:04]Read from MH i2c: D1 01 00 [23:57:04]MH_I2C_Read... [23:57:04]Read from MH i2c: D1 01 00 DC 02 00 AF [23:57:04]Write to MH i2c: 01 00 00 DD 02 DF [23:57:04]Write i2c OK [23:57:04]MH_I2C_Read... [23:57:04]OFD Sender: No OFD packet to send [23:57:05]*** Cut start [23:57:05]*** Partial cut [23:57:05]*** CUTSNS_PIN = 1 [23:57:05]*** CUTSNS_PIN = 0 [23:57:05]*** Brake cut motor [23:57:06]Read from MH i2c: 01 [23:57:06]MH_I2C_Read... [23:57:06]*** Stop cut motor [23:57:06]*** Cut end [23:57:06]Read from MH i2c: 01 07 00 [23:57:06]MH_I2C_Read... [23:57:06]Read from MH i2c: 01 07 00 DD 02 00 00 00 00 00 FF 0F F4 [23:57:06]process_action x_report done [23:57:06]requested_data is exist [23:57:06]produce_requested_data [23:57:06]requested_item fd.num is exist - process it [23:57:06]SAM_PROTO_GetFieldsCounters [23:57:06]wFMCommunicate request_size=4 [23:57:06]MH_SAM_APDU [23:57:06]CAPDU: 80 13 00 00 [23:57:06]Write to MH i2c: E2 08 00 DE 02 80 13 00 00 00 00 00 00 5C [23:57:06]Write i2c OK [23:57:06]MH_I2C_Read... [23:57:06]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:57:06]Read from MH i2c: E2 [23:57:06]MH_I2C_Read... [23:57:06]Read from MH i2c: E2 62 00 [23:57:06]MH_I2C_Read... [23:57:06]Read from MH i2c: E2 62 00 DE 02 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 33 37 10 04 04 00 FC F8 00 00 0E 04 04 00 74 01 00 00 12 04 04 00 80 00 00 00 5E 04 04 00 80 00 00 00 57 04 04 00 81 00 00 00 19 04 04 00 00 00 00 00 90 00 68 [23:57:06]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 33 37 10 04 04 00 FC F8 00 00 0E 04 04 00 74 01 00 00 12 04 04 00 80 00 00 00 5E 04 04 00 80 00 00 00 57 04 04 00 81 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:57:06]wFMCommunicate OK [23:57:06]SAM_PROTO_GetFieldsCounters done [23:57:06]requested_item shift.num is exist - process it [23:57:06]requested_item shift.opened is exist - process it [23:57:06]req_shift_opened [23:57:06]FM_GetShiftState [23:57:06]SAM_PROTO_GetShiftState [23:57:06]wFMCommunicate request_size=4 [23:57:06]MH_SAM_APDU [23:57:06]CAPDU: 80 13 01 00 [23:57:06]Write to MH i2c: E2 08 00 DF 02 80 13 01 00 00 00 00 00 5E [23:57:06]Write i2c OK [23:57:06]MH_I2C_Read... [23:57:06]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:57:06]Read from MH i2c: E2 [23:57:06]MH_I2C_Read... [23:57:06]Read from MH i2c: E2 0E 00 [23:57:06]MH_I2C_Read... [23:57:06]Read from MH i2c: E2 0E 00 DF 02 00 09 00 01 76 BD 5B 66 00 00 00 00 90 00 5E [23:57:06]RAPDU: 09 00 01 76 BD 5B 66 00 00 00 00 90 00 [23:57:06]wFMCommunicate OK [23:57:06]SAM_PROTO_GetShiftState done [23:57:06]FM_GetShiftState done [23:57:06]req_shift_opened done [23:57:06]requested_item shift.open_date is exist - process it [23:57:06]req_shift_open_date [23:57:06]req_shift_open_date done [23:57:06]produce_requested_data done [23:57:06]produce_requested_data return {"fd.num":63740,"shift.num":372,"shift.opened":1,"shift.open_date":1717288310} [23:57:06]process_action_free x_report [23:57:06]json_value_free [23:57:06]json_value_free done [23:57:06]process_json_proto returns [23:57:06]Send response to host [23:57:06]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fd.num":63740,"shift.num":372,"shift.opened":1,"shift.open_date":1717288310}}} [23:57:06]free response buf [23:57:06]execute_script done [23:57:06]execute_script returns [23:57:06]free content buf [23:57:06]Sock 9.Close socket [23:57:06]Sock 9.Thread stoped [23:57:09]OFD Sender: No OFD packet to send [23:57:14]OFD Sender: No OFD packet to send [23:57:19]OFD Sender: No OFD packet to send [23:57:24]OFD Sender: No OFD packet to send [23:57:29]OFD Sender: No OFD packet to send [23:57:34]OFD Sender: No OFD packet to send [23:57:39]OFD Sender: No OFD packet to send [23:57:43]accept exits with 7 [23:57:43]New connection [23:57:43]New thread 3066797412 created [23:57:43]Thread 3066654052 joined [23:57:43]Waiting for new connection... [23:57:43] Sock 7.Parse request [23:57:43]Sock 7.Check first char [23:57:43]Sock 7.First char is OK [23:57:43]request: POST /json_proto HTTP/1.0 [23:57:43]Method: POST [23:57:43]URL: /json_proto [23:57:43]Method is POST - this is cgi request [23:57:43]url: /json_proto [23:57:43]query_string will be loaded in cgi processing [23:57:43]execute_cgi json_proto POST (null) [23:57:43]execute_cgi path=json_proto method=POST [23:57:43]POST find Content-Length [23:57:43]Host: 172.17.60.69:8080 [23:57:43]Content-Length: 215 [23:57:43]Content-Type: application/json [23:57:43] [23:57:43]POST finish read [23:57:43]Found Content-Length = 215 [23:57:43]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:57:43]execute_script... [23:57:43]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:57:43]POST & json_proto [23:57:43]process_json_proto [23:57:43]json parsed OK: [23:57:43]protocol is kg_v1.0 [23:57:43]action value=get_value [23:57:43]process_action get_value [23:57:43]cmd_get_value [23:57:43]process_action get_value done [23:57:43]requested_data is exist [23:57:43]produce_requested_data [23:57:43]requested_item kkm.sn is exist - process it [23:57:43]requested_item kkm.ver is exist - process it [23:57:43]requested_item fm.sn is exist - process it [23:57:43]wFMCommunicate request_size=4 [23:57:43]MH_SAM_APDU [23:57:43]CAPDU: 80 11 00 00 [23:57:43]Write to MH i2c: E2 08 00 E0 02 80 11 00 00 00 00 00 00 5C [23:57:43]Write i2c OK [23:57:43]MH_I2C_Read... [23:57:43]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:57:43]Read from MH i2c: E2 [23:57:43]MH_I2C_Read... [23:57:43]Read from MH i2c: E2 17 00 [23:57:43]MH_I2C_Read... [23:57:43]Read from MH i2c: E2 17 00 E0 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 90 00 AE [23:57:43]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 90 00 [23:57:43]wFMCommunicate OK [23:57:43]requested_item fd.num is exist - process it [23:57:43]SAM_PROTO_GetFieldsCounters [23:57:43]wFMCommunicate request_size=4 [23:57:43]MH_SAM_APDU [23:57:43]CAPDU: 80 13 00 00 [23:57:43]Write to MH i2c: E2 08 00 E1 02 80 13 00 00 00 00 00 00 5F [23:57:43]Write i2c OK [23:57:43]MH_I2C_Read... [23:57:43]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:57:43]Read from MH i2c: E2 [23:57:43]MH_I2C_Read... [23:57:43]Read from MH i2c: E2 62 00 [23:57:43]MH_I2C_Read... [23:57:43]Read from MH i2c: E2 62 00 E1 02 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 33 37 10 04 04 00 FC F8 00 00 0E 04 04 00 74 01 00 00 12 04 04 00 80 00 00 00 5E 04 04 00 80 00 00 00 57 04 04 00 81 00 00 00 19 04 04 00 00 00 00 00 90 00 6B [23:57:43]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 33 37 10 04 04 00 FC F8 00 00 0E 04 04 00 74 01 00 00 12 04 04 00 80 00 00 00 5E 04 04 00 80 00 00 00 57 04 04 00 81 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:57:43]wFMCommunicate OK [23:57:43]SAM_PROTO_GetFieldsCounters done [23:57:43]requested_item shift.num is exist - process it [23:57:43]requested_item shift.opened is exist - process it [23:57:43]req_shift_opened [23:57:43]FM_GetShiftState [23:57:43]SAM_PROTO_GetShiftState [23:57:43]wFMCommunicate request_size=4 [23:57:43]MH_SAM_APDU [23:57:43]CAPDU: 80 13 01 00 [23:57:43]Write to MH i2c: E2 08 00 E2 02 80 13 01 00 00 00 00 00 61 [23:57:43]Write i2c OK [23:57:43]MH_I2C_Read... [23:57:43]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:57:43]Read from MH i2c: E2 [23:57:43]MH_I2C_Read... [23:57:43]Read from MH i2c: E2 0E 00 [23:57:43]MH_I2C_Read... [23:57:43]Read from MH i2c: E2 0E 00 E2 02 00 09 00 01 76 BD 5B 66 00 00 00 00 90 00 61 [23:57:43]RAPDU: 09 00 01 76 BD 5B 66 00 00 00 00 90 00 [23:57:43]wFMCommunicate OK [23:57:43]SAM_PROTO_GetShiftState done [23:57:43]FM_GetShiftState done [23:57:43]req_shift_opened done [23:57:43]requested_item shift.open_date is exist - process it [23:57:43]req_shift_open_date [23:57:43]req_shift_open_date done [23:57:43]produce_requested_data done [23:57:43]produce_requested_data return {"kkm.sn":"0300000031","kkm.ver":"001","fm.sn":"0000000000875074","fd.num":63740,"shift.num":372,"shift.opened":1,"shift.open_date":1717288310} [23:57:43]process_action_free get_value [23:57:43]json_value_free [23:57:43]json_value_free done [23:57:43]process_json_proto returns [23:57:43]Send response to host [23:57:43]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000031","kkm.ver":"001","fm.sn":"0000000000875074","fd.num":63740,"shift.num":372,"shift.opened":1,"shift.open_date":1717288310}}} [23:57:43]free response buf [23:57:43]execute_script done [23:57:43]execute_script returns [23:57:43]free content buf [23:57:43]Sock 7.Close socket [23:57:43]Sock 7.Thread stoped [23:57:43]accept exits with 9 [23:57:43]New connection [23:57:43]New thread 3066654052 created [23:57:43]Thread 3066797412 joined [23:57:43]Waiting for new connection... [23:57:43] Sock 9.Parse request [23:57:43]Sock 9.Check first char [23:57:43]Sock 9.First char is OK [23:57:43]request: POST /json_proto HTTP/1.0 [23:57:43]Method: POST [23:57:43]URL: /json_proto [23:57:43]Method is POST - this is cgi request [23:57:43]url: /json_proto [23:57:43]query_string will be loaded in cgi processing [23:57:43]execute_cgi json_proto POST (null) [23:57:43]execute_cgi path=json_proto method=POST [23:57:43]POST find Content-Length [23:57:43]Host: 172.17.60.69:8080 [23:57:43]Content-Length: 331 [23:57:43]Content-Type: application/json [23:57:43] [23:57:43]POST finish read [23:57:43]Found Content-Length = 331 [23:57:43]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [23:57:43]execute_script... [23:57:43]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [23:57:43]POST & json_proto [23:57:43]process_json_proto [23:57:43]json parsed OK: [23:57:43]protocol is kg_v1.0 [23:57:43]action value=get_value [23:57:43]process_action get_value [23:57:43]cmd_get_value [23:57:43]process_action get_value done [23:57:43]requested_data is exist [23:57:43]produce_requested_data [23:57:43]requested_item fm.sale.total is exist - process it [23:57:43]SAM_PROTO_GetFMData [23:57:43]wFMCommunicate request_size=4 [23:57:43]MH_SAM_APDU [23:57:43]CAPDU: 80 13 03 00 [23:57:43]Write to MH i2c: E2 08 00 E3 02 80 13 03 00 00 00 00 00 64 [23:57:43]Write i2c OK [23:57:43]MH_I2C_Read... [23:57:44]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [23:57:44]Read from MH i2c: E2 [23:57:44]MH_I2C_Read... [23:57:44]Read from MH i2c: E2 FD 00 [23:57:44]MH_I2C_Read... [23:57:44]Read from MH i2c: E2 FD 00 E3 02 00 C5 04 85 04 C1 04 6E 04 04 00 14 F6 00 00 69 04 A1 00 6F 04 04 00 B7 F3 00 00 B1 04 04 00 ED F4 77 76 70 04 04 00 06 9B CB 65 72 04 04 00 E7 59 AC 10 00 04 7D 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 B0 15 95 0C EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0D 00 F6 03 01 00 01 F7 03 04 00 D4 58 0C 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 5D 02 00 00 B1 04 04 00 64 11 7D 03 70 04 04 00 E0 B5 61 03 72 04 03 00 84 5B 1B 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 F2 D8 5E EF 03 09 90 00 E3 [23:57:44]RAPDU: C5 04 85 04 C1 04 6E 04 04 00 14 F6 00 00 69 04 A1 00 6F 04 04 00 B7 F3 00 00 B1 04 04 00 ED F4 77 76 70 04 04 00 06 9B CB 65 72 04 04 00 E7 59 AC 10 00 04 7D 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 B0 15 95 0C EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0D 00 F6 03 01 00 01 F7 03 04 00 D4 58 0C 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 5D 02 00 00 B1 04 04 00 64 11 7D 03 70 04 04 00 E0 B5 61 03 72 04 03 00 84 5B 1B 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 F2 D8 5E EF 03 09 90 00 [23:57:44]wFMCommunicate OK [23:57:44]wFMCommunicate request_size=4 [23:57:44]MH_SAM_APDU [23:57:44]CAPDU: 80 17 00 00 [23:57:44]Write to MH i2c: E2 08 00 E4 02 80 17 00 00 00 00 00 00 66 [23:57:44]Write i2c OK [23:57:44]MH_I2C_Read... [23:57:44]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:57:44]Read from MH i2c: E2 [23:57:44]MH_I2C_Read... [23:57:44]Read from MH i2c: E2 FD 00 [23:57:44]MH_I2C_Read... [23:57:44]Read from MH i2c: E2 FD 00 E4 02 00 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 2E E7 07 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 90 00 38 [23:57:44]RAPDU: 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 2E E7 07 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 90 00 [23:57:44]wFMCommunicate OK [23:57:44]wFMCommunicate request_size=4 [23:57:44]MH_SAM_APDU [23:57:44]CAPDU: 80 17 00 00 [23:57:44]Write to MH i2c: E2 08 00 E5 02 80 17 00 00 00 00 00 00 67 [23:57:44]Write i2c OK [23:57:44]MH_I2C_Read... [23:57:44]OFD Sender: No OFD packet to send [23:57:44]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:57:44]Read from MH i2c: E2 [23:57:44]MH_I2C_Read... [23:57:44]Read from MH i2c: E2 FD 00 [23:57:44]MH_I2C_Read... [23:57:44]Read from MH i2c: E2 FD 00 E5 02 00 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 90 00 79 [23:57:44]RAPDU: 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 90 00 [23:57:44]wFMCommunicate OK [23:57:44]wFMCommunicate request_size=4 [23:57:44]MH_SAM_APDU [23:57:44]CAPDU: 80 17 00 00 [23:57:44]Write to MH i2c: E2 08 00 E6 02 80 17 00 00 00 00 00 00 68 [23:57:44]Write i2c OK [23:57:44]MH_I2C_Read... [23:57:45]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:57:45]Read from MH i2c: E2 [23:57:45]MH_I2C_Read... [23:57:45]Read from MH i2c: E2 FD 00 [23:57:45]MH_I2C_Read... [23:57:45]Read from MH i2c: E2 FD 00 E6 02 00 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 90 00 F4 [23:57:45]RAPDU: 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 90 00 [23:57:45]wFMCommunicate OK [23:57:45]wFMCommunicate request_size=4 [23:57:45]MH_SAM_APDU [23:57:45]CAPDU: 80 17 00 00 [23:57:45]Write to MH i2c: E2 08 00 E7 02 80 17 00 00 00 00 00 00 69 [23:57:45]Write i2c OK [23:57:45]MH_I2C_Read... [23:57:45]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 223! [23:57:45]Read from MH i2c: E2 [23:57:45]MH_I2C_Read... [23:57:45]Read from MH i2c: E2 E2 00 [23:57:45]MH_I2C_Read... [23:57:45]Read from MH i2c: E2 E2 00 E7 02 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 47 [23:57:45]RAPDU: EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [23:57:45]wFMCommunicate OK [23:57:45]SAM_PROTO_GetFMData done [23:57:45]requested_item fm.sale_refund.total is exist - process it [23:57:45]requested_item fm.buy.total is exist - process it [23:57:45]requested_item shift.sale.total is exist - process it [23:57:45]SAM_PROTO_GetShiftData [23:57:45]wFMCommunicate request_size=4 [23:57:45]MH_SAM_APDU [23:57:45]CAPDU: 80 13 02 00 [23:57:45]Write to MH i2c: E2 08 00 E8 02 80 13 02 00 00 00 00 00 68 [23:57:45]Write i2c OK [23:57:45]MH_I2C_Read... [23:57:45]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [23:57:45]Read from MH i2c: E2 [23:57:45]MH_I2C_Read... [23:57:45]Read from MH i2c: E2 FD 00 [23:57:45]MH_I2C_Read... [23:57:45]Read from MH i2c: E2 FD 00 E8 02 00 AE 04 AA 04 AA 04 6E 04 04 00 80 00 00 00 69 04 9B 00 6F 04 04 00 80 00 00 00 B1 04 03 00 68 58 26 70 04 03 00 7C 99 1C 72 04 03 00 EC BE 09 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 6B 12 04 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 D7 56 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 A1 [23:57:45]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 80 00 00 00 69 04 9B 00 6F 04 04 00 80 00 00 00 B1 04 03 00 68 58 26 70 04 03 00 7C 99 1C 72 04 03 00 EC BE 09 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 6B 12 04 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 D7 56 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [23:57:46]wFMCommunicate OK [23:57:46]wFMCommunicate request_size=4 [23:57:46]MH_SAM_APDU [23:57:46]CAPDU: 80 17 00 00 [23:57:46]Write to MH i2c: E2 08 00 E9 02 80 17 00 00 00 00 00 00 6B [23:57:46]Write i2c OK [23:57:46]MH_I2C_Read... [23:57:46]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:57:46]Read from MH i2c: E2 [23:57:46]MH_I2C_Read... [23:57:46]Read from MH i2c: E2 FD 00 [23:57:46]MH_I2C_Read... [23:57:46]Read from MH i2c: E2 FD 00 E9 02 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 8D [23:57:46]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [23:57:46]wFMCommunicate OK [23:57:46]wFMCommunicate request_size=4 [23:57:46]MH_SAM_APDU [23:57:46]CAPDU: 80 17 00 00 [23:57:46]Write to MH i2c: E2 08 00 EA 02 80 17 00 00 00 00 00 00 6C [23:57:46]Write i2c OK [23:57:46]MH_I2C_Read... [23:57:46]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:57:46]Read from MH i2c: E2 [23:57:46]MH_I2C_Read... [23:57:46]Read from MH i2c: E2 FD 00 [23:57:46]MH_I2C_Read... [23:57:46]Read from MH i2c: E2 FD 00 EA 02 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 23 [23:57:46]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [23:57:46]wFMCommunicate OK [23:57:46]wFMCommunicate request_size=4 [23:57:46]MH_SAM_APDU [23:57:46]CAPDU: 80 17 00 00 [23:57:46]Write to MH i2c: E2 08 00 EB 02 80 17 00 00 00 00 00 00 6D [23:57:46]Write i2c OK [23:57:46]MH_I2C_Read... [23:57:46]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:57:46]Read from MH i2c: E2 [23:57:46]MH_I2C_Read... [23:57:46]Read from MH i2c: E2 FD 00 [23:57:46]MH_I2C_Read... [23:57:46]Read from MH i2c: E2 FD 00 EB 02 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 DF [23:57:46]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [23:57:46]wFMCommunicate OK [23:57:46]wFMCommunicate request_size=4 [23:57:46]MH_SAM_APDU [23:57:46]CAPDU: 80 17 00 00 [23:57:46]Write to MH i2c: E2 08 00 EC 02 80 17 00 00 00 00 00 00 6E [23:57:46]Write i2c OK [23:57:46]MH_I2C_Read... [23:57:47]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [23:57:47]Read from MH i2c: E2 [23:57:47]MH_I2C_Read... [23:57:47]Read from MH i2c: E2 CB 00 [23:57:47]MH_I2C_Read... [23:57:47]Read from MH i2c: E2 CB 00 EC 02 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 57 [23:57:47]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [23:57:47]wFMCommunicate OK [23:57:47]SAM_PROTO_GetShiftData done [23:57:47]requested_item shift.sale.total_cash is exist - process it [23:57:47]requested_item shift.sale_refund.total is exist - process it [23:57:47]requested_item shift.sale_refund.total_cash is exist - process it [23:57:47]requested_item shift.buy.total is exist - process it [23:57:47]requested_item shift.buy.total_cash is exist - process it [23:57:47]produce_requested_data done [23:57:47]produce_requested_data return {"fm.sale.total":19875729.73,"fm.sale_refund.total":585281.00,"fm.buy.total":0.00,"shift.sale.total":25130.00,"shift.sale.total_cash":18743.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [23:57:47]process_action_free get_value [23:57:47]json_value_free [23:57:47]json_value_free done [23:57:47]process_json_proto returns [23:57:47]Send response to host [23:57:47]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":19875729.73,"fm.sale_refund.total":585281.00,"fm.buy.total":0.00,"shift.sale.total":25130.00,"shift.sale.total_cash":18743.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [23:57:47]free response buf [23:57:47]execute_script done [23:57:47]execute_script returns [23:57:47]free content buf [23:57:47]Sock 9.Close socket [23:57:47]Sock 9.Thread stoped [23:57:47]accept exits with 7 [23:57:47]New connection [23:57:47]New thread 3066797412 created [23:57:47]Thread 3066654052 joined [23:57:47]Waiting for new connection... [23:57:47] Sock 7.Parse request [23:57:47]Sock 7.Check first char [23:57:47]Sock 7.First char is OK [23:57:47]request: POST /json_proto HTTP/1.0 [23:57:47]Method: POST [23:57:47]URL: /json_proto [23:57:47]Method is POST - this is cgi request [23:57:47]url: /json_proto [23:57:47]query_string will be loaded in cgi processing [23:57:47]execute_cgi json_proto POST (null) [23:57:47]execute_cgi path=json_proto method=POST [23:57:47]POST find Content-Length [23:57:47]Host: 172.17.60.69:8080 [23:57:47]Content-Length: 331 [23:57:47]Content-Type: application/json [23:57:47] [23:57:47]POST finish read [23:57:47]Found Content-Length = 331 [23:57:47]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [23:57:47]execute_script... [23:57:47]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [23:57:47]POST & json_proto [23:57:47]process_json_proto [23:57:47]json parsed OK: [23:57:47]protocol is kg_v1.0 [23:57:47]action value=get_value [23:57:47]process_action get_value [23:57:47]cmd_get_value [23:57:47]process_action get_value done [23:57:47]requested_data is exist [23:57:47]produce_requested_data [23:57:47]requested_item fm.sale.total is exist - process it [23:57:47]SAM_PROTO_GetFMData [23:57:47]wFMCommunicate request_size=4 [23:57:47]MH_SAM_APDU [23:57:47]CAPDU: 80 13 03 00 [23:57:47]Write to MH i2c: E2 08 00 ED 02 80 13 03 00 00 00 00 00 6E [23:57:47]Write i2c OK [23:57:47]MH_I2C_Read... [23:57:47]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [23:57:47]Read from MH i2c: E2 [23:57:47]MH_I2C_Read... [23:57:47]Read from MH i2c: E2 FD 00 [23:57:47]MH_I2C_Read... [23:57:47]Read from MH i2c: E2 FD 00 ED 02 00 C5 04 85 04 C1 04 6E 04 04 00 14 F6 00 00 69 04 A1 00 6F 04 04 00 B7 F3 00 00 B1 04 04 00 ED F4 77 76 70 04 04 00 06 9B CB 65 72 04 04 00 E7 59 AC 10 00 04 7D 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 B0 15 95 0C EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0D 00 F6 03 01 00 01 F7 03 04 00 D4 58 0C 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 5D 02 00 00 B1 04 04 00 64 11 7D 03 70 04 04 00 E0 B5 61 03 72 04 03 00 84 5B 1B 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 F2 D8 5E EF 03 09 90 00 ED [23:57:47]RAPDU: C5 04 85 04 C1 04 6E 04 04 00 14 F6 00 00 69 04 A1 00 6F 04 04 00 B7 F3 00 00 B1 04 04 00 ED F4 77 76 70 04 04 00 06 9B CB 65 72 04 04 00 E7 59 AC 10 00 04 7D 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 B0 15 95 0C EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0D 00 F6 03 01 00 01 F7 03 04 00 D4 58 0C 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 5D 02 00 00 B1 04 04 00 64 11 7D 03 70 04 04 00 E0 B5 61 03 72 04 03 00 84 5B 1B 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 F2 D8 5E EF 03 09 90 00 [23:57:47]wFMCommunicate OK [23:57:47]wFMCommunicate request_size=4 [23:57:47]MH_SAM_APDU [23:57:47]CAPDU: 80 17 00 00 [23:57:47]Write to MH i2c: E2 08 00 EE 02 80 17 00 00 00 00 00 00 70 [23:57:47]Write i2c OK [23:57:47]MH_I2C_Read... [23:57:48]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:57:48]Read from MH i2c: E2 [23:57:48]MH_I2C_Read... [23:57:48]Read from MH i2c: E2 FD 00 [23:57:48]MH_I2C_Read... [23:57:48]Read from MH i2c: E2 FD 00 EE 02 00 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 2E E7 07 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 90 00 42 [23:57:48]RAPDU: 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 2E E7 07 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 90 00 [23:57:48]wFMCommunicate OK [23:57:48]wFMCommunicate request_size=4 [23:57:48]MH_SAM_APDU [23:57:48]CAPDU: 80 17 00 00 [23:57:48]Write to MH i2c: E2 08 00 EF 02 80 17 00 00 00 00 00 00 71 [23:57:48]Write i2c OK [23:57:48]MH_I2C_Read... [23:57:48]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:57:48]Read from MH i2c: E2 [23:57:48]MH_I2C_Read... [23:57:48]Read from MH i2c: E2 FD 00 [23:57:48]MH_I2C_Read... [23:57:48]Read from MH i2c: E2 FD 00 EF 02 00 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 90 00 83 [23:57:48]RAPDU: 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 90 00 [23:57:48]wFMCommunicate OK [23:57:48]wFMCommunicate request_size=4 [23:57:48]MH_SAM_APDU [23:57:48]CAPDU: 80 17 00 00 [23:57:48]Write to MH i2c: E2 08 00 F0 02 80 17 00 00 00 00 00 00 72 [23:57:48]Write i2c OK [23:57:48]MH_I2C_Read... [23:57:48]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:57:48]Read from MH i2c: E2 [23:57:48]MH_I2C_Read... [23:57:48]Read from MH i2c: E2 FD 00 [23:57:48]MH_I2C_Read... [23:57:48]Read from MH i2c: E2 FD 00 F0 02 00 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 90 00 FE [23:57:49]RAPDU: 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 90 00 [23:57:49]wFMCommunicate OK [23:57:49]wFMCommunicate request_size=4 [23:57:49]MH_SAM_APDU [23:57:49]CAPDU: 80 17 00 00 [23:57:49]Write to MH i2c: E2 08 00 F1 02 80 17 00 00 00 00 00 00 73 [23:57:49]Write i2c OK [23:57:49]MH_I2C_Read... [23:57:49]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 223! [23:57:49]Read from MH i2c: E2 [23:57:49]MH_I2C_Read... [23:57:49]Read from MH i2c: E2 E2 00 [23:57:49]MH_I2C_Read... [23:57:49]Read from MH i2c: E2 E2 00 F1 02 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 51 [23:57:49]RAPDU: EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [23:57:49]wFMCommunicate OK [23:57:49]SAM_PROTO_GetFMData done [23:57:49]requested_item fm.sale_refund.total is exist - process it [23:57:49]requested_item fm.buy.total is exist - process it [23:57:49]requested_item shift.sale.total is exist - process it [23:57:49]SAM_PROTO_GetShiftData [23:57:49]wFMCommunicate request_size=4 [23:57:49]MH_SAM_APDU [23:57:49]CAPDU: 80 13 02 00 [23:57:49]Write to MH i2c: E2 08 00 F2 02 80 13 02 00 00 00 00 00 72 [23:57:49]Write i2c OK [23:57:49]MH_I2C_Read... [23:57:49]OFD Sender: No OFD packet to send [23:57:49]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [23:57:49]Read from MH i2c: E2 [23:57:49]MH_I2C_Read... [23:57:49]Read from MH i2c: E2 FD 00 [23:57:49]MH_I2C_Read... [23:57:49]Read from MH i2c: E2 FD 00 F2 02 00 AE 04 AA 04 AA 04 6E 04 04 00 80 00 00 00 69 04 9B 00 6F 04 04 00 80 00 00 00 B1 04 03 00 68 58 26 70 04 03 00 7C 99 1C 72 04 03 00 EC BE 09 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 6B 12 04 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 D7 56 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 AB [23:57:49]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 80 00 00 00 69 04 9B 00 6F 04 04 00 80 00 00 00 B1 04 03 00 68 58 26 70 04 03 00 7C 99 1C 72 04 03 00 EC BE 09 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 6B 12 04 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 D7 56 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [23:57:50]wFMCommunicate OK [23:57:50]wFMCommunicate request_size=4 [23:57:50]MH_SAM_APDU [23:57:50]CAPDU: 80 17 00 00 [23:57:50]Write to MH i2c: E2 08 00 F3 02 80 17 00 00 00 00 00 00 75 [23:57:50]Write i2c OK [23:57:50]MH_I2C_Read... [23:57:50]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:57:50]Read from MH i2c: E2 [23:57:50]MH_I2C_Read... [23:57:50]Read from MH i2c: E2 FD 00 [23:57:50]MH_I2C_Read... [23:57:50]Read from MH i2c: E2 FD 00 F3 02 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 97 [23:57:50]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [23:57:50]wFMCommunicate OK [23:57:50]wFMCommunicate request_size=4 [23:57:50]MH_SAM_APDU [23:57:50]CAPDU: 80 17 00 00 [23:57:50]Write to MH i2c: E2 08 00 F4 02 80 17 00 00 00 00 00 00 76 [23:57:50]Write i2c OK [23:57:50]MH_I2C_Read... [23:57:50]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:57:50]Read from MH i2c: E2 [23:57:50]MH_I2C_Read... [23:57:50]Read from MH i2c: E2 FD 00 [23:57:50]MH_I2C_Read... [23:57:50]Read from MH i2c: E2 FD 00 F4 02 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 2D [23:57:50]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [23:57:50]wFMCommunicate OK [23:57:50]wFMCommunicate request_size=4 [23:57:50]MH_SAM_APDU [23:57:50]CAPDU: 80 17 00 00 [23:57:50]Write to MH i2c: E2 08 00 F5 02 80 17 00 00 00 00 00 00 77 [23:57:50]Write i2c OK [23:57:50]MH_I2C_Read... [23:57:51]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:57:51]Read from MH i2c: E2 [23:57:51]MH_I2C_Read... [23:57:51]Read from MH i2c: E2 FD 00 [23:57:51]MH_I2C_Read... [23:57:51]Read from MH i2c: E2 FD 00 F5 02 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 E9 [23:57:51]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [23:57:51]wFMCommunicate OK [23:57:51]wFMCommunicate request_size=4 [23:57:51]MH_SAM_APDU [23:57:51]CAPDU: 80 17 00 00 [23:57:51]Write to MH i2c: E2 08 00 F6 02 80 17 00 00 00 00 00 00 78 [23:57:51]Write i2c OK [23:57:51]MH_I2C_Read... [23:57:51]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [23:57:51]Read from MH i2c: E2 [23:57:51]MH_I2C_Read... [23:57:51]Read from MH i2c: E2 CB 00 [23:57:51]MH_I2C_Read... [23:57:51]Read from MH i2c: E2 CB 00 F6 02 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 61 [23:57:51]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [23:57:51]wFMCommunicate OK [23:57:51]SAM_PROTO_GetShiftData done [23:57:51]requested_item shift.sale.total_cash is exist - process it [23:57:51]requested_item shift.sale_refund.total is exist - process it [23:57:51]requested_item shift.sale_refund.total_cash is exist - process it [23:57:51]requested_item shift.buy.total is exist - process it [23:57:51]requested_item shift.buy.total_cash is exist - process it [23:57:51]produce_requested_data done [23:57:51]produce_requested_data return {"fm.sale.total":19875729.73,"fm.sale_refund.total":585281.00,"fm.buy.total":0.00,"shift.sale.total":25130.00,"shift.sale.total_cash":18743.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [23:57:51]process_action_free get_value [23:57:51]json_value_free [23:57:51]json_value_free done [23:57:51]process_json_proto returns [23:57:51]Send response to host [23:57:51]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":19875729.73,"fm.sale_refund.total":585281.00,"fm.buy.total":0.00,"shift.sale.total":25130.00,"shift.sale.total_cash":18743.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [23:57:51]free response buf [23:57:51]execute_script done [23:57:51]execute_script returns [23:57:51]free content buf [23:57:51]Sock 7.Close socket [23:57:51]Sock 7.Thread stoped [23:57:51]accept exits with 9 [23:57:51]New connection [23:57:51]New thread 3066654052 created [23:57:51]Thread 3066797412 joined [23:57:51]Waiting for new connection... [23:57:51] Sock 9.Parse request [23:57:51]Sock 9.Check first char [23:57:51]Sock 9.First char is OK [23:57:51]request: POST /json_proto HTTP/1.0 [23:57:51]Method: POST [23:57:51]URL: /json_proto [23:57:51]Method is POST - this is cgi request [23:57:51]url: /json_proto [23:57:51]query_string will be loaded in cgi processing [23:57:51]execute_cgi json_proto POST (null) [23:57:51]execute_cgi path=json_proto method=POST [23:57:51]POST find Content-Length [23:57:51]Host: 172.17.60.69:8080 [23:57:51]Content-Length: 283 [23:57:51]Content-Type: application/json [23:57:51] [23:57:51]POST finish read [23:57:51]Found Content-Length = 283 [23:57:51]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_shift", "params" : { "operator" : "\u041A\u043E\u0439\u0433\u0435\u043B\u044C\u0434\u0438\u0435\u0432\u0430 \u0420." } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:57:51]execute_script... [23:57:51]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_shift", "params" : { "operator" : "\u041A\u043E\u0439\u0433\u0435\u043B\u044C\u0434\u0438\u0435\u0432\u0430 \u0420." } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:57:51]POST & json_proto [23:57:51]process_json_proto [23:57:51]json parsed OK: [23:57:51]protocol is kg_v1.0 [23:57:51]action value=close_shift [23:57:51]process_action close_shift [23:57:51]cmd_close_shift [23:57:51]MH_GetDate [23:57:51]Write to MH i2c: F0 00 00 F7 02 E8 [23:57:51]Write i2c OK [23:57:51]MH_I2C_Read... [23:57:51]Read from MH i2c: F0 [23:57:51]MH_I2C_Read... [23:57:51]Read from MH i2c: F0 09 00 [23:57:51]MH_I2C_Read... [23:57:51]Read from MH i2c: F0 09 00 F7 02 00 01 07 5D 66 6A 96 4A 66 6C [23:57:51]GetLastDocTimeStamp 1717372617 [23:57:51]current date 1717372673 [23:57:51]FM_GetShiftState [23:57:51]SAM_PROTO_GetShiftState [23:57:51]wFMCommunicate request_size=4 [23:57:51]MH_SAM_APDU [23:57:51]CAPDU: 80 13 01 00 [23:57:51]Write to MH i2c: E2 08 00 F8 02 80 13 01 00 00 00 00 00 77 [23:57:51]Write i2c OK [23:57:51]MH_I2C_Read... [23:57:51]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:57:51]Read from MH i2c: E2 [23:57:51]MH_I2C_Read... [23:57:51]Read from MH i2c: E2 0E 00 [23:57:51]MH_I2C_Read... [23:57:51]Read from MH i2c: E2 0E 00 F8 02 00 09 00 01 76 BD 5B 66 00 00 00 00 90 00 77 [23:57:51]RAPDU: 09 00 01 76 BD 5B 66 00 00 00 00 90 00 [23:57:51]wFMCommunicate OK [23:57:51]SAM_PROTO_GetShiftState done [23:57:51]FM_GetShiftState done [23:57:51]KKMCreateCloseShiftDocument [23:57:51]Load OK [23:57:51]Malloc new data [23:57:51]MH_GetDate [23:57:51]Write to MH i2c: F0 00 00 F9 02 EA [23:57:51]Write i2c OK [23:57:51]MH_I2C_Read... [23:57:51]Read from MH i2c: F0 [23:57:51]MH_I2C_Read... [23:57:51]Read from MH i2c: F0 09 00 [23:57:51]MH_I2C_Read... [23:57:51]Read from MH i2c: F0 09 00 F9 02 00 01 07 5D 66 6A 96 4A 66 6E [23:57:51]Malloc new data [23:57:51]Malloc new data [23:57:51]Malloc new data [23:57:51]Malloc new data [23:57:51]KKMCreateCloseShiftDocument OK [23:57:51]KKMSetCloseShiftData OK [23:57:51]ProcessDocumentItem done err = 0, tmpTLVsize=78 [23:57:51]tlvbuf is 00914A40 [23:57:51]KKMLoadAndSignCloseShiftData [23:57:51]SAM_PROTO_ProcessDocument [23:57:51]wFMCommunicate request_size=9 [23:57:51]MH_SAM_APDU [23:57:51]CAPDU: 80 15 01 00 04 05 00 4E 00 [23:57:51]Write to MH i2c: E2 0C 00 FA 02 80 15 01 00 04 00 05 00 4E 00 00 00 D6 [23:57:51]Write i2c OK [23:57:51]MH_I2C_Read... [23:57:51]*** iso7816_exchange 80 15 01 00... Resp OK rsp.len_out = 0! [23:57:52]Read from MH i2c: E2 [23:57:52]MH_I2C_Read... [23:57:52]Read from MH i2c: E2 03 00 [23:57:52]MH_I2C_Read... [23:57:52]Read from MH i2c: E2 03 00 FA 02 00 90 00 70 [23:57:52]RAPDU: 90 00 [23:57:52]wFMCommunicate OK [23:57:52]wFMCommunicate request_size=23 [23:57:52]MH_SAM_APDU [23:57:52]CAPDU: 80 15 02 00 12 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 [23:57:52]Write to MH i2c: E2 1A 00 FB 02 80 15 02 00 12 00 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 00 00 72 [23:57:52]Write i2c OK [23:57:52]MH_I2C_Read... [23:57:52]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [23:57:52]Read from MH i2c: E2 [23:57:52]MH_I2C_Read... [23:57:52]Read from MH i2c: E2 03 00 [23:57:52]MH_I2C_Read... [23:57:52]Read from MH i2c: E2 03 00 FB 02 00 90 00 71 [23:57:52]RAPDU: 90 00 [23:57:52]wFMCommunicate OK [23:57:52]wFMCommunicate request_size=37 [23:57:52]MH_SAM_APDU [23:57:52]CAPDU: 80 15 02 00 20 FD 03 1C 00 D0 9A D0 BE D0 B9 D0 B3 D0 B5 D0 BB D1 8C D0 B4 D0 B8 D0 B5 D0 B2 D0 B0 20 D0 A0 2E [23:57:52]Write to MH i2c: E2 28 00 FC 02 80 15 02 00 20 00 FD 03 1C 00 D0 9A D0 BE D0 B9 D0 B3 D0 B5 D0 BB D1 8C D0 B4 D0 B8 D0 B5 D0 B2 D0 B0 20 D0 A0 2E 00 00 9C [23:57:52]Write i2c OK [23:57:52]MH_I2C_Read... [23:57:52]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [23:57:52]Read from MH i2c: E2 [23:57:52]MH_I2C_Read... [23:57:52]Read from MH i2c: E2 03 00 [23:57:52]MH_I2C_Read... [23:57:52]Read from MH i2c: E2 03 00 FC 02 00 90 00 72 [23:57:52]RAPDU: 90 00 [23:57:52]wFMCommunicate OK [23:57:52]wFMCommunicate request_size=13 [23:57:52]MH_SAM_APDU [23:57:52]CAPDU: 80 15 02 00 08 F4 03 04 00 01 07 5D 66 [23:57:52]Write to MH i2c: E2 10 00 FD 02 80 15 02 00 08 00 F4 03 04 00 01 07 5D 66 00 00 55 [23:57:52]Write i2c OK [23:57:52]MH_I2C_Read... [23:57:52]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [23:57:52]Read from MH i2c: E2 [23:57:52]MH_I2C_Read... [23:57:52]Read from MH i2c: E2 03 00 [23:57:52]MH_I2C_Read... [23:57:52]Read from MH i2c: E2 03 00 FD 02 00 90 00 73 [23:57:52]RAPDU: 90 00 [23:57:52]wFMCommunicate OK [23:57:52]wFMCommunicate request_size=25 [23:57:52]MH_SAM_APDU [23:57:52]CAPDU: 80 15 02 00 14 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 33 37 [23:57:52]Write to MH i2c: E2 1C 00 FE 02 80 15 02 00 14 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 33 37 00 00 E5 [23:57:52]Write i2c OK [23:57:52]MH_I2C_Read... [23:57:52]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [23:57:52]Read from MH i2c: E2 [23:57:52]MH_I2C_Read... [23:57:52]Read from MH i2c: E2 03 00 [23:57:52]MH_I2C_Read... [23:57:52]Read from MH i2c: E2 03 00 FE 02 00 90 00 74 [23:57:52]RAPDU: 90 00 [23:57:52]wFMCommunicate OK [23:57:52]wFMCommunicate request_size=4 [23:57:52]MH_SAM_APDU [23:57:52]CAPDU: 80 15 03 00 [23:57:52]Write to MH i2c: E2 08 00 FF 02 80 15 03 00 00 00 00 00 82 [23:57:52]Write i2c OK [23:57:52]MH_I2C_Read... [23:57:52]*** iso7816_exchange 80 15 03 00... Resp OK rsp.len_out = 250! [23:57:52]Read from MH i2c: E2 [23:57:52]MH_I2C_Read... [23:57:52]Read from MH i2c: E2 FD 00 [23:57:52]MH_I2C_Read... [23:57:52]Read from MH i2c: E2 FD 00 FF 02 00 F1 04 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 10 04 04 00 FD F8 00 00 0E 04 04 00 74 01 00 00 5E 04 04 00 80 00 00 00 57 04 04 00 82 00 00 00 AA 04 AA 04 6E 04 04 00 80 00 00 00 69 04 9B 00 6F 04 04 00 80 00 00 00 B1 04 03 00 68 58 26 70 04 03 00 7C 99 1C 72 04 03 00 EC BE 09 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 6B 12 04 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 D7 56 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 90 00 C5 [23:57:53]RAPDU: F1 04 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 10 04 04 00 FD F8 00 00 0E 04 04 00 74 01 00 00 5E 04 04 00 80 00 00 00 57 04 04 00 82 00 00 00 AA 04 AA 04 6E 04 04 00 80 00 00 00 69 04 9B 00 6F 04 04 00 80 00 00 00 B1 04 03 00 68 58 26 70 04 03 00 7C 99 1C 72 04 03 00 EC BE 09 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 6B 12 04 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 D7 56 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 90 00 [23:57:53]wFMCommunicate OK [23:57:53]SAM_PROTO_ProcessDocument answer len = 1265 [23:57:53]SAM_PROTO_ProcessDocument remain to read = 1017 [23:57:53]wFMCommunicate request_size=4 [23:57:53]MH_SAM_APDU [23:57:53]CAPDU: 80 17 00 00 [23:57:53]Write to MH i2c: E2 08 00 00 03 80 17 00 00 00 00 00 00 83 [23:57:53]Write i2c OK [23:57:53]MH_I2C_Read... [23:57:53]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:57:53]Read from MH i2c: E2 [23:57:53]MH_I2C_Read... [23:57:53]Read from MH i2c: E2 FD 00 [23:57:53]MH_I2C_Read... [23:57:53]Read from MH i2c: E2 FD 00 00 03 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 90 00 CC [23:57:53]RAPDU: 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 90 00 [23:57:53]wFMCommunicate OK [23:57:53]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [23:57:53]SAM_PROTO_ProcessDocument remain to read = 767 [23:57:53]wFMCommunicate request_size=4 [23:57:53]MH_SAM_APDU [23:57:53]CAPDU: 80 17 00 00 [23:57:53]Write to MH i2c: E2 08 00 01 03 80 17 00 00 00 00 00 00 84 [23:57:53]Write i2c OK [23:57:53]MH_I2C_Read... [23:57:53]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:57:53]Read from MH i2c: E2 [23:57:53]MH_I2C_Read... [23:57:53]Read from MH i2c: E2 FD 00 [23:57:53]MH_I2C_Read... [23:57:53]Read from MH i2c: E2 FD 00 01 03 00 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 90 00 E6 [23:57:53]RAPDU: 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 90 00 [23:57:54]wFMCommunicate OK [23:57:54]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [23:57:54]SAM_PROTO_ProcessDocument remain to read = 517 [23:57:54]wFMCommunicate request_size=4 [23:57:54]MH_SAM_APDU [23:57:54]CAPDU: 80 17 00 00 [23:57:54]Write to MH i2c: E2 08 00 02 03 80 17 00 00 00 00 00 00 85 [23:57:54]Write i2c OK [23:57:54]MH_I2C_Read... [23:57:54]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:57:54]Read from MH i2c: E2 [23:57:54]MH_I2C_Read... [23:57:54]Read from MH i2c: E2 FD 00 [23:57:54]MH_I2C_Read... [23:57:54]Read from MH i2c: E2 FD 00 02 03 00 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 90 00 0F [23:57:54]RAPDU: 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 90 00 [23:57:54]wFMCommunicate OK [23:57:54]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [23:57:54]SAM_PROTO_ProcessDocument remain to read = 267 [23:57:54]wFMCommunicate request_size=4 [23:57:54]MH_SAM_APDU [23:57:54]CAPDU: 80 17 00 00 [23:57:54]Write to MH i2c: E2 08 00 03 03 80 17 00 00 00 00 00 00 86 [23:57:54]Write i2c OK [23:57:54]MH_I2C_Read... [23:57:54]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:57:54]Read from MH i2c: E2 [23:57:54]MH_I2C_Read... [23:57:54]Read from MH i2c: E2 FD 00 [23:57:54]MH_I2C_Read... [23:57:54]Read from MH i2c: E2 FD 00 03 03 00 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 90 00 4E [23:57:54]RAPDU: 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE OFD Sender: No OFD packet to send [23:57:55]03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 90 00 [23:57:55]wFMCommunicate OK [23:57:55]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [23:57:55]SAM_PROTO_ProcessDocument remain to read = 17 [23:57:55]wFMCommunicate request_size=4 [23:57:55]MH_SAM_APDU [23:57:55]CAPDU: 80 17 00 00 [23:57:55]Write to MH i2c: E2 08 00 04 03 80 17 00 00 00 00 00 00 87 [23:57:55]Write i2c OK [23:57:55]MH_I2C_Read... [23:57:55]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 17! [23:57:55]Read from MH i2c: E2 [23:57:55]MH_I2C_Read... [23:57:55]Read from MH i2c: E2 14 00 [23:57:55]MH_I2C_Read... [23:57:55]Read from MH i2c: E2 14 00 04 03 00 01 00 06 F7 03 00 00 35 04 06 00 51 C2 E6 42 B8 8E 90 00 4D [23:57:55]RAPDU: 01 00 06 F7 03 00 00 35 04 06 00 51 C2 E6 42 B8 8E 90 00 [23:57:55]wFMCommunicate OK [23:57:55]SAM_PROTO_ProcessDocument received (without SW) 17 bytes [23:57:55]SAM_PROTO_ProcessDocument done [23:57:55]1209 (1) - 1.0 - номер версии ФФД [23:57:55]1041 (16) - 0000000000875074 - номер ФМ [23:57:55]1040 (4) - 63741 - номер ФД [23:57:55]1038 (4) - 372 - номер смены [23:57:55]1118 (4) - 128 - количество кассовых чеков за смену [23:57:55]1111 (4) - 130 - общее количество ФД за смену [23:57:55]1194 (1194) - счетчики итогов смены [23:57:55] 1134 (4) - 128 - количество чеков со всеми признаками расчетов [23:57:55] 1129 (155) - счетчики операций «приход» [23:57:55] 1135 (4) - 128 - количество чеков по признаку расчетов [23:57:55] 1201 (3) - 25130.00 - общая итоговая сумма в чеках [23:57:55] 1136 (3) - 18743.00 - итоговая сумма в чеках наличными [23:57:55] 1138 (3) - 6387.00 - итоговая сумма в чеках безналичными [23:57:55] 1024 (122) - суммы налогов [23:57:55] 1006 (9) - суммы НДС [23:57:55] 1010 (1) - 0% - код ставки НДС [23:57:55] 1011 (0) - 0.00 - сумма НДС по ставке [23:57:55] 1006 (12) - суммы НДС [23:57:55] 1010 (1) - 12% - код ставки НДС [23:57:55] 1011 (3) - 2668.59 - сумма НДС по ставке [23:57:55] 1007 (9) - суммы НСП [23:57:55] 1014 (1) - 0% - код ставки НСП [23:57:55] 1015 (0) - 0.00 - сумма НСП по ставке [23:57:55] 1007 (11) - суммы НСП [23:57:55] 1014 (1) - 1% - код ставки НСП [23:57:55] 1015 (2) - 222.31 - сумма НСП по ставке [23:57:55] 1007 (9) - суммы НСП [23:57:55] 1014 (1) - 2% - код ставки НСП [23:57:55] 1015 (0) - 0.00 - сумма НСП по ставке [23:57:55] 1007 (9) - суммы НСП [23:57:55] 1014 (1) - 3% - код ставки НСП [23:57:55] 1015 (0) - 0.00 - сумма НСП по ставке [23:57:55] 1007 (9) - суммы НСП [23:57:55] 1014 (1) - 5% - код ставки НСП [23:57:55] 1015 (0) - 0.00 - сумма НСП по ставке [23:57:55] 1007 (9) - суммы НСП [23:57:55] 1014 (1) - 0,50% - код ставки НСП [23:57:55] 1015 (0) - 0.00 - сумма НСП по ставке [23:57:55] 1007 (9) - суммы НСП [23:57:55] 1014 (1) - 1,50% - код ставки НСП [23:57:55] 1015 (0) - 0.00 - сумма НСП по ставке [23:57:55] 1130 (141) - счетчики операций «возврат прихода» [23:57:55] 1135 (4) - 0 - количество чеков по признаку расчетов [23:57:55] 1201 (0) - 0.00 - общая итоговая сумма в чеках [23:57:55] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [23:57:55] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [23:57:55] 1024 (117) - суммы налогов [23:57:55] 1006 (9) - суммы НДС [23:57:55] 1010 (1) - 0% - код ставки НДС [23:57:55] 1011 (0) - 0.00 - сумма НДС по ставке [23:57:55] 1006 (9) - суммы НДС [23:57:55] 1010 (1) - 12% - код ставки НДС [23:57:55] 1011 (0) - 0.00 - сумма НДС по ставке [23:57:55] 1007 (9) - суммы НСП [23:57:55] 1014 (1) - 0% - код ставки НСП [23:57:55] 1015 (0) - 0.00 - сумма НСП по ставке [23:57:55] 1007 (9) - суммы НСП [23:57:55] 1014 (1) - 1% - код ставки НСП [23:57:55] 1015 (0) - 0.00 - сумма НСП по ставке [23:57:55] 1007 (9) - суммы НСП [23:57:55] 1014 (1) - 2% - код ставки НСП [23:57:55] 1015 (0) - 0.00 - сумма НСП по ставке [23:57:55] 1007 (9) - суммы НСП [23:57:55] 1014 (1) - 3% - код ставки НСП [23:57:55] 1015 (0) - 0.00 - сумма НСП по ставке [23:57:55] 1007 (9) - суммы НСП [23:57:55] 1014 (1) - 5% - код ставки НСП [23:57:55] 1015 (0) - 0.00 - сумма НСП по ставке [23:57:55] 1007 (9) - суммы НСП [23:57:55] 1014 (1) - 0,50% - код ставки НСП [23:57:55] 1015 (0) - 0.00 - сумма НСП по ставке [23:57:55] 1007 (9) - суммы НСП [23:57:55] 1014 (1) - 1,50% - код ставки НСП [23:57:55] 1015 (0) - 0.00 - сумма НСП по ставке [23:57:55] 1131 (141) - счетчики операций «расход» [23:57:55] 1135 (4) - 0 - количество чеков по признаку расчетов [23:57:55] 1201 (0) - 0.00 - общая итоговая сумма в чеках [23:57:55] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [23:57:55] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [23:57:55] 1024 (117) - суммы налогов [23:57:55] 1006 (9) - суммы НДС [23:57:55] 1010 (1) - 0% - код ставки НДС [23:57:55] 1011 (0) - 0.00 - сумма НДС по ставке [23:57:55] 1006 (9) - суммы НДС [23:57:55] 1010 (1) - 12% - код ставки НДС [23:57:55] 1011 (0) - 0.00 - сумма НДС по ставке [23:57:55] 1007 (9) - суммы НСП [23:57:55] 1014 (1) - 0% - код ставки НСП [23:57:55] 1015 (0) - 0.00 - сумма НСП по ставке [23:57:55] 1007 (9) - суммы НСП [23:57:55] 1014 (1) - 1% - код ставки НСП [23:57:55] 1015 (0) - 0.00 - сумма НСП по ставке [23:57:55] 1007 (9) - суммы НСП [23:57:55] 1014 (1) - 2% - код ставки НСП [23:57:55] 1015 (0) - 0.00 - сумма НСП по ставке [23:57:55] 1007 (9) - суммы НСП [23:57:55] 1014 (1) - 3% - код ставки НСП [23:57:55] 1015 (0) - 0.00 - сумма НСП по ставке [23:57:55] 1007 (9) - суммы НСП [23:57:55] 1014 (1) - 5% - код ставки НСП [23:57:55] 1015 (0) - 0.00 - сумма НСП по ставке [23:57:55] 1007 (9) - суммы НСП [23:57:55] 1014 (1) - 0,50% - код ставки НСП [23:57:55] 1015 (0) - 0.00 - сумма НСП по ставке [23:57:55] 1007 (9) - суммы НСП [23:57:55] 1014 (1) - 1,50% - код ставки НСП [23:57:55] 1015 (0) - 0.00 - сумма НСП по ставке [23:57:55] 1132 (141) - счетчики операций «возврат расхода» [23:57:55] 1135 (4) - 0 - количество чеков по признаку расчетов [23:57:55] 1201 (0) - 0.00 - общая итоговая сумма в чеках [23:57:55] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [23:57:55] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [23:57:55] 1024 (117) - суммы налогов [23:57:55] 1006 (9) - суммы НДС [23:57:55] 1010 (1) - 0% - код ставки НДС [23:57:55] 1011 (0) - 0.00 - сумма НДС по ставке [23:57:55] 1006 (9) - суммы НДС [23:57:55] 1010 (1) - 12% - код ставки НДС [23:57:55] 1011 (0) - 0.00 - сумма НДС по ставке [23:57:55] 1007 (9) - суммы НСП [23:57:55] 1014 (1) - 0% - код ставки НСП [23:57:55] 1015 (0) - 0.00 - сумма НСП по ставке [23:57:55] 1007 (9) - суммы НСП [23:57:55] 1014 (1) - 1% - код ставки НСП [23:57:55] 1015 (0) - 0.00 - сумма НСП по ставке [23:57:55] 1007 (9) - суммы НСП [23:57:55] 1014 (1) - 2% - код ставки НСП [23:57:55] 1015 (0) - 0.00 - сумма НСП по ставке [23:57:55] 1007 (9) - суммы НСП [23:57:55] 1014 (1) - 3% - код ставки НСП [23:57:55] 1015 (0) - 0.00 - сумма НСП по ставке [23:57:55] 1007 (9) - суммы НСП [23:57:55] 1014 (1) - 5% - код ставки НСП [23:57:55] 1015 (0) - 0.00 - сумма НСП по ставке [23:57:55] 1007 (9) - суммы НСП [23:57:55] 1014 (1) - 0,50% - код ставки НСП [23:57:55] 1015 (0) - 0.00 - сумма НСП по ставке [23:57:55] 1007 (9) - суммы НСП [23:57:55] 1014 (1) - 1,50% - код ставки НСП [23:57:55] 1015 (0) - 0.00 - сумма НСП по ставке [23:57:55] 1133 (588) - - счетчики коррекции - не используются [23:57:55]1077 (6) - 89897528637582 - ФПД [23:57:55]SetTLVBufToDocument [23:57:55]Processing tag 1209 (04B9) [23:57:55]Malloc new data [23:57:55]Processing tag 1041 (0411) [23:57:55]Processing tag 1040 (0410) [23:57:55]Malloc new data [23:57:55]Processing tag 1038 (040E) [23:57:55]Malloc new data [23:57:55]Processing tag 1118 (045E) [23:57:55]Malloc new data [23:57:55]Processing tag 1111 (0457) [23:57:55]Malloc new data [23:57:55]Processing tag 1194 (04AA) [23:57:55]Load OK [23:57:55]SetTLVBufToDocument [23:57:55]Processing tag 1134 (046E) [23:57:55]Malloc new data [23:57:55]Processing tag 1129 (0469) [23:57:55]Load OK [23:57:55]SetTLVBufToDocument [23:57:55]Processing tag 1135 (046F) [23:57:55]Malloc new data [23:57:55]Processing tag 1201 (04B1) [23:57:55]Malloc new data [23:57:55]Processing tag 1136 (0470) [23:57:55]Malloc new data [23:57:55]Processing tag 1138 (0472) [23:57:55]Malloc new data [23:57:55]Processing tag 1024 (0400) [23:57:55]Load OK [23:57:55]SetTLVBufToDocument [23:57:55]Processing tag 1006 (03EE) [23:57:55]Load OK [23:57:55]SetTLVBufToDocument [23:57:55]Processing tag 1010 (03F2) [23:57:55]Malloc new data [23:57:55]Processing tag 1011 (03F3) [23:57:55]Malloc new data [23:57:55]SetTLVBufToDocument err=0 [23:57:55]Processing tag 1006 (03EE) [23:57:55]Load OK [23:57:55]SetTLVBufToDocument [23:57:55]Processing tag 1010 (03F2) [23:57:55]Malloc new data [23:57:55]Processing tag 1011 (03F3) [23:57:55]Malloc new data [23:57:55]SetTLVBufToDocument err=0 [23:57:55]Processing tag 1007 (03EF) [23:57:55]Load OK [23:57:55]SetTLVBufToDocument [23:57:55]Processing tag 1014 (03F6) [23:57:55]Malloc new data [23:57:55]Processing tag 1015 (03F7) [23:57:55]Malloc new data [23:57:55]SetTLVBufToDocument err=0 [23:57:55]Processing tag 1007 (03EF) [23:57:55]Load OK [23:57:55]SetTLVBufToDocument [23:57:55]Processing tag 1014 (03F6) [23:57:55]Malloc new data [23:57:55]Processing tag 1015 (03F7) [23:57:55]Malloc new data [23:57:55]SetTLVBufToDocument err=0 [23:57:55]Processing tag 1007 (03EF) [23:57:55]Load OK [23:57:55]SetTLVBufToDocument [23:57:55]Processing tag 1014 (03F6) [23:57:55]Malloc new data [23:57:55]Processing tag 1015 (03F7) [23:57:55]Malloc new data [23:57:55]SetTLVBufToDocument err=0 [23:57:55]Processing tag 1007 (03EF) [23:57:55]Load OK [23:57:55]SetTLVBufToDocument [23:57:55]Processing tag 1014 (03F6) [23:57:55]Malloc new data [23:57:55]Processing tag 1015 (03F7) [23:57:55]Malloc new data [23:57:55]SetTLVBufToDocument err=0 [23:57:55]Processing tag 1007 (03EF) [23:57:55]Load OK [23:57:55]SetTLVBufToDocument [23:57:55]Processing tag 1014 (03F6) [23:57:55]Malloc new data [23:57:55]Processing tag 1015 (03F7) [23:57:55]Malloc new data [23:57:55]SetTLVBufToDocument err=0 [23:57:55]Processing tag 1007 (03EF) [23:57:55]Load OK [23:57:55]SetTLVBufToDocument [23:57:55]Processing tag 1014 (03F6) [23:57:55]Malloc new data [23:57:55]Processing tag 1015 (03F7) [23:57:55]Malloc new data [23:57:55]SetTLVBufToDocument err=0 [23:57:55]Processing tag 1007 (03EF) [23:57:55]Load OK [23:57:55]SetTLVBufToDocument [23:57:55]Processing tag 1014 (03F6) [23:57:55]Malloc new data [23:57:55]Processing tag 1015 (03F7) [23:57:55]Malloc new data [23:57:55]SetTLVBufToDocument err=0 [23:57:55]SetTLVBufToDocument err=0 [23:57:55]SetTLVBufToDocument err=0 [23:57:55]Processing tag 1130 (046A) [23:57:55]Load OK [23:57:55]SetTLVBufToDocument [23:57:55]Processing tag 1135 (046F) [23:57:55]Malloc new data [23:57:55]Processing tag 1201 (04B1) [23:57:55]Malloc new data [23:57:55]Processing tag 1136 (0470) [23:57:55]Malloc new data [23:57:55]Processing tag 1138 (0472) [23:57:55]Malloc new data [23:57:55]Processing tag 1024 (0400) [23:57:55]Load OK [23:57:55]SetTLVBufToDocument [23:57:55]Processing tag 1006 (03EE) [23:57:55]Load OK [23:57:55]SetTLVBufToDocument [23:57:55]Processing tag 1010 (03F2) [23:57:55]Malloc new data [23:57:55]Processing tag 1011 (03F3) [23:57:55]Malloc new data [23:57:55]SetTLVBufToDocument err=0 [23:57:55]Processing tag 1006 (03EE) [23:57:55]Load OK [23:57:55]SetTLVBufToDocument [23:57:55]Processing tag 1010 (03F2) [23:57:55]Malloc new data [23:57:55]Processing tag 1011 (03F3) [23:57:55]Malloc new data [23:57:55]SetTLVBufToDocument err=0 [23:57:55]Processing tag 1007 (03EF) [23:57:55]Load OK [23:57:55]SetTLVBufToDocument [23:57:55]Processing tag 1014 (03F6) [23:57:55]Malloc new data [23:57:55]Processing tag 1015 (03F7) [23:57:55]Malloc new data [23:57:55]SetTLVBufToDocument err=0 [23:57:55]Processing tag 1007 (03EF) [23:57:55]Load OK [23:57:55]SetTLVBufToDocument [23:57:55]Processing tag 1014 (03F6) [23:57:55]Malloc new data [23:57:55]Processing tag 1015 (03F7) [23:57:55]Malloc new data [23:57:55]SetTLVBufToDocument err=0 [23:57:55]Processing tag 1007 (03EF) [23:57:55]Load OK [23:57:55]SetTLVBufToDocument [23:57:55]Processing tag 1014 (03F6) [23:57:55]Malloc new data [23:57:55]Processing tag 1015 (03F7) [23:57:55]Malloc new data [23:57:55]SetTLVBufToDocument err=0 [23:57:55]Processing tag 1007 (03EF) [23:57:55]Load OK [23:57:55]SetTLVBufToDocument [23:57:55]Processing tag 1014 (03F6) [23:57:55]Malloc new data [23:57:55]Processing tag 1015 (03F7) [23:57:55]Malloc new data [23:57:55]SetTLVBufToDocument err=0 [23:57:55]Processing tag 1007 (03EF) [23:57:55]Load OK [23:57:55]SetTLVBufToDocument [23:57:55]Processing tag 1014 (03F6) [23:57:55]Malloc new data [23:57:55]Processing tag 1015 (03F7) [23:57:55]Malloc new data [23:57:55]SetTLVBufToDocument err=0 [23:57:55]Processing tag 1007 (03EF) [23:57:55]Load OK [23:57:55]SetTLVBufToDocument [23:57:55]Processing tag 1014 (03F6) [23:57:55]Malloc new data [23:57:55]Processing tag 1015 (03F7) [23:57:55]Malloc new data [23:57:55]SetTLVBufToDocument err=0 [23:57:55]Processing tag 1007 (03EF) [23:57:55]Load OK [23:57:55]SetTLVBufToDocument [23:57:55]Processing tag 1014 (03F6) [23:57:55]Malloc new data [23:57:55]Processing tag 1015 (03F7) [23:57:55]Malloc new data [23:57:55]SetTLVBufToDocument err=0 [23:57:55]SetTLVBufToDocument err=0 [23:57:55]SetTLVBufToDocument err=0 [23:57:55]Processing tag 1131 (046B) [23:57:55]Load OK [23:57:55]SetTLVBufToDocument [23:57:55]Processing tag 1135 (046F) [23:57:55]Malloc new data [23:57:55]Processing tag 1201 (04B1) [23:57:55]Malloc new data [23:57:55]Processing tag 1136 (0470) [23:57:55]Malloc new data [23:57:55]Processing tag 1138 (0472) [23:57:55]Malloc new data [23:57:55]Processing tag 1024 (0400) [23:57:55]Load OK [23:57:55]SetTLVBufToDocument [23:57:55]Processing tag 1006 (03EE) [23:57:55]Load OK [23:57:55]SetTLVBufToDocument [23:57:55]Processing tag 1010 (03F2) [23:57:55]Malloc new data [23:57:55]Processing tag 1011 (03F3) [23:57:55]Malloc new data [23:57:55]SetTLVBufToDocument err=0 [23:57:55]Processing tag 1006 (03EE) [23:57:55]Load OK [23:57:55]SetTLVBufToDocument [23:57:55]Processing tag 1010 (03F2) [23:57:55]Malloc new data [23:57:55]Processing tag 1011 (03F3) [23:57:55]Malloc new data [23:57:55]SetTLVBufToDocument err=0 [23:57:55]Processing tag 1007 (03EF) [23:57:55]Load OK [23:57:55]SetTLVBufToDocument [23:57:55]Processing tag 1014 (03F6) [23:57:55]Malloc new data [23:57:55]Processing tag 1015 (03F7) [23:57:55]Malloc new data [23:57:55]SetTLVBufToDocument err=0 [23:57:55]Processing tag 1007 (03EF) [23:57:55]Load OK [23:57:55]SetTLVBufToDocument [23:57:55]Processing tag 1014 (03F6) [23:57:55]Malloc new data [23:57:55]Processing tag 1015 (03F7) [23:57:55]Malloc new data [23:57:55]SetTLVBufToDocument err=0 [23:57:55]Processing tag 1007 (03EF) [23:57:55]Load OK [23:57:55]SetTLVBufToDocument [23:57:55]Processing tag 1014 (03F6) [23:57:55]Malloc new data [23:57:55]Processing tag 1015 (03F7) [23:57:55]Malloc new data [23:57:55]SetTLVBufToDocument err=0 [23:57:55]Processing tag 1007 (03EF) [23:57:55]Load OK [23:57:55]SetTLVBufToDocument [23:57:55]Processing tag 1014 (03F6) [23:57:55]Malloc new data [23:57:55]Processing tag 1015 (03F7) [23:57:55]Malloc new data [23:57:55]SetTLVBufToDocument err=0 [23:57:55]Processing tag 1007 (03EF) [23:57:55]Load OK [23:57:56]SetTLVBufToDocument [23:57:56]Processing tag 1014 (03F6) [23:57:56]Malloc new data [23:57:56]Processing tag 1015 (03F7) [23:57:56]Malloc new data [23:57:56]SetTLVBufToDocument err=0 [23:57:56]Processing tag 1007 (03EF) [23:57:56]Load OK [23:57:56]SetTLVBufToDocument [23:57:56]Processing tag 1014 (03F6) [23:57:56]Malloc new data [23:57:56]Processing tag 1015 (03F7) [23:57:56]Malloc new data [23:57:56]SetTLVBufToDocument err=0 [23:57:56]Processing tag 1007 (03EF) [23:57:56]Load OK [23:57:56]SetTLVBufToDocument [23:57:56]Processing tag 1014 (03F6) [23:57:56]Malloc new data [23:57:56]Processing tag 1015 (03F7) [23:57:56]Malloc new data [23:57:56]SetTLVBufToDocument err=0 [23:57:56]SetTLVBufToDocument err=0 [23:57:56]SetTLVBufToDocument err=0 [23:57:56]Processing tag 1132 (046C) [23:57:56]Load OK [23:57:56]SetTLVBufToDocument [23:57:56]Processing tag 1135 (046F) [23:57:56]Malloc new data [23:57:56]Processing tag 1201 (04B1) [23:57:56]Malloc new data [23:57:56]Processing tag 1136 (0470) [23:57:56]Malloc new data [23:57:56]Processing tag 1138 (0472) [23:57:56]Malloc new data [23:57:56]Processing tag 1024 (0400) [23:57:56]Load OK [23:57:56]SetTLVBufToDocument [23:57:56]Processing tag 1006 (03EE) [23:57:56]Load OK [23:57:56]SetTLVBufToDocument [23:57:56]Processing tag 1010 (03F2) [23:57:56]Malloc new data [23:57:56]Processing tag 1011 (03F3) [23:57:56]Malloc new data [23:57:56]SetTLVBufToDocument err=0 [23:57:56]Processing tag 1006 (03EE) [23:57:56]Load OK [23:57:56]SetTLVBufToDocument [23:57:56]Processing tag 1010 (03F2) [23:57:56]Malloc new data [23:57:56]Processing tag 1011 (03F3) [23:57:56]Malloc new data [23:57:56]SetTLVBufToDocument err=0 [23:57:56]Processing tag 1007 (03EF) [23:57:56]Load OK [23:57:56]SetTLVBufToDocument [23:57:56]Processing tag 1014 (03F6) [23:57:56]Malloc new data [23:57:56]Processing tag 1015 (03F7) [23:57:56]Malloc new data [23:57:56]SetTLVBufToDocument err=0 [23:57:56]Processing tag 1007 (03EF) [23:57:56]Load OK [23:57:56]SetTLVBufToDocument [23:57:56]Processing tag 1014 (03F6) [23:57:56]Malloc new data [23:57:56]Processing tag 1015 (03F7) [23:57:56]Malloc new data [23:57:56]SetTLVBufToDocument err=0 [23:57:56]Processing tag 1007 (03EF) [23:57:56]Load OK [23:57:56]SetTLVBufToDocument [23:57:56]Processing tag 1014 (03F6) [23:57:56]Malloc new data [23:57:56]Processing tag 1015 (03F7) [23:57:56]Malloc new data [23:57:56]SetTLVBufToDocument err=0 [23:57:56]Processing tag 1007 (03EF) [23:57:56]Load OK [23:57:56]SetTLVBufToDocument [23:57:56]Processing tag 1014 (03F6) [23:57:56]Malloc new data [23:57:56]Processing tag 1015 (03F7) [23:57:56]Malloc new data [23:57:56]SetTLVBufToDocument err=0 [23:57:56]Processing tag 1007 (03EF) [23:57:56]Load OK [23:57:56]SetTLVBufToDocument [23:57:56]Processing tag 1014 (03F6) [23:57:56]Malloc new data [23:57:56]Processing tag 1015 (03F7) [23:57:56]Malloc new data [23:57:56]SetTLVBufToDocument err=0 [23:57:56]Processing tag 1007 (03EF) [23:57:56]Load OK [23:57:56]SetTLVBufToDocument [23:57:56]Processing tag 1014 (03F6) [23:57:56]Malloc new data [23:57:56]Processing tag 1015 (03F7) [23:57:56]Malloc new data [23:57:56]SetTLVBufToDocument err=0 [23:57:56]Processing tag 1007 (03EF) [23:57:56]Load OK [23:57:56]SetTLVBufToDocument [23:57:56]Processing tag 1014 (03F6) [23:57:56]Malloc new data [23:57:56]Processing tag 1015 (03F7) [23:57:56]Malloc new data [23:57:56]SetTLVBufToDocument err=0 [23:57:56]SetTLVBufToDocument err=0 [23:57:56]SetTLVBufToDocument err=0 [23:57:56]Processing tag 1133 (046D) [23:57:56]Malloc new data [23:57:56]SetTLVBufToDocument err=0 [23:57:56]Processing tag 1077 (0435) [23:57:56]Malloc new data [23:57:56]SetTLVBufToDocument err=0 [23:57:56]Malloc new data [23:57:56]SAM_PROTO_GetFMData [23:57:56]wFMCommunicate request_size=4 [23:57:56]MH_SAM_APDU [23:57:56]CAPDU: 80 13 03 00 [23:57:56]Write to MH i2c: E2 08 00 05 03 80 13 03 00 00 00 00 00 87 [23:57:56]Write i2c OK [23:57:56]MH_I2C_Read... [23:57:56]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [23:57:56]Read from MH i2c: E2 [23:57:56]MH_I2C_Read... [23:57:56]Read from MH i2c: E2 FD 00 [23:57:56]MH_I2C_Read... [23:57:56]Read from MH i2c: E2 FD 00 05 03 00 C5 04 85 04 C1 04 6E 04 04 00 14 F6 00 00 69 04 A1 00 6F 04 04 00 B7 F3 00 00 B1 04 04 00 ED F4 77 76 70 04 04 00 06 9B CB 65 72 04 04 00 E7 59 AC 10 00 04 7D 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 B0 15 95 0C EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0D 00 F6 03 01 00 01 F7 03 04 00 D4 58 0C 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 5D 02 00 00 B1 04 04 00 64 11 7D 03 70 04 04 00 E0 B5 61 03 72 04 03 00 84 5B 1B 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 F2 D8 5E EF 03 09 90 00 06 [23:57:56]RAPDU: C5 04 85 04 C1 04 6E 04 04 00 14 F6 00 00 69 04 A1 00 6F 04 04 00 B7 F3 00 00 B1 04 04 00 ED F4 77 76 70 04 04 00 06 9B CB 65 72 04 04 00 E7 59 AC 10 00 04 7D 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 B0 15 95 0C EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0D 00 F6 03 01 00 01 F7 03 04 00 D4 58 0C 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 5D 02 00 00 B1 04 04 00 64 11 7D 03 70 04 04 00 E0 B5 61 03 72 04 03 00 84 5B 1B 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 F2 D8 5E EF 03 09 90 00 [23:57:57]wFMCommunicate OK [23:57:57]wFMCommunicate request_size=4 [23:57:57]MH_SAM_APDU [23:57:57]CAPDU: 80 17 00 00 [23:57:57]Write to MH i2c: E2 08 00 06 03 80 17 00 00 00 00 00 00 89 [23:57:57]Write i2c OK [23:57:57]MH_I2C_Read... [23:57:57]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:57:57]Read from MH i2c: E2 [23:57:57]MH_I2C_Read... [23:57:57]Read from MH i2c: E2 FD 00 [23:57:57]MH_I2C_Read... [23:57:57]Read from MH i2c: E2 FD 00 06 03 00 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 2E E7 07 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 90 00 5B [23:57:57]RAPDU: 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 2E E7 07 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 90 00 [23:57:57]wFMCommunicate OK [23:57:57]wFMCommunicate request_size=4 [23:57:57]MH_SAM_APDU [23:57:57]CAPDU: 80 17 00 00 [23:57:57]Write to MH i2c: E2 08 00 07 03 80 17 00 00 00 00 00 00 8A [23:57:57]Write i2c OK [23:57:57]MH_I2C_Read... [23:57:58]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:57:58]Read from MH i2c: E2 [23:57:58]MH_I2C_Read... [23:57:58]Read from MH i2c: E2 FD 00 [23:57:58]MH_I2C_Read... [23:57:58]Read from MH i2c: E2 FD 00 07 03 00 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 90 00 9C [23:57:58]RAPDU: 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 90 00 [23:57:58]wFMCommunicate OK [23:57:58]wFMCommunicate request_size=4 [23:57:58]MH_SAM_APDU [23:57:58]CAPDU: 80 17 00 00 [23:57:58]Write to MH i2c: E2 08 00 08 03 80 17 00 00 00 00 00 00 8B [23:57:58]Write i2c OK [23:57:58]MH_I2C_Read... [23:57:58]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:57:58]Read from MH i2c: E2 [23:57:58]MH_I2C_Read... [23:57:58]Read from MH i2c: E2 FD 00 [23:57:58]MH_I2C_Read... [23:57:58]Read from MH i2c: E2 FD 00 08 03 00 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 90 00 17 [23:57:58]RAPDU: 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 90 00 [23:57:58]wFMCommunicate OK [23:57:58]wFMCommunicate request_size=4 [23:57:58]MH_SAM_APDU [23:57:58]CAPDU: 80 17 00 00 [23:57:58]Write to MH i2c: E2 08 00 09 03 80 17 00 00 00 00 00 00 8C [23:57:58]Write i2c OK [23:57:58]MH_I2C_Read... [23:57:59]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 223! [23:57:59]Read from MH i2c: E2 [23:57:59]MH_I2C_Read... [23:57:59]Read from MH i2c: E2 E2 00 [23:57:59]MH_I2C_Read... [23:57:59]Read from MH i2c: E2 E2 00 09 03 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 6A [23:57:59]RAPDU: EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [23:57:59]wFMCommunicate OK [23:57:59]SAM_PROTO_GetFMData done [23:57:59]Malloc new data [23:57:59]Malloc new data [23:57:59]Malloc new data [23:57:59]Malloc new data [23:57:59]KKMLoadAndSignCloseShiftData err=0 [23:57:59]Отчет о закрытии смены ФФД: 1.0 ИНН: 02508201610067 Кассир: Койгельдиева Р. 02.06.2024 23:57 Смена: 372 РНМ: 0000000000092737 ЗНМ: 0300000031 СНО: Общий режим Чеков за смену: 128 ФД за смену: 130 Всего чеков: 128 ИТОГИ ПРИХОД Чеков: 128 Общий итог: 25130.00 Итого наличными: 18743.00 Итого безнал.: 6387.00 НДС 0% : 0.00 НДС 12% : 2668.59 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 222.31 ИТОГИ ВОЗВРАТ ПРИХОДА Чеков: 0 Общий итог: 0.00 Итого наличными: 0.00 Итого безнал.: 0.00 НДС 0% : 0.00 НДС 12% : 0.00 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 0.00 ИТОГИ РАСХОД Чеков: 0 Общий итог: 0.00 Итого наличными: 0.00 Итого безнал.: 0.00 НДС 0% : 0.00 НДС 12% : 0.00 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 0.00 ИТОГИ ВОЗВРАТ РАСХОДА Чеков: 0 Общий итог: 0.00 Итого наличными: 0.00 Итого безнал.: 0.00 НДС 0% : 0.00 НДС 12% : 0.00 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 0.00 Сумма внесений: 0.00 Сумма выплат: 0.00 Нал. в кассе: 18743.00 НС Приход: 19875729.73 НС Возвр.Прихода: 585281.00 НС Расход: 0.00 НС Возвр.Расхода: 0.00 ФД: 63741 ФМ: 0000000000875074 ФПД: 89897528637582 [23:57:59]StoreToDocumentArchive [23:57:59]shift 372 fd 63741 [23:57:59]save to /storage/0372/doc_00063741 [23:57:59]save last doc name /storage/0372/doc_00063741 to /storage/kkm_last_doc_name [23:57:59]save OK [23:57:59]Clear old archive folders... [23:57:59]Remove dir /storage/0266 [23:57:59]opendir ok [23:57:59]file . [23:57:59]file .. [23:57:59]file doc_1717372624 [23:57:59]remove file /storage/0266/doc_1717372624 [23:57:59]remove dir /storage/0266 [23:57:59]NVStorageSaveData kkm_registers [23:57:59]File name is /storage/kkm_registers [23:57:59]Write 24 bytes [23:57:59]NVStorageSaveData done [23:57:59]NVStorageSaveData kkm_registers [23:57:59]File name is /storage/kkm_registers [23:57:59]Write 24 bytes [23:57:59]NVStorageSaveData done [23:57:59]ProcessDocumentItem done err = 0, tmpTLVsize=1386 [23:57:59]tlvbuf is 008A4E90 [23:57:59]SAM_PROTO_ClearQueue [23:57:59]wFMCommunicate request_size=4 [23:57:59]MH_SAM_APDU [23:57:59]CAPDU: 80 09 00 00 [23:57:59]Write to MH i2c: E2 08 00 0A 03 80 09 00 00 00 00 00 00 7F [23:57:59]Write i2c OK [23:57:59]MH_I2C_Read... [23:57:59]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [23:57:59]Read from MH i2c: E2 [23:57:59]MH_I2C_Read... [23:57:59]Read from MH i2c: E2 03 00 [23:57:59]MH_I2C_Read... [23:57:59]Read from MH i2c: E2 03 00 0A 03 00 90 00 81 [23:57:59]RAPDU: 90 00 [23:57:59]wFMCommunicate OK [23:57:59]SAM_PROTO_ClearQueue done [23:57:59]KKMCreateOFDPacket [23:57:59]OFDProtocolAddRootSTLVToBuf [23:57:59]FM_MakeSignedData [23:57:59]FM_MakeSignedData [23:57:59]SAM_PROTO_SignData [23:57:59]wFMCommunicate request_size=4 [23:57:59]MH_SAM_APDU [23:57:59]CAPDU: 80 0D 01 02 [23:57:59]Write to MH i2c: E2 08 00 0B 03 80 0D 01 02 00 00 00 00 87 [23:57:59]Write i2c OK [23:57:59]MH_I2C_Read... [23:57:59]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [23:57:59]Read from MH i2c: E2 [23:57:59]MH_I2C_Read... [23:57:59]Read from MH i2c: E2 03 00 [23:57:59]MH_I2C_Read... [23:57:59]Read from MH i2c: E2 03 00 0B 03 00 90 00 82 [23:57:59]RAPDU: 90 00 [23:57:59]wFMCommunicate OK [23:57:59]wFMCommunicate request_size=255 [23:57:59]MH_SAM_APDU [23:57:59]CAPDU: 80 0D 02 02 FA 05 00 6A 05 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 1C 00 D0 9A D0 BE D0 B9 D0 B3 D0 B5 D0 BB D1 8C D0 B4 D0 B8 D0 B5 D0 B2 D0 B0 20 D0 A0 2E F4 03 04 00 01 07 5D 66 0E 04 04 00 74 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 33 37 5E 04 04 00 80 00 00 00 57 04 04 00 82 00 00 00 AA 04 D5 04 6E 04 04 00 80 00 00 00 69 04 A2 00 6F 04 04 00 80 00 00 00 B1 04 03 00 68 58 26 70 04 03 00 7C 99 1C 72 04 03 00 EC BE 09 00 04 81 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 6B 12 04 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 [23:57:59]Write to MH i2c: E2 02 01 0C 03 80 0D 02 02 FA 00 05 00 6A 05 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 1C 00 D0 9A D0 BE D0 B9 D0 B3 D0 B5 D0 BB D1 8C D0 B4 D0 B8 D0 B5 D0 B2 D0 B0 20 D0 A0 2E F4 03 04 00 01 07 5D 66 0E 04 04 00 74 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 33 37 5E 04 04 00 80 00 00 00 57 04 04 00 82 00 00 00 AA 04 D5 04 6E 04 04 00 80 00 00 00 69 04 A2 00 6F 04 04 00 80 00 00 00 B1 04 03 00 68 58 26 70 04 03 00 7C 99 1C 72 04 03 00 EC BE 09 00 04 81 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 6B 12 04 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 00 00 54 [23:57:59]Write i2c OK [23:57:59]MH_I2C_Read... [23:58:00]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:58:00]Read from MH i2c: E2 [23:58:00]MH_I2C_Read... [23:58:00]Read from MH i2c: E2 03 00 [23:58:00]MH_I2C_Read... [23:58:00]Read from MH i2c: E2 03 00 0C 03 00 90 00 83 [23:58:00]RAPDU: 90 00 [23:58:00]wFMCommunicate OK [23:58:00]wFMCommunicate request_size=255 [23:58:00]MH_SAM_APDU [23:58:00]CAPDU: 80 0D 02 02 FA F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 D7 56 6A 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 OFD Sender: No OFD packet to send [23:58:00]0A 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 00 6B 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 [23:58:00]Write to MH i2c: E2 02 01 0D 03 80 0D 02 02 FA 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 D7 56 6A 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 00 6B 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 00 00 27 [23:58:00]Write i2c OK [23:58:00]MH_I2C_Read... [23:58:00]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:58:00]Read from MH i2c: E2 [23:58:00]MH_I2C_Read... [23:58:00]Read from MH i2c: E2 03 00 [23:58:00]MH_I2C_Read... [23:58:00]Read from MH i2c: E2 03 00 0D 03 00 90 00 84 [23:58:00]RAPDU: 90 00 [23:58:00]wFMCommunicate OK [23:58:00]wFMCommunicate request_size=255 [23:58:00]MH_SAM_APDU [23:58:00]CAPDU: 80 0D 02 02 FA F3 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 00 6C 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 [23:58:00]Write to MH i2c: E2 02 01 0E 03 80 0D 02 02 FA 00 F3 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 00 6C 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 00 00 4E [23:58:01]Write i2c OK [23:58:01]MH_I2C_Read... [23:58:01]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:58:01]Read from MH i2c: E2 [23:58:01]MH_I2C_Read... [23:58:01]Read from MH i2c: E2 03 00 [23:58:01]MH_I2C_Read... [23:58:01]Read from MH i2c: E2 03 00 0E 03 00 90 00 85 [23:58:01]RAPDU: 90 00 [23:58:01]wFMCommunicate OK [23:58:01]wFMCommunicate request_size=255 [23:58:01]MH_SAM_APDU [23:58:01]CAPDU: 80 0D 02 02 FA F6 03 01 00 01 F7 03 01 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 [23:58:01]Write to MH i2c: E2 02 01 0F 03 80 0D 02 02 FA 00 F6 03 01 00 01 F7 03 01 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 00 51 [23:58:01]Write i2c OK [23:58:01]MH_I2C_Read... [23:58:01]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:58:01]Read from MH i2c: E2 [23:58:01]MH_I2C_Read... [23:58:01]Read from MH i2c: E2 03 00 [23:58:01]MH_I2C_Read... [23:58:01]Read from MH i2c: E2 03 00 0F 03 00 90 00 86 [23:58:01]RAPDU: 90 00 [23:58:01]wFMCommunicate OK [23:58:01]wFMCommunicate request_size=255 [23:58:01]MH_SAM_APDU [23:58:01]CAPDU: 80 0D 02 02 FA 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 [23:58:02]Write to MH i2c: E2 02 01 10 03 80 0D 02 02 FA 00 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 00 00 13 [23:58:02]Write i2c OK [23:58:02]MH_I2C_Read... [23:58:02]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:58:02]Read from MH i2c: E2 [23:58:02]MH_I2C_Read... [23:58:02]Read from MH i2c: E2 03 00 [23:58:02]MH_I2C_Read... [23:58:02]Read from MH i2c: E2 03 00 10 03 00 90 00 87 [23:58:02]RAPDU: 90 00 [23:58:02]wFMCommunicate OK [23:58:02]wFMCommunicate request_size=145 [23:58:02]MH_SAM_APDU [23:58:02]CAPDU: 80 0D 02 02 8C 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 10 04 04 00 FD F8 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 35 04 06 00 51 C2 E6 42 B8 8E [23:58:02]Write to MH i2c: E2 94 00 11 03 80 0D 02 02 8C 00 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 10 04 04 00 FD F8 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 35 04 06 00 51 C2 E6 42 B8 8E 00 00 4B [23:58:02]Write i2c OK [23:58:02]MH_I2C_Read... [23:58:02]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:58:02]Read from MH i2c: E2 [23:58:02]MH_I2C_Read... [23:58:02]Read from MH i2c: E2 03 00 [23:58:02]MH_I2C_Read... [23:58:02]Read from MH i2c: E2 03 00 11 03 00 90 00 88 [23:58:02]RAPDU: 90 00 [23:58:02]wFMCommunicate OK [23:58:02]wFMCommunicate request_size=4 [23:58:02]MH_SAM_APDU [23:58:02]CAPDU: 80 0D 03 02 [23:58:02]Write to MH i2c: E2 08 00 12 03 80 0D 03 02 00 00 00 00 90 [23:58:02]Write i2c OK [23:58:02]MH_I2C_Read... [23:58:02]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [23:58:02]Read from MH i2c: E2 [23:58:02]MH_I2C_Read... [23:58:02]Read from MH i2c: E2 0B 00 [23:58:02]MH_I2C_Read... [23:58:02]Read from MH i2c: E2 0B 00 12 03 00 5D D1 D5 40 FD E3 27 84 90 00 5F [23:58:02]RAPDU: 5D D1 D5 40 FD E3 27 84 90 00 [23:58:02]wFMCommunicate OK [23:58:02]SAM_PROTO_SignData done [23:58:02]FM_MakeSignedData done [23:58:02]CreateOFDProtocolMessage [23:58:02]wFMCommunicate request_size=4 [23:58:02]MH_SAM_APDU [23:58:02]CAPDU: 80 11 00 00 [23:58:02]Write to MH i2c: E2 08 00 13 03 80 11 00 00 00 00 00 00 90 [23:58:02]Write i2c OK [23:58:02]MH_I2C_Read... [23:58:03]Read from MH i2c: E2 [23:58:03]MH_I2C_Read... [23:58:03]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:58:03]Read from MH i2c: E2 17 00 [23:58:03]MH_I2C_Read... [23:58:03]Read from MH i2c: E2 17 00 13 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 90 00 E2 [23:58:03]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 90 00 [23:58:03]wFMCommunicate OK [23:58:03]CreateOFDProtocolMessage done [23:58:03]OFDSenderStorePacket 63741 [23:58:03]StoreOFDPacket docnum=63741 [23:58:03]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 7E 05 00 00 88 DC 76 05 B9 20 5A 05 01 00 05 00 6A 05 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 1C 00 D0 9A D0 BE D0 B9 D0 B3 D0 B5 D0 BB D1 8C D0 B4 D0 B8 D0 B5 D0 B2 D0 B0 20 D0 A0 2E F4 03 04 00 01 07 5D 66 0E 04 04 00 74 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 33 37 5E 04 04 00 80 00 00 00 57 04 04 00 82 00 00 00 AA 04 D5 04 6E 04 04 00 80 00 00 00 69 04 A2 00 6F 04 04 00 80 00 00 00 B1 04 03 00 68 58 26 70 04 03 00 7C 99 1C 72 04 03 00 EC BE 09 00 04 81 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 6B 12 04 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 D7 56 6A 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 00 6B 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 00 6C 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 10 04 04 00 FD F8 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 35 04 06 00 51 C2 E6 42 B8 8E 5D D1 D5 40 FD E3 27 84 [23:58:03]CheckFolder [23:58:03]dirname=/storage/ofd_packets [23:58:03]CheckFolder done [23:58:03]ProducePacketName [23:58:03]name=ofd_packets/00063741 [23:58:03]NVStorageSaveData ofd_packets/00063741 [23:58:03]File name is /storage/ofd_packets/00063741 [23:58:03]Write 1436 bytes [23:58:03]NVStorageSaveData done [23:58:03]OFDSenderStorePacket done [23:58:03]KKMCreateOFDPacket done [23:58:03]NVStorageSaveData kkm_last_timestamp [23:58:03]File name is /storage/kkm_last_timestamp [23:58:03]Write 4 bytes [23:58:03]NVStorageSaveData done [23:58:03]ExternCall_PrintAddStr [23:58:03]wPrintStart [23:58:03]Write to MH i2c: 01 00 00 14 03 17 [23:58:03]Write i2c OK [23:58:03]MH_I2C_Read... [23:58:03]Read from MH i2c: 01 [23:58:03]MH_I2C_Read... [23:58:03]Read from MH i2c: 01 07 00 [23:58:03]MH_I2C_Read... [23:58:03]Read from MH i2c: 01 07 00 14 03 00 00 00 00 00 FF 0F 2C [23:58:03]RasterBufferAndPrint [23:58:03]line Отчет о закрытии смены [23:58:03]line ФФД: 1.0 [23:58:03]line ИНН: 02508201610067 [23:58:03]line Кассир: Койгельдиева Р. [23:58:03]line 02.06.2024 23:57 [23:58:03]line Смена: 372 [23:58:03]line РНМ: 0000000000092737 [23:58:03]line ЗНМ: 0300000031 [23:58:03]line СНО: Общий режим [23:58:03]line Чеков за смену: 128 [23:58:03]line ФД за смену: 130 [23:58:03]line Всего чеков: 128 [23:58:03]line ИТОГИ ПРИХОД [23:58:03]line Чеков: 128 [23:58:03]line Общий итог: 25130.00 [23:58:03]line Итого наличными: 18743.00 [23:58:03]line Итого безнал.: 6387.00 [23:58:03]line НДС 0% : 0.00 [23:58:03]line НДС 12% : 2668.59 [23:58:03]line НСП 0% : 0.00 [23:58:03]line НСП 1,50% : 0.00 [23:58:03]line НСП 0,50% : 0.00 [23:58:03]line НСП 5% : 0.00 [23:58:03]line НСП 3% : 0.00 [23:58:03]line НСП 2% : 0.00 [23:58:03]line НСП 1% : 222.31 [23:58:03]line ИТОГИ ВОЗВРАТ ПРИХОДА [23:58:03]line Чеков: 0 [23:58:03]line Общий итог: 0.00 [23:58:03]line Итого наличными: 0.00 [23:58:03]line Итого безнал.: 0.00 [23:58:03]line НДС 0% : 0.00 [23:58:03]line НДС 12% : 0.00 [23:58:03]line НСП 0% : 0.00 [23:58:03]line НСП 1,50% : 0.00 [23:58:03]line НСП 0,50% : 0.00 [23:58:03]line НСП 5% : 0.00 [23:58:03]line НСП 3% : 0.00 [23:58:03]line НСП 2% : 0.00 [23:58:03]line НСП 1% : 0.00 [23:58:03]line ИТОГИ РАСХОД [23:58:03]line Чеков: 0 [23:58:03]line Общий итог: 0.00 [23:58:03]line Итого наличными: 0.00 [23:58:03]line Итого безнал.: 0.00 [23:58:03]line НДС 0% : 0.00 [23:58:03]line НДС 12% : 0.00 [23:58:03]line НСП 0% : 0.00 [23:58:03]line НСП 1,50% : 0.00 [23:58:03]line НСП 0,50% : 0.00 [23:58:03]line НСП 5% : 0.00 [23:58:03]line НСП 3% : 0.00 [23:58:03]line НСП 2% : 0.00 [23:58:03]line НСП 1% : 0.00 [23:58:03]line ИТОГИ ВОЗВРАТ РАСХОДА [23:58:03]line Чеков: 0 [23:58:03]line Общий итог: 0.00 [23:58:03]line Итого наличными: 0.00 [23:58:03]line Итого безнал.: 0.00 [23:58:03]line НДС 0% : 0.00 [23:58:03]line НДС 12% : 0.00 [23:58:03]line НСП 0% : 0.00 [23:58:03]line НСП 1,50% : 0.00 [23:58:03]line НСП 0,50% : 0.00 [23:58:03]line НСП 5% : 0.00 [23:58:03]line НСП 3% : 0.00 [23:58:03]line НСП 2% : 0.00 [23:58:03]line НСП 1% : 0.00 [23:58:03]line Сумма внесений: 0.00 [23:58:03]line Сумма выплат: 0.00 [23:58:03]line Нал. в кассе: 18743.00 [23:58:03]line НС Приход: 19875729.73 [23:58:03]line НС Возвр.Прихода: 585281.00 [23:58:03]line НС Расход: 0.00 [23:58:03]line НС Возвр.Расхода: 0.00 [23:58:03]line ФД: 63741 [23:58:03]line ФМ: 0000000000875074 [23:58:03]line ФПД: 89897528637582 [23:58:03]written 0, free lines is 4095 [23:58:03]OFD Sender: Processing packet 63741 [packets to send 14, broken 13] [23:58:03]ProducePacketName [23:58:03]name=ofd_packets/00063741 [23:58:03]OFD Sender: To server: pG, [23:58:03]CommunicateWithHost lk.salyk.kg:30040 [23:58:03]ConnectInit lk.salyk.kg [23:58:03]Connected sock=10 [23:58:03]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 7E 05 00 00 88 DC 76 05 B9 20 5A 05 01 00 05 00 6A 05 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 1C 00 D0 9A D0 BE D0 B9 D0 B3 D0 B5 D0 BB D1 8C D0 B4 D0 B8 D0 B5 D0 B2 D0 B0 20 D0 A0 2E F4 03 04 00 01 07 5D 66 0E 04 04 00 74 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 33 37 5E 04 04 00 80 00 00 00 57 04 04 00 82 00 00 00 AA 04 D5 04 6E 04 04 00 80 00 00 00 69 04 A2 00 6F 04 04 00 80 00 00 00 B1 04 03 00 68 58 26 70 04 03 00 7C 99 1C 72 04 03 00 EC BE 09 00 04 81 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 6B 12 04 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 D7 56 6A 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 00 6B 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 00 6C 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 Write to MH i2c: 00 01 00 F2 00 03 64 01 03 00 67 01 [23:58:04]F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF Write i2c OK [23:58:04]03 MH_I2C_Read... [23:58:04]09 Read from MH i2c: 00 01 F6 [23:58:04]03 MH_I2C_Read... [23:58:04]01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 Read from MH i2c: 00 01 00 07 00 EF [23:58:04]03 MH_I2C_Read... [23:58:04]09 Read from MH i2c: 00 01 F6 07 03 00 01 64 00 03 03 00 F7 00 03 00 00 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 00 6A F6 0A 03 E2 01 [23:58:04]00 RasterBufferAndPrint [23:58:04]05 line [23:58:04]F7 line [23:58:04]03 line [23:58:04]00 line [23:58:04]00 line [23:58:04]EF 03 09 written 0, free lines is 2818 [23:58:04]00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 MH_Cut [23:58:04]00 Write to MH i2c: 00 D1 00 01 00 00 B1 6B 04 03 00 01 00 40 70 [23:58:04]04 00 Write i2c OK [23:58:04]00 MH_I2C_Read... [23:58:04]72 04 00 00 00 04 75 00 Read from MH i2c: EE D1 03 [23:58:04]09 MH_I2C_Read... [23:58:04]00 F2 03 01 00 00 F3 03 Read from MH i2c: 00 D1 00 01 EE 00 03 [23:58:04]09 MH_I2C_Read... [23:58:04]00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 Read from MH i2c: 03 D1 00 01 00 00 EF 6B 03 03 09 00 00 3F F6 [23:58:04]03 Write to MH i2c: 01 01 00 00 01 00 F7 6C 03 03 00 6F 00 [23:58:04]EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF Write i2c OK [23:58:04]03 MH_I2C_Read... [23:58:04]09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 10 04 04 00 FD F8 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 35 04 06 00 51 C2 E6 42 B8 8E 5D D1 D5 40 FD E3 27 84 [23:58:04]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 4F 00 00 00 A6 CA 47 00 1F 4C A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 10 04 04 00 FD F8 00 00 F4 03 04 00 DE B2 5C 66 B6 04 01 00 00 23 9A 5A B0 1F 94 16 F7 [23:58:04]CommunicateWithHost err = 0 [23:58:04]CheckOFDResponse [23:58:04]1017 (14) - 77093643461234 [23:58:04]1041 (16) - 0000000000875074 [23:58:04]1040 (4) - 63741 [23:58:04]1012 (4) - 02.06.2024 17:58 [23:58:04]1206 (1) - 0 [23:58:04]OFD Sender: Remove packet 63741 [23:58:04]ProducePacketName [23:58:04]name=ofd_packets/00063741 [23:58:04]NVStorageDeleteData [23:58:05]OFD Sender: No OFD packet to send [23:58:05]*** Cut start [23:58:05]*** Partial cut [23:58:05]*** CUTSNS_PIN = 1 [23:58:05]*** CUTSNS_PIN = 0 [23:58:05]*** Brake cut motor [23:58:06]Read from MH i2c: 01 [23:58:06]MH_I2C_Read... [23:58:06]*** Stop cut motor [23:58:06]*** Cut end [23:58:06]Read from MH i2c: 01 07 00 [23:58:06]MH_I2C_Read... [23:58:06]Read from MH i2c: 01 07 00 6C 03 00 00 00 00 00 FF 0F 84 [23:58:06]process_action close_shift done [23:58:06]requested_data is exist [23:58:06]produce_requested_data [23:58:06]requested_item fd.num is exist - process it [23:58:06]SAM_PROTO_GetFieldsCounters [23:58:06]wFMCommunicate request_size=4 [23:58:06]MH_SAM_APDU [23:58:06]CAPDU: 80 13 00 00 [23:58:06]Write to MH i2c: E2 08 00 6D 03 80 13 00 00 00 00 00 00 EC [23:58:06]Write i2c OK [23:58:06]MH_I2C_Read... [23:58:06]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:58:06]Read from MH i2c: E2 [23:58:06]MH_I2C_Read... [23:58:06]Read from MH i2c: E2 62 00 [23:58:06]MH_I2C_Read... [23:58:06]Read from MH i2c: E2 62 00 6D 03 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 33 37 10 04 04 00 FD F8 00 00 0E 04 04 00 74 01 00 00 12 04 04 00 80 00 00 00 5E 04 04 00 80 00 00 00 57 04 04 00 82 00 00 00 19 04 04 00 00 00 00 00 90 00 FA [23:58:06]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 33 37 10 04 04 00 FD F8 00 00 0E 04 04 00 74 01 00 00 12 04 04 00 80 00 00 00 5E 04 04 00 80 00 00 00 57 04 04 00 82 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:58:06]wFMCommunicate OK [23:58:06]SAM_PROTO_GetFieldsCounters done [23:58:06]requested_item shift.num is exist - process it [23:58:06]requested_item shift.opened is exist - process it [23:58:06]req_shift_opened [23:58:06]FM_GetShiftState [23:58:06]SAM_PROTO_GetShiftState [23:58:06]wFMCommunicate request_size=4 [23:58:06]MH_SAM_APDU [23:58:06]CAPDU: 80 13 01 00 [23:58:06]Write to MH i2c: E2 08 00 6E 03 80 13 01 00 00 00 00 00 EE [23:58:06]Write i2c OK [23:58:06]MH_I2C_Read... [23:58:06]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:58:06]Read from MH i2c: E2 [23:58:06]MH_I2C_Read... [23:58:06]Read from MH i2c: E2 0E 00 [23:58:06]MH_I2C_Read... [23:58:06]Read from MH i2c: E2 0E 00 6E 03 00 09 00 00 00 00 00 00 00 00 00 00 90 00 F9 [23:58:06]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [23:58:06]wFMCommunicate OK [23:58:06]SAM_PROTO_GetShiftState done [23:58:06]FM_GetShiftState done [23:58:06]req_shift_opened done [23:58:06]requested_item shift.open_date is exist - process it [23:58:06]req_shift_open_date [23:58:06]FM_GetShiftState [23:58:06]SAM_PROTO_GetShiftState [23:58:06]wFMCommunicate request_size=4 [23:58:06]MH_SAM_APDU [23:58:06]CAPDU: 80 13 01 00 [23:58:06]Write to MH i2c: E2 08 00 6F 03 80 13 01 00 00 00 00 00 EF [23:58:06]Write i2c OK [23:58:06]MH_I2C_Read... [23:58:06]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:58:06]Read from MH i2c: E2 [23:58:06]MH_I2C_Read... [23:58:06]Read from MH i2c: E2 0E 00 [23:58:06]MH_I2C_Read... [23:58:06]Read from MH i2c: E2 0E 00 6F 03 00 09 00 00 00 00 00 00 00 00 00 00 90 00 FA [23:58:06]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [23:58:06]wFMCommunicate OK [23:58:06]SAM_PROTO_GetShiftState done [23:58:06]FM_GetShiftState done [23:58:06]req_shift_open_date done [23:58:06]produce_requested_data done [23:58:06]produce_requested_data return {"fd.num":63741,"shift.num":372,"shift.opened":0,"shift.open_date":0} [23:58:06]process_action_free close_shift [23:58:06]json_value_free [23:58:06]json_value_free done [23:58:06]process_json_proto returns [23:58:06]Send response to host [23:58:06]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fd.num":63741,"shift.num":372,"shift.opened":0,"shift.open_date":0}}} [23:58:06]free response buf [23:58:06]execute_script done [23:58:06]execute_script returns [23:58:06]free content buf [23:58:06]Sock 9.Close socket [23:58:06]Sock 9.Thread stoped [23:58:10]OFD Sender: No OFD packet to send [23:58:15]OFD Sender: No OFD packet to send [23:58:20]OFD Sender: No OFD packet to send [23:58:25]OFD Sender: No OFD packet to send [23:58:30]OFD Sender: No OFD packet to send [23:58:35]OFD Sender: No OFD packet to send [23:58:40]OFD Sender: No OFD packet to send [23:58:45]OFD Sender: No OFD packet to send [23:58:50]OFD Sender: No OFD packet to send [23:58:55]OFD Sender: No OFD packet to send [23:59:00]OFD Sender: No OFD packet to send [23:59:05]OFD Sender: No OFD packet to send [23:59:10]OFD Sender: No OFD packet to send [23:59:15]OFD Sender: No OFD packet to send [23:59:20]OFD Sender: No OFD packet to send [23:59:25]OFD Sender: No OFD packet to send [23:59:30]OFD Sender: No OFD packet to send [23:59:35]OFD Sender: No OFD packet to send [23:59:40]OFD Sender: No OFD packet to send [23:59:45]OFD Sender: No OFD packet to send [23:59:50]OFD Sender: No OFD packet to send [23:59:55]OFD Sender: No OFD packet to send [00:00:00]OFD Sender: No OFD packet to send [00:00:05]OFD Sender: No OFD packet to send [00:00:10]OFD Sender: No OFD packet to send [00:00:15]OFD Sender: No OFD packet to send [00:00:20]OFD Sender: No OFD packet to send [00:00:25]OFD Sender: No OFD packet to send [00:00:30]OFD Sender: No OFD packet to send [00:00:35]OFD Sender: No OFD packet to send [00:00:40]OFD Sender: No OFD packet to send [00:00:45]OFD Sender: No OFD packet to send [00:00:50]OFD Sender: No OFD packet to send [00:00:55]OFD Sender: No OFD packet to send [00:01:00]OFD Sender: No OFD packet to send [00:01:05]OFD Sender: No OFD packet to send [00:01:10]OFD Sender: No OFD packet to send [00:01:15]OFD Sender: No OFD packet to send [00:01:20]OFD Sender: No OFD packet to send [00:01:25]OFD Sender: No OFD packet to send [00:01:30]OFD Sender: No OFD packet to send [00:01:35]OFD Sender: No OFD packet to send [00:01:40]OFD Sender: No OFD packet to send [00:01:45]OFD Sender: No OFD packet to send [00:01:50]OFD Sender: No OFD packet to send [00:01:55]OFD Sender: No OFD packet to send [00:02:00]OFD Sender: No OFD packet to send [00:02:05]OFD Sender: No OFD packet to send [00:02:10]OFD Sender: No OFD packet to send [00:02:15]OFD Sender: No OFD packet to send [00:02:20]OFD Sender: No OFD packet to send [00:02:25]OFD Sender: No OFD packet to send [00:02:30]OFD Sender: No OFD packet to send [00:02:35]OFD Sender: No OFD packet to send [00:02:40]OFD Sender: No OFD packet to send [00:02:45]OFD Sender: No OFD packet to send [00:02:50]OFD Sender: No OFD packet to send [00:02:55]OFD Sender: No OFD packet to send [00:03:00]OFD Sender: No OFD packet to send [00:03:05]OFD Sender: No OFD packet to send [00:03:10]OFD Sender: No OFD packet to send [00:03:15]OFD Sender: No OFD packet to send [00:03:20]OFD Sender: No OFD packet to send [00:03:25]OFD Sender: No OFD packet to send [00:03:30]OFD Sender: No OFD packet to send [00:03:35]OFD Sender: No OFD packet to send [00:03:40]OFD Sender: No OFD packet to send [00:03:45]OFD Sender: No OFD packet to send [00:03:50]OFD Sender: No OFD packet to send [00:03:55]OFD Sender: No OFD packet to send [00:04:00]OFD Sender: No OFD packet to send [00:04:05]OFD Sender: No OFD packet to send [00:04:10]OFD Sender: No OFD packet to send [00:04:15]OFD Sender: No OFD packet to send [00:04:20]OFD Sender: No OFD packet to send [00:04:25]OFD Sender: No OFD packet to send [00:04:30]OFD Sender: No OFD packet to send [00:04:35]OFD Sender: No OFD packet to send [00:04:40]OFD Sender: No OFD packet to send [00:04:45]OFD Sender: No OFD packet to send [00:04:50]OFD Sender: No OFD packet to send [00:04:55]OFD Sender: No OFD packet to send [00:05:00]OFD Sender: No OFD packet to send [00:05:05]OFD Sender: No OFD packet to send [00:05:10]OFD Sender: No OFD packet to send [00:05:15]OFD Sender: No OFD packet to send [00:05:20]OFD Sender: No OFD packet to send [00:05:25]OFD Sender: No OFD packet to send [00:05:30]OFD Sender: No OFD packet to send [00:05:35]OFD Sender: No OFD packet to send [00:05:40]OFD Sender: No OFD packet to send [00:05:45]OFD Sender: No OFD packet to send [00:05:50]OFD Sender: No OFD packet to send [00:05:55]OFD Sender: No OFD packet to send [00:06:00]OFD Sender: No OFD packet to send [00:06:05]OFD Sender: No OFD packet to send [00:06:08]accept exits with 7 [00:06:08]New connection [00:06:08]New thread 3066797412 created [00:06:08]Thread 3066654052 joined [00:06:08]Waiting for new connection... [00:06:08] Sock 7.Parse request [00:06:08]Sock 7.Check first char [00:06:08]Sock 7.First char is OK [00:06:08]request: POST /json_proto HTTP/1.0 [00:06:08]Method: POST [00:06:08]URL: /json_proto [00:06:08]Method is POST - this is cgi request [00:06:08]url: /json_proto [00:06:08]query_string will be loaded in cgi processing [00:06:08]execute_cgi json_proto POST (null) [00:06:08]execute_cgi path=json_proto method=POST [00:06:08]POST find Content-Length [00:06:08]Host: 172.17.60.69:8080 [00:06:08]Content-Length: 215 [00:06:08]Content-Type: application/json [00:06:08] [00:06:08]POST finish read [00:06:08]Found Content-Length = 215 [00:06:08]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:06:08]execute_script... [00:06:08]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:06:08]POST & json_proto [00:06:08]process_json_proto [00:06:08]json parsed OK: [00:06:08]protocol is kg_v1.0 [00:06:08]action value=get_value [00:06:08]process_action get_value [00:06:08]cmd_get_value [00:06:08]process_action get_value done [00:06:08]requested_data is exist [00:06:08]produce_requested_data [00:06:08]requested_item kkm.sn is exist - process it [00:06:08]requested_item kkm.ver is exist - process it [00:06:08]requested_item fm.sn is exist - process it [00:06:08]wFMCommunicate request_size=4 [00:06:08]MH_SAM_APDU [00:06:08]CAPDU: 80 11 00 00 [00:06:08]Write to MH i2c: E2 08 00 70 03 80 11 00 00 00 00 00 00 ED [00:06:08]Write i2c OK [00:06:08]MH_I2C_Read... [00:06:08]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:06:08]Read from MH i2c: E2 [00:06:08]MH_I2C_Read... [00:06:08]Read from MH i2c: E2 17 00 [00:06:08]MH_I2C_Read... [00:06:08]Read from MH i2c: E2 17 00 70 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 90 00 3F [00:06:08]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 90 00 [00:06:08]wFMCommunicate OK [00:06:08]requested_item fd.num is exist - process it [00:06:08]SAM_PROTO_GetFieldsCounters [00:06:08]wFMCommunicate request_size=4 [00:06:08]MH_SAM_APDU [00:06:08]CAPDU: 80 13 00 00 [00:06:08]Write to MH i2c: E2 08 00 71 03 80 13 00 00 00 00 00 00 F0 [00:06:08]Write i2c OK [00:06:08]MH_I2C_Read... [00:06:09]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:06:09]Read from MH i2c: E2 [00:06:09]MH_I2C_Read... [00:06:09]Read from MH i2c: E2 62 00 [00:06:09]MH_I2C_Read... [00:06:09]Read from MH i2c: E2 62 00 71 03 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 33 37 10 04 04 00 FD F8 00 00 0E 04 04 00 74 01 00 00 12 04 04 00 80 00 00 00 5E 04 04 00 80 00 00 00 57 04 04 00 82 00 00 00 19 04 04 00 00 00 00 00 90 00 FE [00:06:09]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 33 37 10 04 04 00 FD F8 00 00 0E 04 04 00 74 01 00 00 12 04 04 00 80 00 00 00 5E 04 04 00 80 00 00 00 57 04 04 00 82 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:06:09]wFMCommunicate OK [00:06:09]SAM_PROTO_GetFieldsCounters done [00:06:09]requested_item shift.num is exist - process it [00:06:09]requested_item shift.opened is exist - process it [00:06:09]req_shift_opened [00:06:09]FM_GetShiftState [00:06:09]SAM_PROTO_GetShiftState [00:06:09]wFMCommunicate request_size=4 [00:06:09]MH_SAM_APDU [00:06:09]CAPDU: 80 13 01 00 [00:06:09]Write to MH i2c: E2 08 00 72 03 80 13 01 00 00 00 00 00 F2 [00:06:09]Write i2c OK [00:06:09]MH_I2C_Read... [00:06:09]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:06:09]Read from MH i2c: E2 [00:06:09]MH_I2C_Read... [00:06:09]Read from MH i2c: E2 0E 00 [00:06:09]MH_I2C_Read... [00:06:09]Read from MH i2c: E2 0E 00 72 03 00 09 00 00 00 00 00 00 00 00 00 00 90 00 FD [00:06:09]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:06:09]wFMCommunicate OK [00:06:09]SAM_PROTO_GetShiftState done [00:06:09]FM_GetShiftState done [00:06:09]req_shift_opened done [00:06:09]requested_item shift.open_date is exist - process it [00:06:09]req_shift_open_date [00:06:09]FM_GetShiftState [00:06:09]SAM_PROTO_GetShiftState [00:06:09]wFMCommunicate request_size=4 [00:06:09]MH_SAM_APDU [00:06:09]CAPDU: 80 13 01 00 [00:06:09]Write to MH i2c: E2 08 00 73 03 80 13 01 00 00 00 00 00 F3 [00:06:09]Write i2c OK [00:06:09]MH_I2C_Read... [00:06:09]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:06:09]Read from MH i2c: E2 [00:06:09]MH_I2C_Read... [00:06:09]Read from MH i2c: E2 0E 00 [00:06:09]MH_I2C_Read... [00:06:09]Read from MH i2c: E2 0E 00 73 03 00 09 00 00 00 00 00 00 00 00 00 00 90 00 FE [00:06:09]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:06:09]wFMCommunicate OK [00:06:09]SAM_PROTO_GetShiftState done [00:06:09]FM_GetShiftState done [00:06:09]req_shift_open_date done [00:06:09]produce_requested_data done [00:06:09]produce_requested_data return {"kkm.sn":"0300000031","kkm.ver":"001","fm.sn":"0000000000875074","fd.num":63741,"shift.num":372,"shift.opened":0,"shift.open_date":0} [00:06:09]process_action_free get_value [00:06:09]json_value_free [00:06:09]json_value_free done [00:06:09]process_json_proto returns [00:06:09]Send response to host [00:06:09]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000031","kkm.ver":"001","fm.sn":"0000000000875074","fd.num":63741,"shift.num":372,"shift.opened":0,"shift.open_date":0}}} [00:06:09]free response buf [00:06:09]execute_script done [00:06:09]execute_script returns [00:06:09]free content buf [00:06:09]Sock 7.Close socket [00:06:09]Sock 7.Thread stoped [00:06:09]accept exits with 9 [00:06:09]New connection [00:06:09]New thread 3066654052 created [00:06:09]Thread 3066797412 joined [00:06:09]Waiting for new connection... [00:06:09] Sock 9.Parse request [00:06:09]Sock 9.Check first char [00:06:09]Sock 9.First char is OK [00:06:09]request: POST /json_proto HTTP/1.0 [00:06:09]Method: POST [00:06:09]URL: /json_proto [00:06:09]Method is POST - this is cgi request [00:06:09]url: /json_proto [00:06:09]query_string will be loaded in cgi processing [00:06:09]execute_cgi json_proto POST (null) [00:06:09]execute_cgi path=json_proto method=POST [00:06:09]POST find Content-Length [00:06:09]Host: 172.17.60.69:8080 [00:06:09]Content-Length: 331 [00:06:09]Content-Type: application/json [00:06:09] [00:06:09]POST finish read [00:06:09]Found Content-Length = 331 [00:06:09]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:06:09]execute_script... [00:06:09]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:06:09]POST & json_proto [00:06:09]process_json_proto [00:06:09]json parsed OK: [00:06:09]protocol is kg_v1.0 [00:06:09]action value=get_value [00:06:09]process_action get_value [00:06:09]cmd_get_value [00:06:09]process_action get_value done [00:06:09]requested_data is exist [00:06:09]produce_requested_data [00:06:09]requested_item fm.sale.total is exist - process it [00:06:09]SAM_PROTO_GetFMData [00:06:09]wFMCommunicate request_size=4 [00:06:09]MH_SAM_APDU [00:06:09]CAPDU: 80 13 03 00 [00:06:09]Write to MH i2c: E2 08 00 74 03 80 13 03 00 00 00 00 00 F6 [00:06:09]Write i2c OK [00:06:09]MH_I2C_Read... [00:06:09]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:06:09]Read from MH i2c: E2 [00:06:09]MH_I2C_Read... [00:06:09]Read from MH i2c: E2 FD 00 [00:06:09]MH_I2C_Read... [00:06:09]Read from MH i2c: E2 FD 00 74 03 00 C5 04 85 04 C1 04 6E 04 04 00 14 F6 00 00 69 04 A1 00 6F 04 04 00 B7 F3 00 00 B1 04 04 00 ED F4 77 76 70 04 04 00 06 9B CB 65 72 04 04 00 E7 59 AC 10 00 04 7D 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 B0 15 95 0C EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0D 00 F6 03 01 00 01 F7 03 04 00 D4 58 0C 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 5D 02 00 00 B1 04 04 00 64 11 7D 03 70 04 04 00 E0 B5 61 03 72 04 03 00 84 5B 1B 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 F2 D8 5E EF 03 09 90 00 75 [00:06:09]RAPDU: C5 04 85 04 C1 04 6E 04 04 00 14 F6 00 00 69 04 A1 00 6F 04 04 00 B7 F3 00 00 B1 04 04 00 ED F4 77 76 70 04 04 00 06 9B CB 65 72 04 04 00 E7 59 AC 10 00 04 7D 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 B0 15 95 0C EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0D 00 F6 03 01 00 01 F7 03 04 00 D4 58 0C 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 5D 02 00 00 B1 04 04 00 64 11 7D 03 70 04 04 00 E0 B5 61 03 72 04 03 00 84 5B 1B 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 F2 D8 5E EF 03 09 90 00 [00:06:09]wFMCommunicate OK [00:06:09]wFMCommunicate request_size=4 [00:06:09]MH_SAM_APDU [00:06:09]CAPDU: 80 17 00 00 [00:06:09]Write to MH i2c: E2 08 00 75 03 80 17 00 00 00 00 00 00 F8 [00:06:09]Write i2c OK [00:06:09]MH_I2C_Read... [00:06:10]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:06:10]Read from MH i2c: E2 [00:06:10]MH_I2C_Read... [00:06:10]Read from MH i2c: E2 FD 00 [00:06:10]MH_I2C_Read... [00:06:10]Read from MH i2c: E2 FD 00 75 03 00 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 2E E7 07 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 90 00 CA [00:06:10]RAPDU: 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 2E E7 07 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 90 00 [00:06:10]wFMCommunicate OK [00:06:10]wFMCommunicate request_size=4 [00:06:10]MH_SAM_APDU [00:06:10]CAPDU: 80 17 00 00 [00:06:10]Write to MH i2c: E2 08 00 76 03 80 17 00 00 00 00 00 00 F9 [00:06:10]Write i2c OK [00:06:10]MH_I2C_Read... [00:06:10]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:06:10]Read from MH i2c: E2 [00:06:10]MH_I2C_Read... [00:06:10]Read from MH i2c: E2 FD 00 [00:06:10]MH_I2C_Read... [00:06:10]Read from MH i2c: E2 FD 00 76 03 00 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 90 00 0B [00:06:10]RAPDU: 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 90 00 [00:06:10]wFMCommunicate OK [00:06:10]wFMCommunicate request_size=4 [00:06:10]MH_SAM_APDU [00:06:10]CAPDU: 80 17 00 00 [00:06:10]Write to MH i2c: E2 08 00 77 03 80 17 00 00 00 00 00 00 FA [00:06:10]Write i2c OK [00:06:10]MH_I2C_Read... [00:06:10]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:06:10]Read from MH i2c: E2 [00:06:10]MH_I2C_Read... [00:06:10]Read from MH i2c: E2 FD 00 [00:06:10]MH_I2C_Read... [00:06:10]Read from MH i2c: E2 FD 00 77 03 00 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 90 00 86 [00:06:10]RAPDU: 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 90 00 [00:06:10]wFMCommunicate OK [00:06:10]wFMCommunicate request_size=4 [00:06:10]MH_SAM_APDU [00:06:10]CAPDU: 80 17 00 00 [00:06:10]Write to MH i2c: E2 08 00 78 03 80 17 00 00 00 00 00 00 FB [00:06:10]Write i2c OK [00:06:10]MH_I2C_Read... [00:06:10]OFD Sender: No OFD packet to send [00:06:10]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 223! [00:06:10]Read from MH i2c: E2 [00:06:10]MH_I2C_Read... [00:06:10]Read from MH i2c: E2 E2 00 [00:06:10]MH_I2C_Read... [00:06:10]Read from MH i2c: E2 E2 00 78 03 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 D9 [00:06:10]RAPDU: EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:06:10]wFMCommunicate OK [00:06:10]SAM_PROTO_GetFMData done [00:06:10]requested_item fm.sale_refund.total is exist - process it [00:06:10]requested_item fm.buy.total is exist - process it [00:06:10]requested_item shift.sale.total is exist - process it [00:06:10]SAM_PROTO_GetShiftData [00:06:10]wFMCommunicate request_size=4 [00:06:10]MH_SAM_APDU [00:06:10]CAPDU: 80 13 02 00 [00:06:10]Write to MH i2c: E2 08 00 79 03 80 13 02 00 00 00 00 00 FA [00:06:10]Write i2c OK [00:06:10]MH_I2C_Read... [00:06:11]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:06:11]Read from MH i2c: E2 [00:06:11]MH_I2C_Read... [00:06:11]Read from MH i2c: E2 FD 00 [00:06:11]MH_I2C_Read... [00:06:11]Read from MH i2c: E2 FD 00 79 03 00 AE 04 AA 04 AA 04 6E 04 04 00 80 00 00 00 69 04 9B 00 6F 04 04 00 80 00 00 00 B1 04 03 00 68 58 26 70 04 03 00 7C 99 1C 72 04 03 00 EC BE 09 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 6B 12 04 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 D7 56 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 33 [00:06:11]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 80 00 00 00 69 04 9B 00 6F 04 04 00 80 00 00 00 B1 04 03 00 68 58 26 70 04 03 00 7C 99 1C 72 04 03 00 EC BE 09 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 6B 12 04 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 D7 56 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [00:06:11]wFMCommunicate OK [00:06:11]wFMCommunicate request_size=4 [00:06:11]MH_SAM_APDU [00:06:11]CAPDU: 80 17 00 00 [00:06:11]Write to MH i2c: E2 08 00 7A 03 80 17 00 00 00 00 00 00 FD [00:06:11]Write i2c OK [00:06:11]MH_I2C_Read... [00:06:11]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:06:11]Read from MH i2c: E2 [00:06:11]MH_I2C_Read... [00:06:11]Read from MH i2c: E2 FD 00 [00:06:11]MH_I2C_Read... [00:06:11]Read from MH i2c: E2 FD 00 7A 03 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 1F [00:06:11]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [00:06:11]wFMCommunicate OK [00:06:11]wFMCommunicate request_size=4 [00:06:11]MH_SAM_APDU [00:06:11]CAPDU: 80 17 00 00 [00:06:11]Write to MH i2c: E2 08 00 7B 03 80 17 00 00 00 00 00 00 FE [00:06:11]Write i2c OK [00:06:11]MH_I2C_Read... [00:06:11]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:06:11]Read from MH i2c: E2 [00:06:11]MH_I2C_Read... [00:06:11]Read from MH i2c: E2 FD 00 [00:06:11]MH_I2C_Read... [00:06:11]Read from MH i2c: E2 FD 00 7B 03 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 B5 [00:06:12]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [00:06:12]wFMCommunicate OK [00:06:12]wFMCommunicate request_size=4 [00:06:12]MH_SAM_APDU [00:06:12]CAPDU: 80 17 00 00 [00:06:12]Write to MH i2c: E2 08 00 7C 03 80 17 00 00 00 00 00 00 FF [00:06:12]Write i2c OK [00:06:12]MH_I2C_Read... [00:06:12]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:06:12]Read from MH i2c: E2 [00:06:12]MH_I2C_Read... [00:06:12]Read from MH i2c: E2 FD 00 [00:06:12]MH_I2C_Read... [00:06:12]Read from MH i2c: E2 FD 00 7C 03 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 71 [00:06:12]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [00:06:12]wFMCommunicate OK [00:06:12]wFMCommunicate request_size=4 [00:06:12]MH_SAM_APDU [00:06:12]CAPDU: 80 17 00 00 [00:06:12]Write to MH i2c: E2 08 00 7D 03 80 17 00 00 00 00 00 00 00 [00:06:12]Write i2c OK [00:06:12]MH_I2C_Read... [00:06:12]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [00:06:12]Read from MH i2c: E2 [00:06:12]MH_I2C_Read... [00:06:12]Read from MH i2c: E2 CB 00 [00:06:12]MH_I2C_Read... [00:06:12]Read from MH i2c: E2 CB 00 7D 03 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 E9 [00:06:12]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:06:12]wFMCommunicate OK [00:06:12]SAM_PROTO_GetShiftData done [00:06:12]requested_item shift.sale.total_cash is exist - process it [00:06:12]requested_item shift.sale_refund.total is exist - process it [00:06:12]requested_item shift.sale_refund.total_cash is exist - process it [00:06:12]requested_item shift.buy.total is exist - process it [00:06:12]requested_item shift.buy.total_cash is exist - process it [00:06:12]produce_requested_data done [00:06:12]produce_requested_data return {"fm.sale.total":19875729.73,"fm.sale_refund.total":585281.00,"fm.buy.total":0.00,"shift.sale.total":25130.00,"shift.sale.total_cash":18743.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [00:06:12]process_action_free get_value [00:06:12]json_value_free [00:06:12]json_value_free done [00:06:12]process_json_proto returns [00:06:12]Send response to host [00:06:12]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":19875729.73,"fm.sale_refund.total":585281.00,"fm.buy.total":0.00,"shift.sale.total":25130.00,"shift.sale.total_cash":18743.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [00:06:12]free response buf [00:06:12]execute_script done [00:06:12]execute_script returns [00:06:12]free content buf [00:06:12]Sock 9.Close socket [00:06:12]Sock 9.Thread stoped [00:06:12]accept exits with 7 [00:06:12]New connection [00:06:12]New thread 3066797412 created [00:06:12]Thread 3066654052 joined [00:06:12]Waiting for new connection... [00:06:12] Sock 7.Parse request [00:06:12]Sock 7.Check first char [00:06:12]Sock 7.First char is OK [00:06:12]request: POST /json_proto HTTP/1.0 [00:06:12]Method: POST [00:06:12]URL: /json_proto [00:06:12]Method is POST - this is cgi request [00:06:12]url: /json_proto [00:06:12]query_string will be loaded in cgi processing [00:06:12]execute_cgi json_proto POST (null) [00:06:12]execute_cgi path=json_proto method=POST [00:06:12]POST find Content-Length [00:06:12]Host: 172.17.60.69:8080 [00:06:12]Content-Length: 271 [00:06:12]Content-Type: application/json [00:06:12] [00:06:12]POST finish read [00:06:12]Found Content-Length = 271 [00:06:12]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "open_shift", "params" : { "operator" : "\u041A\u0430\u043B\u044B\u0433\u0443\u043B\u043E\u0432\u0430 \u041D. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:06:12]execute_script... [00:06:12]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "open_shift", "params" : { "operator" : "\u041A\u0430\u043B\u044B\u0433\u0443\u043B\u043E\u0432\u0430 \u041D. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:06:12]POST & json_proto [00:06:12]process_json_proto [00:06:12]json parsed OK: [00:06:12]protocol is kg_v1.0 [00:06:12]action value=open_shift [00:06:12]process_action open_shift [00:06:12]cmd_open_shift [00:06:12]MH_GetDate [00:06:12]Write to MH i2c: F0 00 00 7E 03 70 [00:06:12]Write i2c OK [00:06:12]MH_I2C_Read... [00:06:12]Read from MH i2c: F0 [00:06:12]MH_I2C_Read... [00:06:12]Read from MH i2c: F0 09 00 [00:06:12]MH_I2C_Read... [00:06:12]Read from MH i2c: F0 09 00 7E 03 00 F5 08 5D 66 6A 96 4A 66 E9 [00:06:12]GetLastDocTimeStamp 1717372673 [00:06:12]current date 1717373173 [00:06:12]FM_GetShiftState [00:06:12]SAM_PROTO_GetShiftState [00:06:12]wFMCommunicate request_size=4 [00:06:12]MH_SAM_APDU [00:06:12]CAPDU: 80 13 01 00 [00:06:12]Write to MH i2c: E2 08 00 7F 03 80 13 01 00 00 00 00 00 FF [00:06:12]Write i2c OK [00:06:12]MH_I2C_Read... [00:06:12]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:06:12]Read from MH i2c: E2 [00:06:12]MH_I2C_Read... [00:06:12]Read from MH i2c: E2 0E 00 [00:06:12]MH_I2C_Read... [00:06:12]Read from MH i2c: E2 0E 00 7F 03 00 09 00 00 00 00 00 00 00 00 00 00 90 00 0A [00:06:12]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:06:12]wFMCommunicate OK [00:06:12]SAM_PROTO_GetShiftState done [00:06:12]FM_GetShiftState done [00:06:12]KKMCreateOpenShiftDocument [00:06:12]Load OK [00:06:12]Malloc new data [00:06:12]MH_GetDate [00:06:12]Write to MH i2c: F0 00 00 80 03 72 [00:06:12]Write i2c OK [00:06:12]MH_I2C_Read... [00:06:12]Read from MH i2c: F0 [00:06:12]MH_I2C_Read... [00:06:12]Read from MH i2c: F0 09 00 [00:06:12]MH_I2C_Read... [00:06:12]Read from MH i2c: F0 09 00 80 03 00 F5 08 5D 66 6A 96 4A 66 EB [00:06:12]Malloc new data [00:06:12]KKMCreateOpenShiftDocument OK [00:06:12]KKMSetOpenShiftData OK [00:06:12]ProcessDocumentItem done err = 0, tmpTLVsize=230 [00:06:12]tlvbuf is 008A5300 [00:06:12]KKMLoadAndSignOpenShiftData [00:06:12]SAM_PROTO_ProcessDocument [00:06:12]wFMCommunicate request_size=9 [00:06:12]MH_SAM_APDU [00:06:12]CAPDU: 80 15 01 00 04 02 00 E6 00 [00:06:12]Write to MH i2c: E2 0C 00 81 03 80 15 01 00 04 00 02 00 E6 00 00 00 F3 [00:06:12]Write i2c OK [00:06:12]MH_I2C_Read... [00:06:12]*** iso7816_exchange 80 15 01 00... Resp OK rsp.len_out = 0! [00:06:12]Read from MH i2c: E2 [00:06:12]MH_I2C_Read... [00:06:12]Read from MH i2c: E2 03 00 [00:06:12]MH_I2C_Read... [00:06:12]Read from MH i2c: E2 03 00 81 03 00 90 00 F8 [00:06:12]RAPDU: 90 00 [00:06:12]wFMCommunicate OK [00:06:12]wFMCommunicate request_size=23 [00:06:12]MH_SAM_APDU [00:06:12]CAPDU: 80 15 02 00 12 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 [00:06:12]Write to MH i2c: E2 1A 00 82 03 80 15 02 00 12 00 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 00 00 FA [00:06:12]Write i2c OK [00:06:12]MH_I2C_Read... [00:06:12]Read from MH i2c: E2 [00:06:12]MH_I2C_Read... [00:06:12]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:06:12]Read from MH i2c: E2 03 00 [00:06:12]MH_I2C_Read... [00:06:12]Read from MH i2c: E2 03 00 82 03 00 90 00 F9 [00:06:12]RAPDU: 90 00 [00:06:12]wFMCommunicate OK [00:06:12]wFMCommunicate request_size=34 [00:06:12]MH_SAM_APDU [00:06:12]CAPDU: 80 15 02 00 1D FD 03 19 00 D0 9A D0 B0 D0 BB D1 8B D0 B3 D1 83 D0 BB D0 BE D0 B2 D0 B0 20 D0 9D 2E 20 [00:06:12]Write to MH i2c: E2 25 00 83 03 80 15 02 00 1D 00 FD 03 19 00 D0 9A D0 B0 D0 BB D1 8B D0 B3 D1 83 D0 BB D0 BE D0 B2 D0 B0 20 D0 9D 2E 20 00 00 F7 [00:06:12]Write i2c OK [00:06:12]MH_I2C_Read... [00:06:12]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:06:12]Read from MH i2c: E2 [00:06:12]MH_I2C_Read... [00:06:12]Read from MH i2c: E2 03 00 [00:06:12]MH_I2C_Read... [00:06:12]Read from MH i2c: E2 03 00 83 03 00 90 00 FA [00:06:12]RAPDU: 90 00 [00:06:12]wFMCommunicate OK [00:06:12]wFMCommunicate request_size=114 [00:06:12]MH_SAM_APDU [00:06:12]CAPDU: 80 15 02 00 6D F1 03 69 00 37 32 30 30 30 31 2C 20 D0 B3 2E 20 D0 9A D0 B0 D1 80 D0 B0 D0 BA D0 BE D0 BB 2C 20 D1 83 D0 BB 2E 20 D0 9F D1 80 D0 B5 D0 B6 D0 B5 D0 B2 D0 B0 D0 BB D1 8C D1 81 D0 BA D0 BE D0 B3 D0 BE 20 31 30 31 2F 31 20 28 D0 BA D0 BE D0 BB D1 8C D1 86 D0 BE 29 2C 20 34 32 2E 35 30 30 31 34 30 2C 20 37 38 2E 33 38 36 35 39 37 [00:06:12]Write to MH i2c: E2 75 00 84 03 80 15 02 00 6D 00 F1 03 69 00 37 32 30 30 30 31 2C 20 D0 B3 2E 20 D0 9A D0 B0 D1 80 D0 B0 D0 BA D0 BE D0 BB 2C 20 D1 83 D0 BB 2E 20 D0 9F D1 80 D0 B5 D0 B6 D0 B5 D0 B2 D0 B0 D0 BB D1 8C D1 81 D0 BA D0 BE D0 B3 D0 BE 20 31 30 31 2F 31 20 28 D0 BA D0 BE D0 BB D1 8C D1 86 D0 BE 29 2C 20 34 32 2E 35 30 30 31 34 30 2C 20 37 38 2E 33 38 36 35 39 37 00 00 B2 [00:06:12]Write i2c OK [00:06:12]MH_I2C_Read... [00:06:13]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:06:13]Read from MH i2c: E2 [00:06:13]MH_I2C_Read... [00:06:13]Read from MH i2c: E2 03 00 [00:06:13]MH_I2C_Read... [00:06:13]Read from MH i2c: E2 03 00 84 03 00 90 00 FB [00:06:13]RAPDU: 90 00 [00:06:13]wFMCommunicate OK [00:06:13]wFMCommunicate request_size=51 [00:06:13]MH_SAM_APDU [00:06:13]CAPDU: 80 15 02 00 2E A3 04 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 31 37 20 22 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C 22 [00:06:13]Write to MH i2c: E2 36 00 85 03 80 15 02 00 2E 00 A3 04 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 31 37 20 22 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C 22 00 00 B3 [00:06:13]Write i2c OK [00:06:13]MH_I2C_Read... [00:06:13]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:06:13]Read from MH i2c: E2 [00:06:13]MH_I2C_Read... [00:06:13]Read from MH i2c: E2 03 00 [00:06:13]MH_I2C_Read... [00:06:13]Read from MH i2c: E2 03 00 85 03 00 90 00 FC [00:06:13]RAPDU: 90 00 [00:06:13]wFMCommunicate OK [00:06:13]wFMCommunicate request_size=13 [00:06:13]MH_SAM_APDU [00:06:13]CAPDU: 80 15 02 00 08 F4 03 04 00 F5 08 5D 66 [00:06:13]Write to MH i2c: E2 10 00 86 03 80 15 02 00 08 00 F4 03 04 00 F5 08 5D 66 00 00 D4 [00:06:13]Write i2c OK [00:06:13]MH_I2C_Read... [00:06:13]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:06:13]Read from MH i2c: E2 [00:06:13]MH_I2C_Read... [00:06:13]Read from MH i2c: E2 03 00 [00:06:13]MH_I2C_Read... [00:06:13]Read from MH i2c: E2 03 00 86 03 00 90 00 FD [00:06:13]RAPDU: 90 00 [00:06:13]wFMCommunicate OK [00:06:13]wFMCommunicate request_size=25 [00:06:13]MH_SAM_APDU [00:06:13]CAPDU: 80 15 02 00 14 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 33 37 [00:06:13]Write to MH i2c: E2 1C 00 87 03 80 15 02 00 14 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 33 37 00 00 6F [00:06:13]Write i2c OK [00:06:13]MH_I2C_Read... [00:06:13]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:06:13]Read from MH i2c: E2 [00:06:13]MH_I2C_Read... [00:06:13]Read from MH i2c: E2 03 00 [00:06:13]MH_I2C_Read... [00:06:13]Read from MH i2c: E2 03 00 87 03 00 90 00 FE [00:06:13]RAPDU: 90 00 [00:06:13]wFMCommunicate OK [00:06:13]wFMCommunicate request_size=4 [00:06:13]MH_SAM_APDU [00:06:13]CAPDU: 80 15 03 00 [00:06:13]Write to MH i2c: E2 08 00 88 03 80 15 03 00 00 00 00 00 0C [00:06:13]Write i2c OK [00:06:13]MH_I2C_Read... [00:06:13]*** iso7816_exchange 80 15 03 00... Resp OK rsp.len_out = 53! [00:06:13]Read from MH i2c: E2 [00:06:13]MH_I2C_Read... [00:06:13]Read from MH i2c: E2 38 00 [00:06:13]MH_I2C_Read... [00:06:13]Read from MH i2c: E2 38 00 88 03 00 33 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 10 04 04 00 FE F8 00 00 0E 04 04 00 75 01 00 00 35 04 06 00 00 5C DC 10 45 2C 90 00 FC [00:06:13]RAPDU: 33 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 10 04 04 00 FE F8 00 00 0E 04 04 00 75 01 00 00 35 04 06 00 00 5C DC 10 45 2C 90 00 [00:06:13]wFMCommunicate OK [00:06:13]SAM_PROTO_ProcessDocument answer len = 51 [00:06:13]SAM_PROTO_ProcessDocument done [00:06:13]SetTLVBufToDocument [00:06:13]Processing tag 1209 (04B9) [00:06:13]Malloc new data [00:06:13]Processing tag 1041 (0411) [00:06:13]Processing tag 1040 (0410) [00:06:13]Malloc new data [00:06:13]Processing tag 1038 (040E) [00:06:13]Malloc new data [00:06:13]Processing tag 1077 (0435) [00:06:13]Malloc new data [00:06:13]SetTLVBufToDocument err=0 [00:06:13]KKMLoadAndSignOpenShiftData store KKM data [00:06:13]KKMLoadAndSignOpenShiftData err=0 [00:06:13]Отчет об открытии смены ФФД: 1.0 ИНН: 02508201610067 Кассир: Калыгулова Н. Адрес: 720001, г. Каракол, ул. Прежевальского 101/1 (кольцо), 42.500140, 78.386597 Место: АЗС № 117 "Партнер Нефть" 03.06.2024 00:06 Смена: 373 РНМ: 0000000000092737 ЗНМ: 0300000031 ФД: 63742 ФМ: 0000000000875074 ФПД: 398829045036 [00:06:13]StoreToDocumentArchive [00:06:13]shift 373 fd 63742 [00:06:13]Create dir for shift 0373 [00:06:13]save to /storage/0373/doc_00063742 [00:06:13]save last doc name /storage/0373/doc_00063742 to /storage/kkm_last_doc_name [00:06:13]save OK [00:06:13]Clear old archive folders... [00:06:13]Remove dir /storage/0372 [00:06:13]opendir ok [00:06:13]file . [00:06:13]file .. [00:06:13]file doc_00063612 [00:06:13]remove file /storage/0372/doc_00063612 [00:06:13]file doc_00063613 [00:06:13]remove file /storage/0372/doc_00063613 [00:06:13]file doc_00063614 [00:06:13]remove file /storage/0372/doc_00063614 [00:06:13]file doc_00063615 [00:06:13]remove file /storage/0372/doc_00063615 [00:06:13]file doc_00063616 [00:06:13]remove file /storage/0372/doc_00063616 [00:06:13]file doc_00063617 [00:06:13]remove file /storage/0372/doc_00063617 [00:06:13]file doc_00063618 [00:06:13]remove file /storage/0372/doc_00063618 [00:06:13]file doc_00063619 [00:06:13]remove file /storage/0372/doc_00063619 [00:06:13]file doc_00063620 [00:06:13]remove file /storage/0372/doc_00063620 [00:06:13]file doc_00063621 [00:06:13]remove file /storage/0372/doc_00063621 [00:06:13]file doc_00063622 [00:06:13]remove file /storage/0372/doc_00063622 [00:06:13]file doc_00063623 [00:06:13]remove file /storage/0372/doc_00063623 [00:06:13]file doc_00063624 [00:06:13]remove file /storage/0372/doc_00063624 [00:06:13]file doc_00063625 [00:06:13]remove file /storage/0372/doc_00063625 [00:06:13]file doc_00063626 [00:06:13]remove file /storage/0372/doc_00063626 [00:06:13]file doc_00063627 [00:06:13]remove file /storage/0372/doc_00063627 [00:06:13]file doc_00063628 [00:06:13]remove file /storage/0372/doc_00063628 [00:06:13]file doc_00063629 [00:06:13]remove file /storage/0372/doc_00063629 [00:06:13]file doc_00063630 [00:06:13]remove file /storage/0372/doc_00063630 [00:06:13]file doc_00063631 [00:06:13]remove file /storage/0372/doc_00063631 [00:06:13]file doc_00063632 [00:06:13]remove file /storage/0372/doc_00063632 [00:06:13]file doc_00063633 [00:06:13]remove file /storage/0372/doc_00063633 [00:06:13]file doc_00063634 [00:06:13]remove file /storage/0372/doc_00063634 [00:06:13]file doc_00063635 [00:06:13]remove file /storage/0372/doc_00063635 [00:06:13]file doc_00063636 [00:06:13]remove file /storage/0372/doc_00063636 [00:06:13]file doc_00063637 [00:06:13]remove file /storage/0372/doc_00063637 [00:06:13]file doc_00063638 [00:06:13]remove file /storage/0372/doc_00063638 [00:06:13]file doc_00063639 [00:06:13]remove file /storage/0372/doc_00063639 [00:06:13]file doc_00063640 [00:06:13]remove file /storage/0372/doc_00063640 [00:06:13]file doc_00063641 [00:06:13]remove file /storage/0372/doc_00063641 [00:06:13]file doc_00063642 [00:06:13]remove file /storage/0372/doc_00063642 [00:06:13]file doc_00063643 [00:06:13]remove file /storage/0372/doc_00063643 [00:06:13]file doc_00063644 [00:06:13]remove file /storage/0372/doc_00063644 [00:06:13]file doc_00063645 [00:06:13]remove file /storage/0372/doc_00063645 [00:06:13]file doc_00063646 [00:06:13]remove file /storage/0372/doc_00063646 [00:06:13]file doc_00063647 [00:06:13]remove file /storage/0372/doc_00063647 [00:06:13]file doc_00063648 [00:06:13]remove file /storage/0372/doc_00063648 [00:06:13]file doc_00063649 [00:06:13]remove file /storage/0372/doc_00063649 [00:06:13]file doc_00063650 [00:06:13]remove file /storage/0372/doc_00063650 [00:06:13]file doc_00063651 [00:06:13]remove file /storage/0372/doc_00063651 [00:06:13]file doc_00063652 [00:06:13]remove file /storage/0372/doc_00063652 [00:06:13]file doc_00063653 [00:06:13]remove file /storage/0372/doc_00063653 [00:06:13]file doc_00063654 [00:06:13]remove file /storage/0372/doc_00063654 [00:06:13]file doc_00063655 [00:06:13]remove file /storage/0372/doc_00063655 [00:06:13]file doc_00063656 [00:06:13]remove file /storage/0372/doc_00063656 [00:06:13]file doc_00063657 [00:06:13]remove file /storage/0372/doc_00063657 [00:06:13]file doc_00063658 [00:06:13]remove file /storage/0372/doc_00063658 [00:06:13]file doc_00063659 [00:06:13]remove file /storage/0372/doc_00063659 [00:06:13]file doc_00063660 [00:06:14]remove file /storage/0372/doc_00063660 [00:06:14]file doc_00063661 [00:06:14]remove file /storage/0372/doc_00063661 [00:06:14]file doc_00063662 [00:06:14]remove file /storage/0372/doc_00063662 [00:06:14]file doc_00063663 [00:06:14]remove file /storage/0372/doc_00063663 [00:06:14]file doc_00063664 [00:06:14]remove file /storage/0372/doc_00063664 [00:06:14]file doc_00063665 [00:06:14]remove file /storage/0372/doc_00063665 [00:06:14]file doc_00063666 [00:06:14]remove file /storage/0372/doc_00063666 [00:06:14]file doc_00063667 [00:06:14]remove file /storage/0372/doc_00063667 [00:06:14]file doc_00063668 [00:06:14]remove file /storage/0372/doc_00063668 [00:06:14]file doc_00063669 [00:06:14]remove file /storage/0372/doc_00063669 [00:06:14]file doc_00063670 [00:06:14]remove file /storage/0372/doc_00063670 [00:06:14]file doc_00063671 [00:06:14]remove file /storage/0372/doc_00063671 [00:06:14]file doc_00063672 [00:06:14]remove file /storage/0372/doc_00063672 [00:06:14]file doc_00063673 [00:06:14]remove file /storage/0372/doc_00063673 [00:06:14]file doc_00063674 [00:06:14]remove file /storage/0372/doc_00063674 [00:06:14]file doc_00063675 [00:06:14]remove file /storage/0372/doc_00063675 [00:06:14]file doc_00063676 [00:06:14]remove file /storage/0372/doc_00063676 [00:06:14]file doc_00063677 [00:06:14]remove file /storage/0372/doc_00063677 [00:06:14]file doc_00063678 [00:06:14]remove file /storage/0372/doc_00063678 [00:06:14]file doc_00063679 [00:06:14]remove file /storage/0372/doc_00063679 [00:06:14]file doc_00063680 [00:06:14]remove file /storage/0372/doc_00063680 [00:06:14]file doc_00063681 [00:06:14]remove file /storage/0372/doc_00063681 [00:06:14]file doc_00063682 [00:06:14]remove file /storage/0372/doc_00063682 [00:06:14]file doc_00063683 [00:06:14]remove file /storage/0372/doc_00063683 [00:06:14]file doc_00063684 [00:06:14]remove file /storage/0372/doc_00063684 [00:06:14]file doc_00063685 [00:06:14]remove file /storage/0372/doc_00063685 [00:06:14]file doc_00063686 [00:06:14]remove file /storage/0372/doc_00063686 [00:06:14]file doc_00063687 [00:06:14]remove file /storage/0372/doc_00063687 [00:06:14]file doc_00063688 [00:06:14]remove file /storage/0372/doc_00063688 [00:06:14]file doc_00063689 [00:06:14]remove file /storage/0372/doc_00063689 [00:06:14]file doc_00063690 [00:06:14]remove file /storage/0372/doc_00063690 [00:06:14]file doc_00063691 [00:06:14]remove file /storage/0372/doc_00063691 [00:06:14]file doc_00063692 [00:06:14]remove file /storage/0372/doc_00063692 [00:06:14]file doc_00063693 [00:06:14]remove file /storage/0372/doc_00063693 [00:06:14]file doc_00063694 [00:06:14]remove file /storage/0372/doc_00063694 [00:06:14]file doc_00063695 [00:06:14]remove file /storage/0372/doc_00063695 [00:06:14]file doc_00063696 [00:06:14]remove file /storage/0372/doc_00063696 [00:06:14]file doc_00063697 [00:06:14]remove file /storage/0372/doc_00063697 [00:06:14]file doc_00063698 [00:06:14]remove file /storage/0372/doc_00063698 [00:06:14]file doc_00063699 [00:06:14]remove file /storage/0372/doc_00063699 [00:06:14]file doc_00063700 [00:06:14]remove file /storage/0372/doc_00063700 [00:06:14]file doc_00063701 [00:06:14]remove file /storage/0372/doc_00063701 [00:06:14]file doc_00063702 [00:06:14]remove file /storage/0372/doc_00063702 [00:06:14]file doc_00063703 [00:06:14]remove file /storage/0372/doc_00063703 [00:06:14]file doc_00063704 [00:06:14]remove file /storage/0372/doc_00063704 [00:06:14]file doc_00063705 [00:06:14]remove file /storage/0372/doc_00063705 [00:06:14]file doc_00063706 [00:06:14]remove file /storage/0372/doc_00063706 [00:06:14]file doc_00063707 [00:06:14]remove file /storage/0372/doc_00063707 [00:06:14]file doc_00063708 [00:06:14]remove file /storage/0372/doc_00063708 [00:06:14]file doc_00063709 [00:06:14]remove file /storage/0372/doc_00063709 [00:06:14]file doc_00063710 [00:06:14]remove file /storage/0372/doc_00063710 [00:06:14]file doc_00063711 [00:06:14]remove file /storage/0372/doc_00063711 [00:06:14]file doc_00063712 [00:06:14]remove file /storage/0372/doc_00063712 [00:06:14]file doc_00063713 [00:06:14]remove file /storage/0372/doc_00063713 [00:06:14]file doc_00063714 [00:06:14]remove file /storage/0372/doc_00063714 [00:06:14]file doc_00063715 [00:06:14]remove file /storage/0372/doc_00063715 [00:06:14]file doc_00063716 [00:06:14]remove file /storage/0372/doc_00063716 [00:06:14]file doc_00063717 [00:06:14]remove file /storage/0372/doc_00063717 [00:06:14]file doc_00063718 [00:06:14]remove file /storage/0372/doc_00063718 [00:06:14]file doc_00063719 [00:06:14]remove file /storage/0372/doc_00063719 [00:06:14]file doc_00063720 [00:06:14]remove file /storage/0372/doc_00063720 [00:06:14]file doc_00063721 [00:06:14]remove file /storage/0372/doc_00063721 [00:06:14]file doc_00063722 [00:06:14]remove file /storage/0372/doc_00063722 [00:06:14]file doc_00063723 [00:06:14]remove file /storage/0372/doc_00063723 [00:06:14]file doc_00063724 [00:06:14]remove file /storage/0372/doc_00063724 [00:06:14]file doc_00063725 [00:06:14]remove file /storage/0372/doc_00063725 [00:06:14]file doc_00063726 [00:06:14]remove file /storage/0372/doc_00063726 [00:06:14]file doc_00063727 [00:06:14]remove file /storage/0372/doc_00063727 [00:06:14]file doc_00063728 [00:06:14]remove file /storage/0372/doc_00063728 [00:06:14]file doc_00063729 [00:06:14]remove file /storage/0372/doc_00063729 [00:06:14]file doc_00063730 [00:06:14]remove file /storage/0372/doc_00063730 [00:06:14]file doc_00063731 [00:06:14]remove file /storage/0372/doc_00063731 [00:06:14]file doc_00063732 [00:06:14]remove file /storage/0372/doc_00063732 [00:06:14]file doc_00063733 [00:06:14]remove file /storage/0372/doc_00063733 [00:06:14]file doc_00063734 [00:06:14]remove file /storage/0372/doc_00063734 [00:06:14]file doc_00063735 [00:06:14]remove file /storage/0372/doc_00063735 [00:06:14]file doc_00063736 [00:06:14]remove file /storage/0372/doc_00063736 [00:06:14]file doc_00063737 [00:06:14]remove file /storage/0372/doc_00063737 [00:06:14]file doc_00063738 [00:06:14]remove file /storage/0372/doc_00063738 [00:06:14]file doc_00063739 [00:06:14]remove file /storage/0372/doc_00063739 [00:06:14]file doc_00063740 [00:06:14]remove file /storage/0372/doc_00063740 [00:06:14]file doc_00063741 [00:06:14]remove file /storage/0372/doc_00063741 [00:06:14]remove dir /storage/0372 [00:06:14]ProcessDocumentItem done err = 0, tmpTLVsize=281 [00:06:14]tlvbuf is 008D6190 [00:06:14]SAM_PROTO_ClearQueue [00:06:14]wFMCommunicate request_size=4 [00:06:14]MH_SAM_APDU [00:06:14]CAPDU: 80 09 00 00 [00:06:14]Write to MH i2c: E2 08 00 89 03 80 09 00 00 00 00 00 00 FE [00:06:14]Write i2c OK [00:06:14]MH_I2C_Read... [00:06:14]Read from MH i2c: E2 [00:06:14]MH_I2C_Read... [00:06:14]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [00:06:14]Read from MH i2c: E2 03 00 [00:06:14]MH_I2C_Read... [00:06:14]Read from MH i2c: E2 03 00 89 03 00 90 00 00 [00:06:14]RAPDU: 90 00 [00:06:14]wFMCommunicate OK [00:06:14]SAM_PROTO_ClearQueue done [00:06:14]KKMCreateOFDPacket [00:06:14]OFDProtocolAddRootSTLVToBuf [00:06:14]FM_MakeSignedData [00:06:14]FM_MakeSignedData [00:06:14]SAM_PROTO_SignData [00:06:14]wFMCommunicate request_size=4 [00:06:14]MH_SAM_APDU [00:06:14]CAPDU: 80 0D 01 02 [00:06:14]Write to MH i2c: E2 08 00 8A 03 80 0D 01 02 00 00 00 00 06 [00:06:14]Write i2c OK [00:06:14]MH_I2C_Read... [00:06:14]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [00:06:14]Read from MH i2c: E2 [00:06:14]MH_I2C_Read... [00:06:14]Read from MH i2c: E2 03 00 [00:06:14]MH_I2C_Read... [00:06:14]Read from MH i2c: E2 03 00 8A 03 00 90 00 01 [00:06:14]RAPDU: 90 00 [00:06:14]wFMCommunicate OK [00:06:14]wFMCommunicate request_size=255 [00:06:14]MH_SAM_APDU [00:06:14]CAPDU: 80 0D 02 02 FA 02 00 19 01 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 19 00 D0 9A D0 B0 D0 BB D1 8B D0 B3 D1 83 D0 BB D0 BE D0 B2 D0 B0 20 D0 9D 2E 20 F1 03 69 00 37 32 30 30 30 31 2C 20 D0 B3 2E 20 D0 9A D0 B0 D1 80 D0 B0 D0 BA D0 BE D0 BB 2C 20 D1 83 D0 BB 2E 20 D0 9F D1 80 D0 B5 D0 B6 D0 B5 D0 B2 D0 B0 D0 BB D1 8C D1 81 D0 BA D0 BE D0 B3 D0 BE 20 31 30 31 2F 31 20 28 D0 BA D0 BE D0 BB D1 8C D1 86 D0 BE 29 2C 20 34 32 2E 35 30 30 31 34 30 2C 20 37 38 2E 33 38 36 35 39 37 A3 04 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 31 37 20 22 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C 22 F4 03 04 00 F5 08 5D 66 0E 04 04 00 75 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 33 37 10 04 04 [00:06:14]Write to MH i2c: E2 02 01 8B 03 80 0D 02 02 FA 00 02 00 19 01 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 19 00 D0 9A D0 B0 D0 BB D1 8B D0 B3 D1 83 D0 BB D0 BE D0 B2 D0 B0 20 D0 9D 2E 20 F1 03 69 00 37 32 30 30 30 31 2C 20 D0 B3 2E 20 D0 9A D0 B0 D1 80 D0 B0 D0 BA D0 BE D0 BB 2C 20 D1 83 D0 BB 2E 20 D0 9F D1 80 D0 B5 D0 B6 D0 B5 D0 B2 D0 B0 D0 BB D1 8C D1 81 D0 BA D0 BE D0 B3 D0 BE 20 31 30 31 2F 31 20 28 D0 BA D0 BE D0 BB D1 8C D1 86 D0 BE 29 2C 20 34 32 2E 35 30 30 31 34 30 2C 20 37 38 2E 33 38 36 35 39 37 A3 04 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 31 37 20 22 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C 22 F4 03 04 00 F5 08 5D 66 0E 04 04 00 75 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 33 37 10 04 04 00 00 1C [00:06:14]Write i2c OK [00:06:14]MH_I2C_Read... [00:06:15]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:06:15]Read from MH i2c: E2 [00:06:15]MH_I2C_Read... [00:06:15]Read from MH i2c: E2 03 00 [00:06:15]MH_I2C_Read... [00:06:15]Read from MH i2c: E2 03 00 8B 03 00 90 00 02 [00:06:15]RAPDU: 90 00 [00:06:15]wFMCommunicate OK [00:06:15]wFMCommunicate request_size=40 [00:06:15]MH_SAM_APDU [00:06:15]CAPDU: 80 0D 02 02 23 00 FE F8 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 35 04 06 00 00 5C DC 10 45 2C [00:06:15]Write to MH i2c: E2 2B 00 8C 03 80 0D 02 02 23 00 00 FE F8 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 35 04 06 00 00 5C DC 10 45 2C 00 00 81 [00:06:15]Write i2c OK [00:06:15]MH_I2C_Read... [00:06:15]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:06:15]Read from MH i2c: E2 [00:06:15]MH_I2C_Read... [00:06:15]Read from MH i2c: E2 03 00 [00:06:15]MH_I2C_Read... [00:06:15]Read from MH i2c: E2 03 00 8C 03 00 90 00 03 [00:06:15]RAPDU: 90 00 [00:06:15]wFMCommunicate OK [00:06:15]wFMCommunicate request_size=4 [00:06:15]MH_SAM_APDU [00:06:15]CAPDU: 80 0D 03 02 [00:06:15]Write to MH i2c: E2 08 00 8D 03 80 0D 03 02 00 00 00 00 0B [00:06:15]Write i2c OK [00:06:15]MH_I2C_Read... [00:06:15]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [00:06:15]Read from MH i2c: E2 [00:06:15]MH_I2C_Read... [00:06:15]Read from MH i2c: E2 0B 00 [00:06:15]MH_I2C_Read... [00:06:15]Read from MH i2c: E2 0B 00 8D 03 00 F1 6B 54 AD CE 65 7F 86 90 00 A1 [00:06:15]RAPDU: F1 6B 54 AD CE 65 7F 86 90 00 [00:06:15]wFMCommunicate OK [00:06:15]SAM_PROTO_SignData done [00:06:15]FM_MakeSignedData done [00:06:15]CreateOFDProtocolMessage [00:06:15]wFMCommunicate request_size=4 [00:06:15]MH_SAM_APDU [00:06:15]CAPDU: 80 11 00 00 [00:06:15]Write to MH i2c: E2 08 00 8E 03 80 11 00 00 00 00 00 00 0B [00:06:15]Write i2c OK [00:06:15]MH_I2C_Read... [00:06:15]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:06:15]Read from MH i2c: E2 [00:06:15]MH_I2C_Read... [00:06:15]Read from MH i2c: E2 17 00 [00:06:15]MH_I2C_Read... [00:06:15]Read from MH i2c: E2 17 00 8E 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 90 00 5D [00:06:15]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 90 00 [00:06:15]wFMCommunicate OK [00:06:15]CreateOFDProtocolMessage done [00:06:15]OFDSenderStorePacket 63742 [00:06:15]StoreOFDPacket docnum=63742 [00:06:15]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 2D 01 00 00 D6 91 25 01 5F CC 5A 02 01 00 02 00 19 01 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 19 00 D0 9A D0 B0 D0 BB D1 8B D0 B3 D1 83 D0 BB D0 BE D0 B2 D0 B0 20 D0 9D 2E 20 F1 03 69 00 37 32 30 30 30 31 2C 20 D0 B3 2E 20 D0 9A D0 B0 D1 80 D0 B0 D0 BA D0 BE D0 BB 2C 20 D1 83 D0 BB 2E 20 D0 9F D1 80 D0 B5 D0 B6 D0 B5 D0 B2 D0 B0 D0 BB D1 8C D1 81 D0 BA D0 BE D0 B3 D0 BE 20 31 30 31 2F 31 20 28 D0 BA D0 BE D0 BB D1 8C D1 86 D0 BE 29 2C 20 34 32 2E 35 30 30 31 34 30 2C 20 37 38 2E 33 38 36 35 39 37 A3 04 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 31 37 20 22 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C 22 F4 03 04 00 F5 08 5D 66 0E 04 04 00 75 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 33 37 10 04 04 00 FE F8 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 35 04 06 00 00 5C DC 10 45 2C F1 6B 54 AD CE 65 7F 86 [00:06:15]CheckFolder [00:06:15]dirname=/storage/ofd_packets [00:06:15]CheckFolder done [00:06:15]ProducePacketName [00:06:15]name=ofd_packets/00063742 [00:06:15]NVStorageSaveData ofd_packets/00063742 [00:06:15]File name is /storage/ofd_packets/00063742 [00:06:15]Write 331 bytes [00:06:15]NVStorageSaveData done [00:06:15]OFDSenderStorePacket done [00:06:15]KKMCreateOFDPacket done [00:06:15]NVStorageSaveData kkm_last_timestamp [00:06:15]File name is /storage/kkm_last_timestamp [00:06:15]Write 4 bytes [00:06:15]NVStorageSaveData done [00:06:15]ExternCall_PrintAddStr [00:06:15]wPrintStart [00:06:15]Write to MH i2c: 01 00 00 8F 03 92 [00:06:15]Write i2c OK [00:06:15]MH_I2C_Read... [00:06:15]Read from MH i2c: 01 [00:06:15]MH_I2C_Read... [00:06:15]Read from MH i2c: 01 07 00 [00:06:15]MH_I2C_Read... [00:06:15]Read from MH i2c: 01 07 00 8F 03 00 00 00 00 00 FF 0F A7 [00:06:15]RasterBufferAndPrint [00:06:15]line Отчет об открытии смены [00:06:15]line ФФД: 1.0 [00:06:15]line ИНН: 02508201610067 [00:06:15]line Кассир: Калыгулова Н. [00:06:15]line Адрес: 720001, г. Каракол, ул. Прежевальского 101/1 (кольцо), 42.500140, 78.386597 [00:06:15]line Место: АЗС № 117 "Партнер Нефть" [00:06:15]line 03.06.2024 00:06 [00:06:15]line Смена: 373 [00:06:15]line РНМ: 0000000000092737 [00:06:15]line ЗНМ: 0300000031 [00:06:15]line ФД: 63742 [00:06:15]line ФМ: 0000000000875074 [00:06:15]line ФПД: 398829045036 [00:06:15]written 0, free lines is 4095 [00:06:15]OFD Sender: Processing packet 63742 [packets to send 14, broken 13] [00:06:15]ProducePacketName [00:06:15]name=ofd_packets/00063742 [00:06:15]OFD Sender: To server: pG, [00:06:15]CommunicateWithHost lk.salyk.kg:30040 [00:06:15]ConnectInit lk.salyk.kg [00:06:15]Connected sock=10 [00:06:15]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 2D 01 00 00 D6 91 25 01 5F CC 5A 02 01 00 02 00 19 01 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 19 00 D0 9A D0 B0 D0 BB D1 8B D0 B3 D1 83 D0 BB D0 BE D0 B2 D0 B0 20 D0 9D 2E 20 F1 03 69 00 37 32 30 30 30 31 2C 20 D0 B3 2E 20 D0 9A D0 B0 D1 80 D0 B0 D0 BA D0 BE D0 BB 2C 20 D1 83 D0 BB 2E 20 D0 9F D1 80 D0 B5 D0 B6 D0 B5 D0 B2 D0 B0 D0 BB D1 8C D1 81 D0 BA D0 BE D0 B3 D0 BE 20 31 30 31 2F 31 20 28 D0 BA D0 BE D0 BB D1 8C D1 86 D0 BE 29 2C 20 34 32 2E 35 30 30 31 34 30 2C 20 37 38 2E 33 38 36 35 39 37 A3 04 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 31 37 20 22 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C 22 F4 03 04 00 F5 08 5D 66 0E 04 04 00 75 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 33 37 10 04 04 00 FE F8 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 35 04 06 00 00 5C DC 10 45 2C F1 6B 54 AD CE 65 7F 86 [00:06:15]Write to MH i2c: 01 00 00 A1 03 A4 [00:06:15]Write i2c OK [00:06:15]MH_I2C_Read... [00:06:15]Read from MH i2c: 01 [00:06:15]MH_I2C_Read... [00:06:15]Read from MH i2c: 01 07 00 [00:06:15]MH_I2C_Read... [00:06:15]Read from MH i2c: 01 07 00 A1 03 00 00 00 00 00 94 0E 4D [00:06:15]RasterBufferAndPrint [00:06:15]line [00:06:15]line [00:06:15]line [00:06:15]line [00:06:15]line [00:06:15]written 0, free lines is 3749 [00:06:15]MH_Cut [00:06:15]Write to MH i2c: D1 01 00 A8 03 01 7D [00:06:15]Write i2c OK [00:06:15]MH_I2C_Read... [00:06:15]Read from MH i2c: D1 [00:06:15]MH_I2C_Read... [00:06:15]Read from MH i2c: D1 01 00 [00:06:15]MH_I2C_Read... [00:06:15]Read from MH i2c: D1 01 00 A8 03 00 7C [00:06:15]Write to MH i2c: 01 00 00 A9 03 AC [00:06:15]Write i2c OK [00:06:15]MH_I2C_Read... [00:06:15]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 4F 00 00 00 34 B0 47 00 4F 6C A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 10 04 04 00 FE F8 00 00 F4 03 04 00 C9 B4 5C 66 B6 04 01 00 00 A1 05 CC 0F 4A F8 9B D3 [00:06:15]CommunicateWithHost err = 0 [00:06:15]CheckOFDResponse [00:06:15]1017 (14) - 77093643461234 [00:06:15]1041 (16) - 0000000000875074 [00:06:15]1040 (4) - 63742 [00:06:15]1012 (4) - 02.06.2024 18:07 [00:06:15]1206 (1) - 0 [00:06:15]OFD Sender: Remove packet 63742 [00:06:15]ProducePacketName [00:06:15]name=ofd_packets/00063742 [00:06:15]NVStorageDeleteData [00:06:16]*** Cut start [00:06:16]*** Partial cut [00:06:16]*** CUTSNS_PIN = 1 [00:06:16]*** CUTSNS_PIN = 0 [00:06:16]OFD Sender: No OFD packet to send [00:06:16]*** Brake cut motor [00:06:16]Read from MH i2c: 01 [00:06:16]MH_I2C_Read... [00:06:16]*** Stop cut motor [00:06:16]*** Cut end [00:06:16]Read from MH i2c: 01 07 00 [00:06:16]MH_I2C_Read... [00:06:16]Read from MH i2c: 01 07 00 A9 03 00 00 00 00 00 FF 0F C1 [00:06:16]process_action open_shift done [00:06:16]requested_data is exist [00:06:16]produce_requested_data [00:06:16]requested_item fd.num is exist - process it [00:06:16]SAM_PROTO_GetFieldsCounters [00:06:16]wFMCommunicate request_size=4 [00:06:16]MH_SAM_APDU [00:06:16]CAPDU: 80 13 00 00 [00:06:16]Write to MH i2c: E2 08 00 AA 03 80 13 00 00 00 00 00 00 29 [00:06:16]Write i2c OK [00:06:16]MH_I2C_Read... [00:06:16]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:06:16]Read from MH i2c: E2 [00:06:16]MH_I2C_Read... [00:06:16]Read from MH i2c: E2 62 00 [00:06:16]MH_I2C_Read... [00:06:16]Read from MH i2c: E2 62 00 AA 03 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 33 37 10 04 04 00 FE F8 00 00 0E 04 04 00 75 01 00 00 12 04 04 00 00 00 00 00 5E 04 04 00 00 00 00 00 57 04 04 00 01 00 00 00 19 04 04 00 00 00 00 00 90 00 B8 [00:06:16]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 33 37 10 04 04 00 FE F8 00 00 0E 04 04 00 75 01 00 00 12 04 04 00 00 00 00 00 5E 04 04 00 00 00 00 00 57 04 04 00 01 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:06:16]wFMCommunicate OK [00:06:16]SAM_PROTO_GetFieldsCounters done [00:06:16]requested_item shift.num is exist - process it [00:06:16]requested_item shift.opened is exist - process it [00:06:16]req_shift_opened [00:06:16]FM_GetShiftState [00:06:16]SAM_PROTO_GetShiftState [00:06:16]wFMCommunicate request_size=4 [00:06:16]MH_SAM_APDU [00:06:16]CAPDU: 80 13 01 00 [00:06:16]Write to MH i2c: E2 08 00 AB 03 80 13 01 00 00 00 00 00 2B [00:06:16]Write i2c OK [00:06:16]MH_I2C_Read... [00:06:16]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:06:16]Read from MH i2c: E2 [00:06:16]MH_I2C_Read... [00:06:16]Read from MH i2c: E2 0E 00 [00:06:16]MH_I2C_Read... [00:06:16]Read from MH i2c: E2 0E 00 AB 03 00 09 00 01 F5 08 5D 66 00 00 00 00 90 00 F7 [00:06:16]RAPDU: 09 00 01 F5 08 5D 66 00 00 00 00 90 00 [00:06:16]wFMCommunicate OK [00:06:16]SAM_PROTO_GetShiftState done [00:06:16]FM_GetShiftState done [00:06:16]req_shift_opened done [00:06:16]requested_item shift.open_date is exist - process it [00:06:16]req_shift_open_date [00:06:16]req_shift_open_date done [00:06:16]produce_requested_data done [00:06:16]produce_requested_data return {"fd.num":63742,"shift.num":373,"shift.opened":1,"shift.open_date":1717373173} [00:06:16]process_action_free open_shift [00:06:16]json_value_free [00:06:16]json_value_free done [00:06:16]process_json_proto returns [00:06:16]Send response to host [00:06:16]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fd.num":63742,"shift.num":373,"shift.opened":1,"shift.open_date":1717373173}}} [00:06:16]free response buf [00:06:16]execute_script done [00:06:17]execute_script returns [00:06:17]free content buf [00:06:17]Sock 7.Close socket [00:06:17]Sock 7.Thread stoped [00:06:17]accept exits with 9 [00:06:17]New connection [00:06:17]New thread 3066654052 created [00:06:17]Thread 3066797412 joined [00:06:17]Waiting for new connection... [00:06:17] Sock 9.Parse request [00:06:17]Sock 9.Check first char [00:06:17]Sock 9.First char is OK [00:06:17]request: POST /json_proto HTTP/1.0 [00:06:17]Method: POST [00:06:17]URL: /json_proto [00:06:17]Method is POST - this is cgi request [00:06:17]url: /json_proto [00:06:17]query_string will be loaded in cgi processing [00:06:17]execute_cgi json_proto POST (null) [00:06:17]execute_cgi path=json_proto method=POST [00:06:17]POST find Content-Length [00:06:17]Host: 172.17.60.69:8080 [00:06:17]Content-Length: 331 [00:06:17]Content-Type: application/json [00:06:17] [00:06:17]POST finish read [00:06:17]Found Content-Length = 331 [00:06:17]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:06:17]execute_script... [00:06:17]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:06:17]POST & json_proto [00:06:17]process_json_proto [00:06:17]json parsed OK: [00:06:17]protocol is kg_v1.0 [00:06:17]action value=get_value [00:06:17]process_action get_value [00:06:17]cmd_get_value [00:06:17]process_action get_value done [00:06:17]requested_data is exist [00:06:17]produce_requested_data [00:06:17]requested_item fm.sale.total is exist - process it [00:06:17]SAM_PROTO_GetFMData [00:06:17]wFMCommunicate request_size=4 [00:06:17]MH_SAM_APDU [00:06:17]CAPDU: 80 13 03 00 [00:06:17]Write to MH i2c: E2 08 00 AC 03 80 13 03 00 00 00 00 00 2E [00:06:17]Write i2c OK [00:06:17]MH_I2C_Read... [00:06:17]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:06:17]Read from MH i2c: E2 [00:06:17]MH_I2C_Read... [00:06:17]Read from MH i2c: E2 FD 00 [00:06:17]MH_I2C_Read... [00:06:17]Read from MH i2c: E2 FD 00 AC 03 00 C5 04 85 04 C1 04 6E 04 04 00 14 F6 00 00 69 04 A1 00 6F 04 04 00 B7 F3 00 00 B1 04 04 00 ED F4 77 76 70 04 04 00 06 9B CB 65 72 04 04 00 E7 59 AC 10 00 04 7D 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 B0 15 95 0C EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0D 00 F6 03 01 00 01 F7 03 04 00 D4 58 0C 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 5D 02 00 00 B1 04 04 00 64 11 7D 03 70 04 04 00 E0 B5 61 03 72 04 03 00 84 5B 1B 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 F2 D8 5E EF 03 09 90 00 AD [00:06:17]RAPDU: C5 04 85 04 C1 04 6E 04 04 00 14 F6 00 00 69 04 A1 00 6F 04 04 00 B7 F3 00 00 B1 04 04 00 ED F4 77 76 70 04 04 00 06 9B CB 65 72 04 04 00 E7 59 AC 10 00 04 7D 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 B0 15 95 0C EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0D 00 F6 03 01 00 01 F7 03 04 00 D4 58 0C 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 5D 02 00 00 B1 04 04 00 64 11 7D 03 70 04 04 00 E0 B5 61 03 72 04 03 00 84 5B 1B 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 F2 D8 5E EF 03 09 90 00 [00:06:17]wFMCommunicate OK [00:06:17]wFMCommunicate request_size=4 [00:06:17]MH_SAM_APDU [00:06:17]CAPDU: 80 17 00 00 [00:06:17]Write to MH i2c: E2 08 00 AD 03 80 17 00 00 00 00 00 00 30 [00:06:17]Write i2c OK [00:06:17]MH_I2C_Read... [00:06:17]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:06:17]Read from MH i2c: E2 [00:06:17]MH_I2C_Read... [00:06:17]Read from MH i2c: E2 FD 00 [00:06:17]MH_I2C_Read... [00:06:17]Read from MH i2c: E2 FD 00 AD 03 00 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 2E E7 07 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 90 00 02 [00:06:17]RAPDU: 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 2E E7 07 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 90 00 [00:06:18]wFMCommunicate OK [00:06:18]wFMCommunicate request_size=4 [00:06:18]MH_SAM_APDU [00:06:18]CAPDU: 80 17 00 00 [00:06:18]Write to MH i2c: E2 08 00 AE 03 80 17 00 00 00 00 00 00 31 [00:06:18]Write i2c OK [00:06:18]MH_I2C_Read... [00:06:18]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:06:18]Read from MH i2c: E2 [00:06:18]MH_I2C_Read... [00:06:18]Read from MH i2c: E2 FD 00 [00:06:18]MH_I2C_Read... [00:06:18]Read from MH i2c: E2 FD 00 AE 03 00 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 90 00 43 [00:06:18]RAPDU: 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 90 00 [00:06:18]wFMCommunicate OK [00:06:18]wFMCommunicate request_size=4 [00:06:18]MH_SAM_APDU [00:06:18]CAPDU: 80 17 00 00 [00:06:18]Write to MH i2c: E2 08 00 AF 03 80 17 00 00 00 00 00 00 32 [00:06:18]Write i2c OK [00:06:18]MH_I2C_Read... [00:06:18]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:06:18]Read from MH i2c: E2 [00:06:18]MH_I2C_Read... [00:06:18]Read from MH i2c: E2 FD 00 [00:06:18]MH_I2C_Read... [00:06:18]Read from MH i2c: E2 FD 00 AF 03 00 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 90 00 BE [00:06:18]RAPDU: 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 90 00 [00:06:18]wFMCommunicate OK [00:06:18]wFMCommunicate request_size=4 [00:06:18]MH_SAM_APDU [00:06:18]CAPDU: 80 17 00 00 [00:06:18]Write to MH i2c: E2 08 00 B0 03 80 17 00 00 00 00 00 00 33 [00:06:18]Write i2c OK [00:06:18]MH_I2C_Read... [00:06:19]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 223! [00:06:19]Read from MH i2c: E2 [00:06:19]MH_I2C_Read... [00:06:19]Read from MH i2c: E2 E2 00 [00:06:19]MH_I2C_Read... [00:06:19]Read from MH i2c: E2 E2 00 B0 03 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 11 [00:06:19]RAPDU: EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:06:19]wFMCommunicate OK [00:06:19]SAM_PROTO_GetFMData done [00:06:19]requested_item fm.sale_refund.total is exist - process it [00:06:19]requested_item fm.buy.total is exist - process it [00:06:19]requested_item shift.sale.total is exist - process it [00:06:19]SAM_PROTO_GetShiftData [00:06:19]wFMCommunicate request_size=4 [00:06:19]MH_SAM_APDU [00:06:19]CAPDU: 80 13 02 00 [00:06:19]Write to MH i2c: E2 08 00 B1 03 80 13 02 00 00 00 00 00 32 [00:06:19]Write i2c OK [00:06:19]MH_I2C_Read... [00:06:19]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:06:19]Read from MH i2c: E2 [00:06:19]MH_I2C_Read... [00:06:19]Read from MH i2c: E2 FD 00 [00:06:19]MH_I2C_Read... [00:06:19]Read from MH i2c: E2 FD 00 B1 03 00 A0 04 AA 04 9C 04 6E 04 04 00 00 00 00 00 69 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 90 00 A5 [00:06:19]RAPDU: A0 04 AA 04 9C 04 6E 04 04 00 00 00 00 00 69 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 90 00 [00:06:19]wFMCommunicate OK [00:06:19]wFMCommunicate request_size=4 [00:06:19]MH_SAM_APDU [00:06:19]CAPDU: 80 17 00 00 [00:06:19]Write to MH i2c: E2 08 00 B2 03 80 17 00 00 00 00 00 00 35 [00:06:19]Write i2c OK [00:06:19]MH_I2C_Read... [00:06:20]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:06:20]Read from MH i2c: E2 [00:06:20]MH_I2C_Read... [00:06:20]Read from MH i2c: E2 FD 00 [00:06:20]MH_I2C_Read... [00:06:20]Read from MH i2c: E2 FD 00 B2 03 00 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 90 00 3D [00:06:20]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 90 00 [00:06:20]wFMCommunicate OK [00:06:20]wFMCommunicate request_size=4 [00:06:20]MH_SAM_APDU [00:06:20]CAPDU: 80 17 00 00 [00:06:20]Write to MH i2c: E2 08 00 B3 03 80 17 00 00 00 00 00 00 36 [00:06:20]Write i2c OK [00:06:20]MH_I2C_Read... [00:06:20]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:06:20]Read from MH i2c: E2 [00:06:20]MH_I2C_Read... [00:06:20]Read from MH i2c: E2 FD 00 [00:06:20]MH_I2C_Read... [00:06:20]Read from MH i2c: E2 FD 00 B3 03 00 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 90 00 08 [00:06:20]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 90 00 [00:06:20]wFMCommunicate OK [00:06:20]wFMCommunicate request_size=4 [00:06:20]MH_SAM_APDU [00:06:20]CAPDU: 80 17 00 00 [00:06:20]Write to MH i2c: E2 08 00 B4 03 80 17 00 00 00 00 00 00 37 [00:06:20]Write i2c OK [00:06:20]MH_I2C_Read... [00:06:21]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:06:21]Read from MH i2c: E2 [00:06:21]MH_I2C_Read... [00:06:21]Read from MH i2c: E2 FD 00 [00:06:21]MH_I2C_Read... [00:06:21]Read from MH i2c: E2 FD 00 B4 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 90 00 A9 [00:06:21]RAPDU: 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 90 00 [00:06:21]wFMCommunicate OK [00:06:21]wFMCommunicate request_size=4 [00:06:21]MH_SAM_APDU [00:06:21]CAPDU: 80 17 00 00 [00:06:21]Write to MH i2c: E2 08 00 B5 03 80 17 00 00 00 00 00 00 38 [00:06:21]Write i2c OK [00:06:21]MH_I2C_Read... [00:06:21]OFD Sender: No OFD packet to send [00:06:21]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 186! [00:06:21]Read from MH i2c: E2 [00:06:21]MH_I2C_Read... [00:06:21]Read from MH i2c: E2 BD 00 [00:06:21]MH_I2C_Read... [00:06:21]Read from MH i2c: E2 BD 00 B5 03 00 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 1E [00:06:21]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:06:21]wFMCommunicate OK [00:06:21]SAM_PROTO_GetShiftData done [00:06:21]requested_item shift.sale.total_cash is exist - process it [00:06:21]requested_item shift.sale_refund.total is exist - process it [00:06:21]requested_item shift.sale_refund.total_cash is exist - process it [00:06:21]requested_item shift.buy.total is exist - process it [00:06:21]requested_item shift.buy.total_cash is exist - process it [00:06:21]produce_requested_data done [00:06:21]produce_requested_data return {"fm.sale.total":19875729.73,"fm.sale_refund.total":585281.00,"fm.buy.total":0.00,"shift.sale.total":0.00,"shift.sale.total_cash":0.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [00:06:21]process_action_free get_value [00:06:21]json_value_free [00:06:21]json_value_free done [00:06:21]process_json_proto returns [00:06:21]Send response to host [00:06:21]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":19875729.73,"fm.sale_refund.total":585281.00,"fm.buy.total":0.00,"shift.sale.total":0.00,"shift.sale.total_cash":0.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [00:06:21]free response buf [00:06:21]execute_script done [00:06:21]execute_script returns [00:06:21]free content buf [00:06:21]Sock 9.Close socket [00:06:21]Sock 9.Thread stoped [00:06:26]OFD Sender: No OFD packet to send [00:06:31]OFD Sender: No OFD packet to send [00:06:36]OFD Sender: No OFD packet to send [00:06:41]OFD Sender: No OFD packet to send [00:06:46]OFD Sender: No OFD packet to send [00:06:51]OFD Sender: No OFD packet to send [00:06:56]OFD Sender: No OFD packet to send [00:07:01]OFD Sender: No OFD packet to send [00:07:06]OFD Sender: No OFD packet to send [00:07:11]OFD Sender: No OFD packet to send [00:07:16]OFD Sender: No OFD packet to send [00:07:21]OFD Sender: No OFD packet to send [00:07:26]OFD Sender: No OFD packet to send [00:07:31]OFD Sender: No OFD packet to send [00:07:36]OFD Sender: No OFD packet to send [00:07:38]accept exits with 7 [00:07:38]New connection [00:07:38]New thread 3066797412 created [00:07:38]Thread 3066654052 joined [00:07:38]Waiting for new connection... [00:07:38] Sock 7.Parse request [00:07:38]Sock 7.Check first char [00:07:38]Sock 7.First char is OK [00:07:38]request: POST /json_proto HTTP/1.0 [00:07:38]Method: POST [00:07:38]URL: /json_proto [00:07:38]Method is POST - this is cgi request [00:07:38]url: /json_proto [00:07:38]query_string will be loaded in cgi processing [00:07:38]execute_cgi json_proto POST (null) [00:07:38]execute_cgi path=json_proto method=POST [00:07:38]POST find Content-Length [00:07:38]Host: 172.17.60.69:8080 [00:07:38]Content-Length: 215 [00:07:38]Content-Type: application/json [00:07:38] [00:07:38]POST finish read [00:07:38]Found Content-Length = 215 [00:07:38]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:07:38]execute_script... [00:07:38]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:07:38]POST & json_proto [00:07:38]process_json_proto [00:07:38]json parsed OK: [00:07:38]protocol is kg_v1.0 [00:07:38]action value=get_value [00:07:38]process_action get_value [00:07:38]cmd_get_value [00:07:38]process_action get_value done [00:07:38]requested_data is exist [00:07:38]produce_requested_data [00:07:38]requested_item kkm.sn is exist - process it [00:07:38]requested_item kkm.ver is exist - process it [00:07:38]requested_item fm.sn is exist - process it [00:07:38]wFMCommunicate request_size=4 [00:07:38]MH_SAM_APDU [00:07:38]CAPDU: 80 11 00 00 [00:07:38]Write to MH i2c: E2 08 00 B6 03 80 11 00 00 00 00 00 00 33 [00:07:38]Write i2c OK [00:07:38]MH_I2C_Read... [00:07:38]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:07:38]Read from MH i2c: E2 [00:07:38]MH_I2C_Read... [00:07:38]Read from MH i2c: E2 17 00 [00:07:38]MH_I2C_Read... [00:07:38]Read from MH i2c: E2 17 00 B6 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 90 00 85 [00:07:38]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 90 00 [00:07:38]wFMCommunicate OK [00:07:38]requested_item fd.num is exist - process it [00:07:38]SAM_PROTO_GetFieldsCounters [00:07:38]wFMCommunicate request_size=4 [00:07:38]MH_SAM_APDU [00:07:38]CAPDU: 80 13 00 00 [00:07:38]Write to MH i2c: E2 08 00 B7 03 80 13 00 00 00 00 00 00 36 [00:07:38]Write i2c OK [00:07:38]MH_I2C_Read... [00:07:39]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:07:39]Read from MH i2c: E2 [00:07:39]MH_I2C_Read... [00:07:39]Read from MH i2c: E2 62 00 [00:07:39]MH_I2C_Read... [00:07:39]Read from MH i2c: E2 62 00 B7 03 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 33 37 10 04 04 00 FE F8 00 00 0E 04 04 00 75 01 00 00 12 04 04 00 00 00 00 00 5E 04 04 00 00 00 00 00 57 04 04 00 01 00 00 00 19 04 04 00 00 00 00 00 90 00 C5 [00:07:39]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 33 37 10 04 04 00 FE F8 00 00 0E 04 04 00 75 01 00 00 12 04 04 00 00 00 00 00 5E 04 04 00 00 00 00 00 57 04 04 00 01 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:07:39]wFMCommunicate OK [00:07:39]SAM_PROTO_GetFieldsCounters done [00:07:39]requested_item shift.num is exist - process it [00:07:39]requested_item shift.opened is exist - process it [00:07:39]req_shift_opened [00:07:39]FM_GetShiftState [00:07:39]SAM_PROTO_GetShiftState [00:07:39]wFMCommunicate request_size=4 [00:07:39]MH_SAM_APDU [00:07:39]CAPDU: 80 13 01 00 [00:07:39]Write to MH i2c: E2 08 00 B8 03 80 13 01 00 00 00 00 00 38 [00:07:39]Write i2c OK [00:07:39]MH_I2C_Read... [00:07:39]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:07:39]Read from MH i2c: E2 [00:07:39]MH_I2C_Read... [00:07:39]Read from MH i2c: E2 0E 00 [00:07:39]MH_I2C_Read... [00:07:39]Read from MH i2c: E2 0E 00 B8 03 00 09 00 01 F5 08 5D 66 00 00 00 00 90 00 04 [00:07:39]RAPDU: 09 00 01 F5 08 5D 66 00 00 00 00 90 00 [00:07:39]wFMCommunicate OK [00:07:39]SAM_PROTO_GetShiftState done [00:07:39]FM_GetShiftState done [00:07:39]req_shift_opened done [00:07:39]requested_item shift.open_date is exist - process it [00:07:39]req_shift_open_date [00:07:39]req_shift_open_date done [00:07:39]produce_requested_data done [00:07:39]produce_requested_data return {"kkm.sn":"0300000031","kkm.ver":"001","fm.sn":"0000000000875074","fd.num":63742,"shift.num":373,"shift.opened":1,"shift.open_date":1717373173} [00:07:39]process_action_free get_value [00:07:39]json_value_free [00:07:39]json_value_free done [00:07:39]process_json_proto returns [00:07:39]Send response to host [00:07:39]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000031","kkm.ver":"001","fm.sn":"0000000000875074","fd.num":63742,"shift.num":373,"shift.opened":1,"shift.open_date":1717373173}}} [00:07:39]free response buf [00:07:39]execute_script done [00:07:39]execute_script returns [00:07:39]free content buf [00:07:39]Sock 7.Close socket [00:07:39]Sock 7.Thread stoped [00:07:41]OFD Sender: No OFD packet to send [00:07:42]accept exits with 9 [00:07:42]New connection [00:07:42]New thread 3066654052 created [00:07:42]Thread 3066797412 joined [00:07:42]Waiting for new connection... [00:07:42] Sock 9.Parse request [00:07:42]Sock 9.Check first char [00:07:42]Sock 9.First char is OK [00:07:42]request: POST /json_proto HTTP/1.0 [00:07:42]Method: POST [00:07:42]URL: /json_proto [00:07:42]Method is POST - this is cgi request [00:07:42]url: /json_proto [00:07:42]query_string will be loaded in cgi processing [00:07:42]execute_cgi json_proto POST (null) [00:07:42]execute_cgi path=json_proto method=POST [00:07:42]POST find Content-Length [00:07:42]Host: 172.17.60.69:8080 [00:07:42]Content-Length: 331 [00:07:42]Content-Type: application/json [00:07:42] [00:07:42]POST finish read [00:07:42]Found Content-Length = 331 [00:07:42]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:07:42]execute_script... [00:07:42]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:07:42]POST & json_proto [00:07:42]process_json_proto [00:07:42]json parsed OK: [00:07:42]protocol is kg_v1.0 [00:07:42]action value=get_value [00:07:42]process_action get_value [00:07:42]cmd_get_value [00:07:42]process_action get_value done [00:07:42]requested_data is exist [00:07:42]produce_requested_data [00:07:42]requested_item fm.sale.total is exist - process it [00:07:42]SAM_PROTO_GetFMData [00:07:42]wFMCommunicate request_size=4 [00:07:42]MH_SAM_APDU [00:07:42]CAPDU: 80 13 03 00 [00:07:42]Write to MH i2c: E2 08 00 B9 03 80 13 03 00 00 00 00 00 3B [00:07:42]Write i2c OK [00:07:42]MH_I2C_Read... [00:07:42]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:07:42]Read from MH i2c: E2 [00:07:42]MH_I2C_Read... [00:07:42]Read from MH i2c: E2 FD 00 [00:07:42]MH_I2C_Read... [00:07:42]Read from MH i2c: E2 FD 00 B9 03 00 C5 04 85 04 C1 04 6E 04 04 00 14 F6 00 00 69 04 A1 00 6F 04 04 00 B7 F3 00 00 B1 04 04 00 ED F4 77 76 70 04 04 00 06 9B CB 65 72 04 04 00 E7 59 AC 10 00 04 7D 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 B0 15 95 0C EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0D 00 F6 03 01 00 01 F7 03 04 00 D4 58 0C 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 5D 02 00 00 B1 04 04 00 64 11 7D 03 70 04 04 00 E0 B5 61 03 72 04 03 00 84 5B 1B 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 F2 D8 5E EF 03 09 90 00 BA [00:07:42]RAPDU: C5 04 85 04 C1 04 6E 04 04 00 14 F6 00 00 69 04 A1 00 6F 04 04 00 B7 F3 00 00 B1 04 04 00 ED F4 77 76 70 04 04 00 06 9B CB 65 72 04 04 00 E7 59 AC 10 00 04 7D 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 B0 15 95 0C EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0D 00 F6 03 01 00 01 F7 03 04 00 D4 58 0C 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 5D 02 00 00 B1 04 04 00 64 11 7D 03 70 04 04 00 E0 B5 61 03 72 04 03 00 84 5B 1B 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 F2 D8 5E EF 03 09 90 00 [00:07:42]wFMCommunicate OK [00:07:42]wFMCommunicate request_size=4 [00:07:42]MH_SAM_APDU [00:07:42]CAPDU: 80 17 00 00 [00:07:42]Write to MH i2c: E2 08 00 BA 03 80 17 00 00 00 00 00 00 3D [00:07:42]Write i2c OK [00:07:42]MH_I2C_Read... [00:07:42]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:07:42]Read from MH i2c: E2 [00:07:42]MH_I2C_Read... [00:07:42]Read from MH i2c: E2 FD 00 [00:07:42]MH_I2C_Read... [00:07:42]Read from MH i2c: E2 FD 00 BA 03 00 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 2E E7 07 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 90 00 0F [00:07:42]RAPDU: 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 2E E7 07 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 90 00 [00:07:42]wFMCommunicate OK [00:07:42]wFMCommunicate request_size=4 [00:07:42]MH_SAM_APDU [00:07:42]CAPDU: 80 17 00 00 [00:07:42]Write to MH i2c: E2 08 00 BB 03 80 17 00 00 00 00 00 00 3E [00:07:42]Write i2c OK [00:07:42]MH_I2C_Read... [00:07:43]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:07:43]Read from MH i2c: E2 [00:07:43]MH_I2C_Read... [00:07:43]Read from MH i2c: E2 FD 00 [00:07:43]MH_I2C_Read... [00:07:43]Read from MH i2c: E2 FD 00 BB 03 00 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 90 00 50 [00:07:43]RAPDU: 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 90 00 [00:07:43]wFMCommunicate OK [00:07:43]wFMCommunicate request_size=4 [00:07:43]MH_SAM_APDU [00:07:43]CAPDU: 80 17 00 00 [00:07:43]Write to MH i2c: E2 08 00 BC 03 80 17 00 00 00 00 00 00 3F [00:07:43]Write i2c OK [00:07:43]MH_I2C_Read... [00:07:43]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:07:43]Read from MH i2c: E2 [00:07:43]MH_I2C_Read... [00:07:43]Read from MH i2c: E2 FD 00 [00:07:43]MH_I2C_Read... [00:07:43]Read from MH i2c: E2 FD 00 BC 03 00 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 90 00 CB [00:07:43]RAPDU: 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 90 00 [00:07:43]wFMCommunicate OK [00:07:43]wFMCommunicate request_size=4 [00:07:43]MH_SAM_APDU [00:07:43]CAPDU: 80 17 00 00 [00:07:43]Write to MH i2c: E2 08 00 BD 03 80 17 00 00 00 00 00 00 40 [00:07:43]Write i2c OK [00:07:43]MH_I2C_Read... [00:07:43]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 223! [00:07:43]Read from MH i2c: E2 [00:07:43]MH_I2C_Read... [00:07:43]Read from MH i2c: E2 E2 00 [00:07:43]MH_I2C_Read... [00:07:43]Read from MH i2c: E2 E2 00 BD 03 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 1E [00:07:43]RAPDU: EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:07:43]wFMCommunicate OK [00:07:43]SAM_PROTO_GetFMData done [00:07:43]requested_item fm.sale_refund.total is exist - process it [00:07:43]requested_item fm.buy.total is exist - process it [00:07:43]requested_item shift.sale.total is exist - process it [00:07:43]SAM_PROTO_GetShiftData [00:07:43]wFMCommunicate request_size=4 [00:07:43]MH_SAM_APDU [00:07:43]CAPDU: 80 13 02 00 [00:07:43]Write to MH i2c: E2 08 00 BE 03 80 13 02 00 00 00 00 00 3F [00:07:43]Write i2c OK [00:07:43]MH_I2C_Read... [00:07:44]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:07:44]Read from MH i2c: E2 [00:07:44]MH_I2C_Read... [00:07:44]Read from MH i2c: E2 FD 00 [00:07:44]MH_I2C_Read... [00:07:44]Read from MH i2c: E2 FD 00 BE 03 00 A0 04 AA 04 9C 04 6E 04 04 00 00 00 00 00 69 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 90 00 B2 [00:07:44]RAPDU: A0 04 AA 04 9C 04 6E 04 04 00 00 00 00 00 69 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 90 00 [00:07:44]wFMCommunicate OK [00:07:44]wFMCommunicate request_size=4 [00:07:44]MH_SAM_APDU [00:07:44]CAPDU: 80 17 00 00 [00:07:44]Write to MH i2c: E2 08 00 BF 03 80 17 00 00 00 00 00 00 42 [00:07:44]Write i2c OK [00:07:44]MH_I2C_Read... [00:07:44]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:07:44]Read from MH i2c: E2 [00:07:44]MH_I2C_Read... [00:07:44]Read from MH i2c: E2 FD 00 [00:07:44]MH_I2C_Read... [00:07:44]Read from MH i2c: E2 FD 00 BF 03 00 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 90 00 4A [00:07:44]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 90 00 [00:07:44]wFMCommunicate OK [00:07:44]wFMCommunicate request_size=4 [00:07:44]MH_SAM_APDU [00:07:44]CAPDU: 80 17 00 00 [00:07:44]Write to MH i2c: E2 08 00 C0 03 80 17 00 00 00 00 00 00 43 [00:07:44]Write i2c OK [00:07:44]MH_I2C_Read... [00:07:44]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:07:44]Read from MH i2c: E2 [00:07:44]MH_I2C_Read... [00:07:44]Read from MH i2c: E2 FD 00 [00:07:44]MH_I2C_Read... [00:07:44]Read from MH i2c: E2 FD 00 C0 03 00 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 90 00 15 [00:07:44]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 90 00 [00:07:44]wFMCommunicate OK [00:07:44]wFMCommunicate request_size=4 [00:07:44]MH_SAM_APDU [00:07:44]CAPDU: 80 17 00 00 [00:07:44]Write to MH i2c: E2 08 00 C1 03 80 17 00 00 00 00 00 00 44 [00:07:44]Write i2c OK [00:07:44]MH_I2C_Read... [00:07:45]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:07:45]Read from MH i2c: E2 [00:07:45]MH_I2C_Read... [00:07:45]Read from MH i2c: E2 FD 00 [00:07:45]MH_I2C_Read... [00:07:45]Read from MH i2c: E2 FD 00 C1 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 90 00 B6 [00:07:45]RAPDU: 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 90 00 [00:07:45]wFMCommunicate OK [00:07:45]wFMCommunicate request_size=4 [00:07:45]MH_SAM_APDU [00:07:45]CAPDU: 80 17 00 00 [00:07:45]Write to MH i2c: E2 08 00 C2 03 80 17 00 00 00 00 00 00 45 [00:07:45]Write i2c OK [00:07:45]MH_I2C_Read... [00:07:45]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 186! [00:07:45]Read from MH i2c: E2 [00:07:45]MH_I2C_Read... [00:07:45]Read from MH i2c: E2 BD 00 [00:07:45]MH_I2C_Read... [00:07:45]Read from MH i2c: E2 BD 00 C2 03 00 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 2B [00:07:45]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:07:45]wFMCommunicate OK [00:07:45]SAM_PROTO_GetShiftData done [00:07:45]requested_item shift.sale.total_cash is exist - process it [00:07:45]requested_item shift.sale_refund.total is exist - process it [00:07:45]requested_item shift.sale_refund.total_cash is exist - process it [00:07:45]requested_item shift.buy.total is exist - process it [00:07:45]requested_item shift.buy.total_cash is exist - process it [00:07:45]produce_requested_data done [00:07:45]produce_requested_data return {"fm.sale.total":19875729.73,"fm.sale_refund.total":585281.00,"fm.buy.total":0.00,"shift.sale.total":0.00,"shift.sale.total_cash":0.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [00:07:45]process_action_free get_value [00:07:45]json_value_free [00:07:45]json_value_free done [00:07:45]process_json_proto returns [00:07:45]Send response to host [00:07:45]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":19875729.73,"fm.sale_refund.total":585281.00,"fm.buy.total":0.00,"shift.sale.total":0.00,"shift.sale.total_cash":0.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [00:07:45]free response buf [00:07:45]execute_script done [00:07:45]execute_script returns [00:07:45]free content buf [00:07:45]Sock 9.Close socket [00:07:45]Sock 9.Thread stoped [00:07:46]OFD Sender: No OFD packet to send [00:07:51]OFD Sender: No OFD packet to send [00:07:56]OFD Sender: No OFD packet to send [00:08:01]OFD Sender: No OFD packet to send [00:08:06]OFD Sender: No OFD packet to send [00:08:11]OFD Sender: No OFD packet to send [00:08:16]OFD Sender: No OFD packet to send [00:08:21]OFD Sender: No OFD packet to send [00:08:26]OFD Sender: No OFD packet to send [00:08:31]OFD Sender: No OFD packet to send [00:08:36]OFD Sender: No OFD packet to send [00:08:41]OFD Sender: No OFD packet to send [00:08:46]OFD Sender: No OFD packet to send [00:08:51]OFD Sender: No OFD packet to send [00:08:56]OFD Sender: No OFD packet to send [00:09:01]OFD Sender: No OFD packet to send [00:09:06]OFD Sender: No OFD packet to send [00:09:11]OFD Sender: No OFD packet to send [00:09:16]OFD Sender: No OFD packet to send [00:09:21]OFD Sender: No OFD packet to send [00:09:26]OFD Sender: No OFD packet to send [00:09:31]OFD Sender: No OFD packet to send [00:09:36]OFD Sender: No OFD packet to send [00:09:41]OFD Sender: No OFD packet to send [00:09:46]OFD Sender: No OFD packet to send [00:09:51]OFD Sender: No OFD packet to send [00:09:56]OFD Sender: No OFD packet to send [00:10:01]OFD Sender: No OFD packet to send [00:10:06]OFD Sender: No OFD packet to send [00:10:11]OFD Sender: No OFD packet to send [00:10:16]OFD Sender: No OFD packet to send [00:10:21]OFD Sender: No OFD packet to send [00:10:26]OFD Sender: No OFD packet to send [00:10:31]OFD Sender: No OFD packet to send [00:10:36]OFD Sender: No OFD packet to send [00:10:41]OFD Sender: No OFD packet to send [00:10:46]OFD Sender: No OFD packet to send [00:10:51]OFD Sender: No OFD packet to send [00:10:56]OFD Sender: No OFD packet to send [00:11:01]OFD Sender: No OFD packet to send [00:11:06]OFD Sender: No OFD packet to send [00:11:11]OFD Sender: No OFD packet to send [00:11:16]OFD Sender: No OFD packet to send [00:11:21]OFD Sender: No OFD packet to send [00:11:26]OFD Sender: No OFD packet to send [00:11:31]OFD Sender: No OFD packet to send [00:11:36]OFD Sender: No OFD packet to send [00:11:41]OFD Sender: No OFD packet to send [00:11:46]OFD Sender: No OFD packet to send [00:11:51]OFD Sender: No OFD packet to send [00:11:56]OFD Sender: No OFD packet to send [00:12:01]OFD Sender: No OFD packet to send [00:12:06]OFD Sender: No OFD packet to send [00:12:11]OFD Sender: No OFD packet to send [00:12:16]OFD Sender: No OFD packet to send [00:12:21]OFD Sender: No OFD packet to send [00:12:26]OFD Sender: No OFD packet to send [00:12:31]OFD Sender: No OFD packet to send [00:12:36]OFD Sender: No OFD packet to send [00:12:41]OFD Sender: No OFD packet to send [00:12:46]OFD Sender: No OFD packet to send [00:12:51]OFD Sender: No OFD packet to send [00:12:56]OFD Sender: No OFD packet to send [00:13:01]OFD Sender: No OFD packet to send [00:13:06]OFD Sender: No OFD packet to send [00:13:11]OFD Sender: No OFD packet to send [00:13:16]OFD Sender: No OFD packet to send [00:13:21]OFD Sender: No OFD packet to send [00:13:26]OFD Sender: No OFD packet to send [00:13:31]OFD Sender: No OFD packet to send [00:13:36]OFD Sender: No OFD packet to send [00:13:41]OFD Sender: No OFD packet to send [00:13:46]OFD Sender: No OFD packet to send [00:13:51]OFD Sender: No OFD packet to send [00:13:56]OFD Sender: No OFD packet to send [00:14:01]OFD Sender: No OFD packet to send [00:14:06]OFD Sender: No OFD packet to send [00:14:11]OFD Sender: No OFD packet to send [00:14:16]OFD Sender: No OFD packet to send [00:14:21]OFD Sender: No OFD packet to send [00:14:26]OFD Sender: No OFD packet to send [00:14:31]OFD Sender: No OFD packet to send [00:14:36]OFD Sender: No OFD packet to send [00:14:41]OFD Sender: No OFD packet to send [00:14:46]OFD Sender: No OFD packet to send [00:14:51]OFD Sender: No OFD packet to send [00:14:56]OFD Sender: No OFD packet to send [00:15:01]OFD Sender: No OFD packet to send [00:15:06]OFD Sender: No OFD packet to send [00:15:11]OFD Sender: No OFD packet to send [00:15:16]OFD Sender: No OFD packet to send [00:15:21]OFD Sender: No OFD packet to send [00:15:26]OFD Sender: No OFD packet to send [00:15:31]OFD Sender: No OFD packet to send [00:15:36]OFD Sender: No OFD packet to send [00:15:41]OFD Sender: No OFD packet to send [00:15:46]OFD Sender: No OFD packet to send [00:15:51]OFD Sender: No OFD packet to send [00:15:56]OFD Sender: No OFD packet to send [00:16:01]OFD Sender: No OFD packet to send [00:16:06]OFD Sender: No OFD packet to send [00:16:11]OFD Sender: No OFD packet to send [00:16:16]OFD Sender: No OFD packet to send [00:16:21]OFD Sender: No OFD packet to send [00:16:26]OFD Sender: No OFD packet to send [00:16:31]OFD Sender: No OFD packet to send [00:16:37]OFD Sender: No OFD packet to send [00:16:42]OFD Sender: No OFD packet to send [00:16:47]OFD Sender: No OFD packet to send [00:16:52]OFD Sender: No OFD packet to send [00:16:57]OFD Sender: No OFD packet to send [00:17:02]OFD Sender: No OFD packet to send [00:17:07]OFD Sender: No OFD packet to send [00:17:12]OFD Sender: No OFD packet to send [00:17:17]OFD Sender: No OFD packet to send [00:17:22]OFD Sender: No OFD packet to send [00:17:27]OFD Sender: No OFD packet to send [00:17:32]OFD Sender: No OFD packet to send [00:17:37]OFD Sender: No OFD packet to send [00:17:42]OFD Sender: No OFD packet to send [00:17:47]OFD Sender: No OFD packet to send [00:17:52]OFD Sender: No OFD packet to send [00:17:57]OFD Sender: No OFD packet to send [00:18:02]OFD Sender: No OFD packet to send [00:18:07]OFD Sender: No OFD packet to send [00:18:12]OFD Sender: No OFD packet to send [00:18:17]OFD Sender: No OFD packet to send [00:18:22]OFD Sender: No OFD packet to send [00:18:27]OFD Sender: No OFD packet to send [00:18:32]OFD Sender: No OFD packet to send [00:18:37]OFD Sender: No OFD packet to send [00:18:42]OFD Sender: No OFD packet to send [00:18:47]OFD Sender: No OFD packet to send [00:18:52]OFD Sender: No OFD packet to send [00:18:57]OFD Sender: No OFD packet to send [00:19:02]OFD Sender: No OFD packet to send [00:19:07]OFD Sender: No OFD packet to send [00:19:12]OFD Sender: No OFD packet to send [00:19:17]OFD Sender: No OFD packet to send [00:19:22]OFD Sender: No OFD packet to send [00:19:27]OFD Sender: No OFD packet to send [00:19:32]OFD Sender: No OFD packet to send [00:19:37]OFD Sender: No OFD packet to send [00:19:42]OFD Sender: No OFD packet to send [00:19:47]OFD Sender: No OFD packet to send [00:19:52]OFD Sender: No OFD packet to send [00:19:57]OFD Sender: No OFD packet to send [00:20:02]OFD Sender: No OFD packet to send [00:20:07]OFD Sender: No OFD packet to send [00:20:12]OFD Sender: No OFD packet to send [00:20:17]OFD Sender: No OFD packet to send [00:20:22]OFD Sender: No OFD packet to send [00:20:27]OFD Sender: No OFD packet to send [00:20:32]OFD Sender: No OFD packet to send [00:20:37]OFD Sender: No OFD packet to send [00:20:42]OFD Sender: No OFD packet to send [00:20:47]OFD Sender: No OFD packet to send [00:20:52]OFD Sender: No OFD packet to send [00:20:57]OFD Sender: No OFD packet to send [00:21:02]OFD Sender: No OFD packet to send [00:21:07]OFD Sender: No OFD packet to send [00:21:12]OFD Sender: No OFD packet to send [00:21:17]OFD Sender: No OFD packet to send [00:21:22]OFD Sender: No OFD packet to send [00:21:27]OFD Sender: No OFD packet to send [00:21:32]OFD Sender: No OFD packet to send [00:21:37]OFD Sender: No OFD packet to send [00:21:42]OFD Sender: No OFD packet to send [00:21:47]OFD Sender: No OFD packet to send [00:21:52]OFD Sender: No OFD packet to send [00:21:57]OFD Sender: No OFD packet to send [00:22:02]OFD Sender: No OFD packet to send [00:22:07]OFD Sender: No OFD packet to send [00:22:12]OFD Sender: No OFD packet to send [00:22:17]OFD Sender: No OFD packet to send [00:22:22]OFD Sender: No OFD packet to send [00:22:27]OFD Sender: No OFD packet to send [00:22:32]OFD Sender: No OFD packet to send [00:22:37]OFD Sender: No OFD packet to send [00:22:42]OFD Sender: No OFD packet to send [00:22:47]OFD Sender: No OFD packet to send [00:22:52]OFD Sender: No OFD packet to send [00:22:57]OFD Sender: No OFD packet to send [00:23:02]OFD Sender: No OFD packet to send [00:23:07]OFD Sender: No OFD packet to send [00:23:12]OFD Sender: No OFD packet to send [00:23:17]OFD Sender: No OFD packet to send [00:23:22]OFD Sender: No OFD packet to send [00:23:27]OFD Sender: No OFD packet to send [00:23:32]OFD Sender: No OFD packet to send [00:23:37]OFD Sender: No OFD packet to send [00:23:42]OFD Sender: No OFD packet to send [00:23:47]OFD Sender: No OFD packet to send [00:23:52]OFD Sender: No OFD packet to send [00:23:57]OFD Sender: No OFD packet to send [00:24:02]OFD Sender: No OFD packet to send [00:24:07]OFD Sender: No OFD packet to send [00:24:12]OFD Sender: No OFD packet to send [00:24:17]OFD Sender: No OFD packet to send [00:24:22]OFD Sender: No OFD packet to send [00:24:27]OFD Sender: No OFD packet to send [00:24:32]OFD Sender: No OFD packet to send [00:24:37]OFD Sender: No OFD packet to send [00:24:42]OFD Sender: No OFD packet to send [00:24:47]OFD Sender: No OFD packet to send [00:24:52]OFD Sender: No OFD packet to send [00:24:57]OFD Sender: No OFD packet to send [00:25:02]OFD Sender: No OFD packet to send [00:25:07]OFD Sender: No OFD packet to send [00:25:12]OFD Sender: No OFD packet to send [00:25:17]OFD Sender: No OFD packet to send [00:25:22]OFD Sender: No OFD packet to send [00:25:27]OFD Sender: No OFD packet to send [00:25:32]OFD Sender: No OFD packet to send [00:25:37]OFD Sender: No OFD packet to send [00:25:42]OFD Sender: No OFD packet to send [00:25:47]OFD Sender: No OFD packet to send [00:25:52]OFD Sender: No OFD packet to send [00:25:57]OFD Sender: No OFD packet to send [00:26:02]OFD Sender: No OFD packet to send [00:26:07]OFD Sender: No OFD packet to send [00:26:12]OFD Sender: No OFD packet to send [00:26:17]OFD Sender: No OFD packet to send [00:26:22]OFD Sender: No OFD packet to send [00:26:27]OFD Sender: No OFD packet to send [00:26:32]OFD Sender: No OFD packet to send [00:26:37]OFD Sender: No OFD packet to send [00:26:42]OFD Sender: No OFD packet to send [00:26:47]OFD Sender: No OFD packet to send [00:26:52]OFD Sender: No OFD packet to send [00:26:57]OFD Sender: No OFD packet to send [00:27:02]OFD Sender: No OFD packet to send [00:27:07]OFD Sender: No OFD packet to send [00:27:12]OFD Sender: No OFD packet to send [00:27:17]OFD Sender: No OFD packet to send [00:27:22]OFD Sender: No OFD packet to send [00:27:27]OFD Sender: No OFD packet to send [00:27:32]OFD Sender: No OFD packet to send [00:27:37]OFD Sender: No OFD packet to send [00:27:42]OFD Sender: No OFD packet to send [00:27:47]OFD Sender: No OFD packet to send [00:27:52]OFD Sender: No OFD packet to send [00:27:57]OFD Sender: No OFD packet to send [00:28:02]OFD Sender: No OFD packet to send [00:28:07]OFD Sender: No OFD packet to send [00:28:12]OFD Sender: No OFD packet to send [00:28:17]OFD Sender: No OFD packet to send [00:28:22]OFD Sender: No OFD packet to send [00:28:27]OFD Sender: No OFD packet to send [00:28:32]OFD Sender: No OFD packet to send [00:28:37]OFD Sender: No OFD packet to send [00:28:42]OFD Sender: No OFD packet to send [00:28:47]OFD Sender: No OFD packet to send [00:28:52]OFD Sender: No OFD packet to send [00:28:57]OFD Sender: No OFD packet to send [00:29:02]OFD Sender: No OFD packet to send [00:29:07]OFD Sender: No OFD packet to send [00:29:12]OFD Sender: No OFD packet to send [00:29:17]OFD Sender: No OFD packet to send [00:29:22]OFD Sender: No OFD packet to send [00:29:27]OFD Sender: No OFD packet to send [00:29:32]OFD Sender: No OFD packet to send [00:29:37]OFD Sender: No OFD packet to send [00:29:42]OFD Sender: No OFD packet to send [00:29:47]OFD Sender: No OFD packet to send [00:29:52]OFD Sender: No OFD packet to send [00:29:57]OFD Sender: No OFD packet to send [00:30:02]OFD Sender: No OFD packet to send [00:30:07]OFD Sender: No OFD packet to send [00:30:12]OFD Sender: No OFD packet to send [00:30:17]OFD Sender: No OFD packet to send [00:30:22]OFD Sender: No OFD packet to send [00:30:27]OFD Sender: No OFD packet to send [00:30:32]OFD Sender: No OFD packet to send [00:30:37]OFD Sender: No OFD packet to send [00:30:42]OFD Sender: No OFD packet to send [00:30:47]OFD Sender: No OFD packet to send [00:30:52]OFD Sender: No OFD packet to send [00:30:57]OFD Sender: No OFD packet to send [00:31:02]OFD Sender: No OFD packet to send [00:31:07]OFD Sender: No OFD packet to send [00:31:12]OFD Sender: No OFD packet to send [00:31:17]OFD Sender: No OFD packet to send [00:31:22]OFD Sender: No OFD packet to send [00:31:27]OFD Sender: No OFD packet to send [00:31:32]OFD Sender: No OFD packet to send [00:31:37]OFD Sender: No OFD packet to send [00:31:42]OFD Sender: No OFD packet to send [00:31:47]OFD Sender: No OFD packet to send [00:31:52]OFD Sender: No OFD packet to send [00:31:57]OFD Sender: No OFD packet to send [00:32:02]OFD Sender: No OFD packet to send [00:32:07]OFD Sender: No OFD packet to send [00:32:12]OFD Sender: No OFD packet to send [00:32:17]OFD Sender: No OFD packet to send [00:32:22]OFD Sender: No OFD packet to send [00:32:27]OFD Sender: No OFD packet to send [00:32:32]OFD Sender: No OFD packet to send [00:32:37]OFD Sender: No OFD packet to send [00:32:42]OFD Sender: No OFD packet to send [00:32:47]OFD Sender: No OFD packet to send [00:32:52]OFD Sender: No OFD packet to send [00:32:57]OFD Sender: No OFD packet to send [00:33:02]OFD Sender: No OFD packet to send [00:33:07]OFD Sender: No OFD packet to send [00:33:12]OFD Sender: No OFD packet to send [00:33:17]OFD Sender: No OFD packet to send [00:33:22]OFD Sender: No OFD packet to send [00:33:27]OFD Sender: No OFD packet to send [00:33:32]OFD Sender: No OFD packet to send [00:33:37]OFD Sender: No OFD packet to send [00:33:42]OFD Sender: No OFD packet to send [00:33:47]OFD Sender: No OFD packet to send [00:33:52]OFD Sender: No OFD packet to send [00:33:57]OFD Sender: No OFD packet to send [00:34:02]OFD Sender: No OFD packet to send [00:34:07]OFD Sender: No OFD packet to send [00:34:12]OFD Sender: No OFD packet to send [00:34:17]OFD Sender: No OFD packet to send [00:34:22]OFD Sender: No OFD packet to send [00:34:27]OFD Sender: No OFD packet to send [00:34:32]OFD Sender: No OFD packet to send [00:34:37]OFD Sender: No OFD packet to send [00:34:42]OFD Sender: No OFD packet to send [00:34:47]OFD Sender: No OFD packet to send [00:34:52]OFD Sender: No OFD packet to send [00:34:57]OFD Sender: No OFD packet to send [00:35:02]OFD Sender: No OFD packet to send [00:35:07]OFD Sender: No OFD packet to send [00:35:12]OFD Sender: No OFD packet to send [00:35:17]OFD Sender: No OFD packet to send [00:35:22]OFD Sender: No OFD packet to send [00:35:27]OFD Sender: No OFD packet to send [00:35:32]OFD Sender: No OFD packet to send [00:35:37]OFD Sender: No OFD packet to send [00:35:42]OFD Sender: No OFD packet to send [00:35:47]OFD Sender: No OFD packet to send [00:35:52]OFD Sender: No OFD packet to send [00:35:57]OFD Sender: No OFD packet to send [00:36:02]OFD Sender: No OFD packet to send [00:36:07]OFD Sender: No OFD packet to send [00:36:12]OFD Sender: No OFD packet to send [00:36:17]OFD Sender: No OFD packet to send [00:36:22]OFD Sender: No OFD packet to send [00:36:27]OFD Sender: No OFD packet to send [00:36:32]OFD Sender: No OFD packet to send [00:36:37]OFD Sender: No OFD packet to send [00:36:42]OFD Sender: No OFD packet to send [00:36:47]OFD Sender: No OFD packet to send [00:36:52]OFD Sender: No OFD packet to send [00:36:57]OFD Sender: No OFD packet to send [00:37:02]OFD Sender: No OFD packet to send [00:37:07]OFD Sender: No OFD packet to send [00:37:13]OFD Sender: No OFD packet to send [00:37:18]OFD Sender: No OFD packet to send [00:37:23]OFD Sender: No OFD packet to send [00:37:28]OFD Sender: No OFD packet to send [00:37:33]OFD Sender: No OFD packet to send [00:37:38]OFD Sender: No OFD packet to send [00:37:43]OFD Sender: No OFD packet to send [00:37:48]OFD Sender: No OFD packet to send [00:37:53]OFD Sender: No OFD packet to send [00:37:58]OFD Sender: No OFD packet to send [00:38:03]OFD Sender: No OFD packet to send [00:38:08]OFD Sender: No OFD packet to send [00:38:13]OFD Sender: No OFD packet to send [00:38:18]OFD Sender: No OFD packet to send [00:38:23]OFD Sender: No OFD packet to send [00:38:28]OFD Sender: No OFD packet to send [00:38:33]OFD Sender: No OFD packet to send [00:38:38]OFD Sender: No OFD packet to send [00:38:43]OFD Sender: No OFD packet to send [00:38:48]OFD Sender: No OFD packet to send [00:38:53]OFD Sender: No OFD packet to send [00:38:58]OFD Sender: No OFD packet to send [00:39:03]OFD Sender: No OFD packet to send [00:39:08]OFD Sender: No OFD packet to send [00:39:13]OFD Sender: No OFD packet to send [00:39:18]OFD Sender: No OFD packet to send [00:39:23]OFD Sender: No OFD packet to send [00:39:28]OFD Sender: No OFD packet to send [00:39:33]OFD Sender: No OFD packet to send [00:39:38]OFD Sender: No OFD packet to send [00:39:43]OFD Sender: No OFD packet to send [00:39:48]OFD Sender: No OFD packet to send [00:39:53]OFD Sender: No OFD packet to send [00:39:58]OFD Sender: No OFD packet to send [00:40:03]OFD Sender: No OFD packet to send [00:40:08]OFD Sender: No OFD packet to send [00:40:13]OFD Sender: No OFD packet to send [00:40:18]OFD Sender: No OFD packet to send [00:40:23]OFD Sender: No OFD packet to send [00:40:28]OFD Sender: No OFD packet to send [00:40:33]OFD Sender: No OFD packet to send [00:40:38]OFD Sender: No OFD packet to send [00:40:43]OFD Sender: No OFD packet to send [00:40:48]OFD Sender: No OFD packet to send [00:40:53]OFD Sender: No OFD packet to send [00:40:58]OFD Sender: No OFD packet to send [00:41:03]OFD Sender: No OFD packet to send [00:41:08]OFD Sender: No OFD packet to send [00:41:13]OFD Sender: No OFD packet to send [00:41:18]OFD Sender: No OFD packet to send [00:41:23]OFD Sender: No OFD packet to send [00:41:28]OFD Sender: No OFD packet to send [00:41:33]OFD Sender: No OFD packet to send [00:41:38]OFD Sender: No OFD packet to send [00:41:43]OFD Sender: No OFD packet to send [00:41:48]OFD Sender: No OFD packet to send [00:41:53]OFD Sender: No OFD packet to send [00:41:58]OFD Sender: No OFD packet to send [00:42:03]OFD Sender: No OFD packet to send [00:42:08]OFD Sender: No OFD packet to send [00:42:13]OFD Sender: No OFD packet to send [00:42:18]OFD Sender: No OFD packet to send [00:42:23]OFD Sender: No OFD packet to send [00:42:28]OFD Sender: No OFD packet to send [00:42:33]OFD Sender: No OFD packet to send [00:42:38]OFD Sender: No OFD packet to send [00:42:43]OFD Sender: No OFD packet to send [00:42:48]OFD Sender: No OFD packet to send [00:42:53]OFD Sender: No OFD packet to send [00:42:58]OFD Sender: No OFD packet to send [00:43:03]OFD Sender: No OFD packet to send [00:43:08]OFD Sender: No OFD packet to send [00:43:13]OFD Sender: No OFD packet to send [00:43:18]OFD Sender: No OFD packet to send [00:43:23]OFD Sender: No OFD packet to send [00:43:28]OFD Sender: No OFD packet to send [00:43:33]OFD Sender: No OFD packet to send [00:43:38]OFD Sender: No OFD packet to send [00:43:43]OFD Sender: No OFD packet to send [00:43:48]OFD Sender: No OFD packet to send [00:43:53]OFD Sender: No OFD packet to send [00:43:58]OFD Sender: No OFD packet to send [00:44:03]OFD Sender: No OFD packet to send [00:44:08]OFD Sender: No OFD packet to send [00:44:13]OFD Sender: No OFD packet to send [00:44:18]OFD Sender: No OFD packet to send [00:44:23]OFD Sender: No OFD packet to send [00:44:28]OFD Sender: No OFD packet to send [00:44:33]OFD Sender: No OFD packet to send [00:44:38]OFD Sender: No OFD packet to send [00:44:43]OFD Sender: No OFD packet to send [00:44:48]OFD Sender: No OFD packet to send [00:44:53]OFD Sender: No OFD packet to send [00:44:58]OFD Sender: No OFD packet to send [00:45:03]OFD Sender: No OFD packet to send [00:45:08]OFD Sender: No OFD packet to send [00:45:13]OFD Sender: No OFD packet to send [00:45:18]OFD Sender: No OFD packet to send [00:45:23]OFD Sender: No OFD packet to send [00:45:28]OFD Sender: No OFD packet to send [00:45:33]OFD Sender: No OFD packet to send [00:45:38]OFD Sender: No OFD packet to send [00:45:43]OFD Sender: No OFD packet to send [00:45:48]OFD Sender: No OFD packet to send [00:45:53]OFD Sender: No OFD packet to send [00:45:58]OFD Sender: No OFD packet to send [00:46:03]OFD Sender: No OFD packet to send [00:46:08]OFD Sender: No OFD packet to send [00:46:13]OFD Sender: No OFD packet to send [00:46:18]OFD Sender: No OFD packet to send [00:46:23]OFD Sender: No OFD packet to send [00:46:28]OFD Sender: No OFD packet to send [00:46:33]OFD Sender: No OFD packet to send [00:46:38]OFD Sender: No OFD packet to send [00:46:43]OFD Sender: No OFD packet to send [00:46:48]OFD Sender: No OFD packet to send [00:46:53]OFD Sender: No OFD packet to send [00:46:58]OFD Sender: No OFD packet to send [00:47:03]OFD Sender: No OFD packet to send [00:47:08]OFD Sender: No OFD packet to send [00:47:13]OFD Sender: No OFD packet to send [00:47:18]OFD Sender: No OFD packet to send [00:47:23]OFD Sender: No OFD packet to send [00:47:28]OFD Sender: No OFD packet to send [00:47:33]OFD Sender: No OFD packet to send [00:47:38]OFD Sender: No OFD packet to send [00:47:43]OFD Sender: No OFD packet to send [00:47:48]OFD Sender: No OFD packet to send [00:47:53]OFD Sender: No OFD packet to send [00:47:58]OFD Sender: No OFD packet to send [00:48:03]OFD Sender: No OFD packet to send [00:48:08]OFD Sender: No OFD packet to send [00:48:13]OFD Sender: No OFD packet to send [00:48:18]OFD Sender: No OFD packet to send [00:48:23]OFD Sender: No OFD packet to send [00:48:28]OFD Sender: No OFD packet to send [00:48:33]OFD Sender: No OFD packet to send [00:48:38]OFD Sender: No OFD packet to send [00:48:43]OFD Sender: No OFD packet to send [00:48:48]OFD Sender: No OFD packet to send [00:48:53]OFD Sender: No OFD packet to send [00:48:58]OFD Sender: No OFD packet to send [00:49:03]OFD Sender: No OFD packet to send [00:49:08]OFD Sender: No OFD packet to send [00:49:13]OFD Sender: No OFD packet to send [00:49:18]OFD Sender: No OFD packet to send [00:49:23]OFD Sender: No OFD packet to send [00:49:28]OFD Sender: No OFD packet to send [00:49:33]OFD Sender: No OFD packet to send [00:49:38]OFD Sender: No OFD packet to send [00:49:43]OFD Sender: No OFD packet to send [00:49:48]OFD Sender: No OFD packet to send [00:49:53]OFD Sender: No OFD packet to send [00:49:58]OFD Sender: No OFD packet to send [00:50:03]OFD Sender: No OFD packet to send [00:50:08]OFD Sender: No OFD packet to send [00:50:13]OFD Sender: No OFD packet to send [00:50:18]OFD Sender: No OFD packet to send [00:50:23]OFD Sender: No OFD packet to send [00:50:28]OFD Sender: No OFD packet to send [00:50:33]OFD Sender: No OFD packet to send [00:50:38]OFD Sender: No OFD packet to send [00:50:43]OFD Sender: No OFD packet to send [00:50:48]OFD Sender: No OFD packet to send [00:50:53]OFD Sender: No OFD packet to send [00:50:58]OFD Sender: No OFD packet to send [00:51:03]OFD Sender: No OFD packet to send [00:51:08]OFD Sender: No OFD packet to send [00:51:13]OFD Sender: No OFD packet to send [00:51:18]OFD Sender: No OFD packet to send [00:51:23]OFD Sender: No OFD packet to send [00:51:28]OFD Sender: No OFD packet to send [00:51:33]OFD Sender: No OFD packet to send [00:51:38]OFD Sender: No OFD packet to send [00:51:43]OFD Sender: No OFD packet to send [00:51:48]OFD Sender: No OFD packet to send [00:51:53]OFD Sender: No OFD packet to send [00:51:58]OFD Sender: No OFD packet to send [00:52:03]OFD Sender: No OFD packet to send [00:52:08]OFD Sender: No OFD packet to send [00:52:13]OFD Sender: No OFD packet to send [00:52:18]OFD Sender: No OFD packet to send [00:52:23]OFD Sender: No OFD packet to send [00:52:28]OFD Sender: No OFD packet to send [00:52:33]OFD Sender: No OFD packet to send [00:52:38]OFD Sender: No OFD packet to send [00:52:43]OFD Sender: No OFD packet to send [00:52:48]OFD Sender: No OFD packet to send [00:52:53]OFD Sender: No OFD packet to send [00:52:58]OFD Sender: No OFD packet to send [00:53:03]OFD Sender: No OFD packet to send [00:53:08]OFD Sender: No OFD packet to send [00:53:13]OFD Sender: No OFD packet to send [00:53:18]OFD Sender: No OFD packet to send [00:53:23]OFD Sender: No OFD packet to send [00:53:28]OFD Sender: No OFD packet to send [00:53:33]OFD Sender: No OFD packet to send [00:53:38]OFD Sender: No OFD packet to send [00:53:43]OFD Sender: No OFD packet to send [00:53:48]OFD Sender: No OFD packet to send [00:53:49]accept exits with 7 [00:53:49]New connection [00:53:49]New thread 3066797412 created [00:53:49]Thread 3066654052 joined [00:53:49]Waiting for new connection... [00:53:49] Sock 7.Parse request [00:53:49]Sock 7.Check first char [00:53:49]Sock 7.First char is OK [00:53:49]request: POST /json_proto HTTP/1.0 [00:53:49]Method: POST [00:53:49]URL: /json_proto [00:53:49]Method is POST - this is cgi request [00:53:49]url: /json_proto [00:53:49]query_string will be loaded in cgi processing [00:53:49]execute_cgi json_proto POST (null) [00:53:49]execute_cgi path=json_proto method=POST [00:53:49]POST find Content-Length [00:53:49]Host: 172.17.60.69:8080 [00:53:49]Content-Length: 1207 [00:53:49]Content-Type: application/json [00:53:49] [00:53:49]POST finish read [00:53:49]Found Content-Length = 1207 [00:53:49]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)73332", "tax_sys" : 0, "items" : [ { "code": "4700000480357", "name": "\u041F\u0438\u0432\u043E \u0448\u0430\u0445\u0442\u0435\u0440\u0441\u043A\u043E\u0435 1\u043B \u041F\u042D\u0422", "price" : 170.00, "quantity" : 2.000, "sum" : 340.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000066473", "name": "\u0412\u043E\u0434\u0430 \u0411\u043E\u043D\u0430\u043A\u0432\u0430 1\u043B", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000053020015", "name": "\u0411\u0443\u043C\u0430\u0436\u043D\u044B\u0435 \u0441\u0442\u0430\u043A\u0430\u043D\u044B 250\u043C\u043B 1\u0448\u0442", "price" : 7.00, "quantity" : 1.000, "sum" : 7.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 397.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:53:49]execute_script... [00:53:49]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)73332", "tax_sys" : 0, "items" : [ { "code": "4700000480357", "name": "\u041F\u0438\u0432\u043E \u0448\u0430\u0445\u0442\u0435\u0440\u0441\u043A\u043E\u0435 1\u043B \u041F\u042D\u0422", "price" : 170.00, "quantity" : 2.000, "sum" : 340.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000066473", "name": "\u0412\u043E\u0434\u0430 \u0411\u043E\u043D\u0430\u043A\u0432\u0430 1\u043B", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000053020015", "name": "\u0411\u0443\u043C\u0430\u0436\u043D\u044B\u0435 \u0441\u0442\u0430\u043A\u0430\u043D\u044B 250\u043C\u043B 1\u0448\u0442", "price" : 7.00, "quantity" : 1.000, "sum" : 7.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 397.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:53:49]POST & json_proto [00:53:49]process_json_proto [00:53:49]json parsed OK: [00:53:49]protocol is kg_v1.0 [00:53:49]action value=close_receipt [00:53:49]process_action close_receipt [00:53:49]cmd_close_receipt [00:53:49]MH_GetDate [00:53:49]Write to MH i2c: F0 00 00 C3 03 B5 [00:53:49]Write i2c OK [00:53:49]MH_I2C_Read... [00:53:49]Read from MH i2c: F0 [00:53:49]MH_I2C_Read... [00:53:49]Read from MH i2c: F0 09 00 [00:53:49]MH_I2C_Read... [00:53:49]Read from MH i2c: F0 09 00 C3 03 00 1E 14 5D 66 6A 96 4A 66 63 [00:53:49]GetLastDocTimeStamp 1717373173 [00:53:49]current date 1717376030 [00:53:49]FM_GetShiftState [00:53:49]SAM_PROTO_GetShiftState [00:53:49]wFMCommunicate request_size=4 [00:53:49]MH_SAM_APDU [00:53:49]CAPDU: 80 13 01 00 [00:53:49]Write to MH i2c: E2 08 00 C4 03 80 13 01 00 00 00 00 00 44 [00:53:49]Write i2c OK [00:53:49]MH_I2C_Read... [00:53:49]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:53:49]Read from MH i2c: E2 [00:53:49]MH_I2C_Read... [00:53:49]Read from MH i2c: E2 0E 00 [00:53:49]MH_I2C_Read... [00:53:49]Read from MH i2c: E2 0E 00 C4 03 00 09 00 01 F5 08 5D 66 00 00 00 00 90 00 10 [00:53:49]RAPDU: 09 00 01 F5 08 5D 66 00 00 00 00 90 00 [00:53:49]wFMCommunicate OK [00:53:49]SAM_PROTO_GetShiftState done [00:53:49]FM_GetShiftState done [00:53:49]opened in 1717373173 [00:53:49]opened+sec_in_day 1717459573 [00:53:49]quantity*price = 34000 [00:53:49]sum+1 = 34001 [00:53:49]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 5449000066473 Вода Бонаква 1л 1.000 * 50.00 = 50.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 2000053020015 Бумажные стаканы 250мл 1шт 1.000 * 7.00 = 7.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 397.00 НСП 1% : 3.51 НДС 12% : 42.16 Наличными: 397.00 Безнал.: 0.00 Место: АЗС № 117 "Партнер Нефть" Адрес: 720001, г. Каракол, ул. Прежевальского 101/1 (кольцо), 42.500140, 78.386597 СНО: Общий режим Чек 1 03.06.2024 00:53 Смена: 373 ФФД: 1.0 ЗНМ: 0300000031 РНМ: 0000000000092737 Версия ККМ: 001 ФМ: 0000000000875074 ФД: 63743 ФПД: 20265896103680 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240603T005350&type=1&operation_type=1&fn_number=0000000000875074&fd_number=63743&fm=20265896103680&tin=02508201610067®Number=0000000000092737&sum=39700 0 [00:53:50]StoreToDocumentArchive [00:53:50]shift 373 fd 63743 [00:53:50]save to /storage/0373/doc_00063743 [00:53:50]save last doc name /storage/0373/doc_00063743 to /storage/kkm_last_doc_name [00:53:50]save OK [00:53:50]Clear old archive folders... [00:53:50]ProcessDocumentItem done err = 0, tmpTLVsize=498 [00:53:50]tlvbuf is 008BA040 [00:53:50]SAM_PROTO_ClearQueue [00:53:50]wFMCommunicate request_size=4 [00:53:50]MH_SAM_APDU [00:53:50]CAPDU: 80 09 00 00 [00:53:50]Write to MH i2c: E2 08 00 D1 03 80 09 00 00 00 00 00 00 46 [00:53:50]Write i2c OK [00:53:50]MH_I2C_Read... [00:53:50]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [00:53:50]Read from MH i2c: E2 [00:53:50]MH_I2C_Read... [00:53:50]Read from MH i2c: E2 03 00 [00:53:50]MH_I2C_Read... [00:53:50]Read from MH i2c: E2 03 00 D1 03 00 90 00 48 [00:53:50]RAPDU: 90 00 [00:53:50]wFMCommunicate OK [00:53:50]SAM_PROTO_ClearQueue done [00:53:50]KKMCreateOFDPacket [00:53:50]OFDProtocolAddRootSTLVToBuf [00:53:50]FM_MakeSignedData [00:53:50]FM_MakeSignedData [00:53:50]SAM_PROTO_SignData [00:53:50]wFMCommunicate request_size=4 [00:53:50]MH_SAM_APDU [00:53:50]CAPDU: 80 0D 01 02 [00:53:50]Write to MH i2c: E2 08 00 D2 03 80 0D 01 02 00 00 00 00 4E [00:53:50]Write i2c OK [00:53:50]MH_I2C_Read... [00:53:50]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [00:53:50]Read from MH i2c: E2 [00:53:50]MH_I2C_Read... [00:53:50]Read from MH i2c: E2 03 00 [00:53:50]MH_I2C_Read... [00:53:50]Read from MH i2c: E2 03 00 D2 03 00 90 00 49 [00:53:50]RAPDU: 90 00 [00:53:50]wFMCommunicate OK [00:53:50]wFMCommunicate request_size=255 [00:53:50]MH_SAM_APDU [00:53:50]CAPDU: 80 0D 02 02 FA 03 00 F2 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 33 35 37 06 04 28 00 D0 9F D0 B8 D0 B2 D0 BE 20 D1 88 D0 B0 D1 85 D1 82 D0 B5 D1 80 D1 81 D0 BA D0 BE D0 B5 20 31 D0 BB 20 D0 9F D0 AD D0 A2 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 68 42 00 00 00 00 13 04 06 00 D0 84 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5F 00 8A 04 0D 00 35 34 34 39 30 30 30 30 36 36 34 37 33 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D0 BD D0 B0 D0 BA D0 B2 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 71 00 8A 04 0D 00 32 30 30 30 30 35 33 30 32 30 30 31 35 06 04 2D 00 D0 91 D1 83 D0 [00:53:50]Write to MH i2c: E2 02 01 D3 03 80 0D 02 02 FA 00 03 00 F2 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 33 35 37 06 04 28 00 D0 9F D0 B8 D0 B2 D0 BE 20 D1 88 D0 B0 D1 85 D1 82 D0 B5 D1 80 D1 81 D0 BA D0 BE D0 B5 20 31 D0 BB 20 D0 9F D0 AD D0 A2 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 68 42 00 00 00 00 13 04 06 00 D0 84 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5F 00 8A 04 0D 00 35 34 34 39 30 30 30 30 36 36 34 37 33 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D0 BD D0 B0 D0 BA D0 B2 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 71 00 8A 04 0D 00 32 30 30 30 30 35 33 30 32 30 30 31 35 06 04 2D 00 D0 91 D1 83 D0 00 00 20 [00:53:51]Write i2c OK [00:53:51]MH_I2C_Read... [00:53:51]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:53:51]Read from MH i2c: E2 [00:53:51]MH_I2C_Read... [00:53:51]Read from MH i2c: E2 03 00 [00:53:51]MH_I2C_Read... [00:53:51]Read from MH i2c: E2 03 00 D3 03 00 90 00 4A [00:53:51]RAPDU: 90 00 [00:53:51]wFMCommunicate OK [00:53:51]wFMCommunicate request_size=255 [00:53:51]MH_SAM_APDU [00:53:51]CAPDU: 80 0D 02 02 FA BC D0 B0 D0 B6 D0 BD D1 8B D0 B5 20 D1 81 D1 82 D0 B0 D0 BA D0 B0 D0 BD D1 8B 20 32 35 30 D0 BC D0 BB 20 31 D1 88 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 02 00 00 00 00 13 04 06 00 BC 02 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 14 9B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5F 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 78 10 00 00 00 00 07 04 06 00 14 9B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 01 00 00 00 F4 03 04 00 1E 14 5D 66 0E 04 04 00 75 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 10 04 04 00 FF F8 00 00 35 04 06 00 12 6E 85 89 [00:53:51]Write to MH i2c: E2 02 01 D4 03 80 0D 02 02 FA 00 BC D0 B0 D0 B6 D0 BD D1 8B D0 B5 20 D1 81 D1 82 D0 B0 D0 BA D0 B0 D0 BD D1 8B 20 32 35 30 D0 BC D0 BB 20 31 D1 88 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 02 00 00 00 00 13 04 06 00 BC 02 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 14 9B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5F 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 78 10 00 00 00 00 07 04 06 00 14 9B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 01 00 00 00 F4 03 04 00 1E 14 5D 66 0E 04 04 00 75 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 10 04 04 00 FF F8 00 00 35 04 06 00 12 6E 85 89 00 00 7A [00:53:51]Write i2c OK [00:53:51]MH_I2C_Read... [00:53:51]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:53:51]Read from MH i2c: E2 [00:53:51]MH_I2C_Read... [00:53:51]Read from MH i2c: E2 03 00 [00:53:51]MH_I2C_Read... [00:53:51]Read from MH i2c: E2 03 00 D4 03 00 90 00 4B [00:53:51]RAPDU: 90 00 [00:53:51]wFMCommunicate OK [00:53:51]wFMCommunicate request_size=7 [00:53:51]MH_SAM_APDU [00:53:51]CAPDU: 80 0D 02 02 02 CF 00 [00:53:51]Write to MH i2c: E2 0A 00 D5 03 80 0D 02 02 02 00 CF 00 00 00 25 [00:53:51]Write i2c OK [00:53:51]MH_I2C_Read... [00:53:51]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:53:51]Read from MH i2c: E2 [00:53:51]MH_I2C_Read... [00:53:51]Read from MH i2c: E2 03 00 [00:53:51]MH_I2C_Read... [00:53:51]Read from MH i2c: E2 03 00 D5 03 00 90 00 4C [00:53:51]RAPDU: 90 00 [00:53:51]wFMCommunicate OK [00:53:51]wFMCommunicate request_size=4 [00:53:51]MH_SAM_APDU [00:53:51]CAPDU: 80 0D 03 02 [00:53:51]Write to MH i2c: E2 08 00 D6 03 80 0D 03 02 00 00 00 00 54 [00:53:51]Write i2c OK [00:53:51]MH_I2C_Read... [00:53:51]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [00:53:51]Read from MH i2c: E2 [00:53:51]MH_I2C_Read... [00:53:51]Read from MH i2c: E2 0B 00 [00:53:51]MH_I2C_Read... [00:53:51]Read from MH i2c: E2 0B 00 D6 03 00 B7 81 C1 A7 2D 62 0E F6 90 00 88 [00:53:51]RAPDU: B7 81 C1 A7 2D 62 0E F6 90 00 [00:53:51]wFMCommunicate OK [00:53:51]SAM_PROTO_SignData done [00:53:51]FM_MakeSignedData done [00:53:51]CreateOFDProtocolMessage [00:53:51]wFMCommunicate request_size=4 [00:53:51]MH_SAM_APDU [00:53:51]CAPDU: 80 11 00 00 [00:53:51]Write to MH i2c: E2 08 00 D7 03 80 11 00 00 00 00 00 00 54 [00:53:51]Write i2c OK [00:53:51]MH_I2C_Read... [00:53:51]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:53:51]Read from MH i2c: E2 [00:53:51]MH_I2C_Read... [00:53:51]Read from MH i2c: E2 17 00 [00:53:51]MH_I2C_Read... [00:53:51]Read from MH i2c: E2 17 00 D7 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 90 00 A6 [00:53:51]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 90 00 [00:53:51]wFMCommunicate OK [00:53:51]CreateOFDProtocolMessage done [00:53:51]OFDSenderStorePacket 63743 [00:53:51]StoreOFDPacket docnum=63743 [00:53:51]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 06 02 00 00 57 52 FE 01 2C 1E 5A 03 01 00 03 00 F2 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 33 35 37 06 04 28 00 D0 9F D0 B8 D0 B2 D0 BE 20 D1 88 D0 B0 D1 85 D1 82 D0 B5 D1 80 D1 81 D0 BA D0 BE D0 B5 20 31 D0 BB 20 D0 9F D0 AD D0 A2 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 68 42 00 00 00 00 13 04 06 00 D0 84 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5F 00 8A 04 0D 00 35 34 34 39 30 30 30 30 36 36 34 37 33 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D0 BD D0 B0 D0 BA D0 B2 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 71 00 8A 04 0D 00 32 30 30 30 30 35 33 30 32 30 30 31 35 06 04 2D 00 D0 91 D1 83 D0 BC D0 B0 D0 B6 D0 BD D1 8B D0 B5 20 D1 81 D1 82 D0 B0 D0 BA D0 B0 D0 BD D1 8B 20 32 35 30 D0 BC D0 BB 20 31 D1 88 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 02 00 00 00 00 13 04 06 00 BC 02 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 14 9B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5F 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 78 10 00 00 00 00 07 04 06 00 14 9B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 01 00 00 00 F4 03 04 00 1E 14 5D 66 0E 04 04 00 75 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 10 04 04 00 FF F8 00 00 35 04 06 00 12 6E 85 89 CF 00 B7 81 C1 A7 2D 62 0E F6 [00:53:51]CheckFolder [00:53:51]dirname=/storage/ofd_packets [00:53:51]CheckFolder done [00:53:51]ProducePacketName [00:53:51]name=ofd_packets/00063743 [00:53:51]NVStorageSaveData ofd_packets/00063743 [00:53:51]File name is /storage/ofd_packets/00063743 [00:53:51]Write 548 bytes [00:53:51]NVStorageSaveData done [00:53:51]OFDSenderStorePacket done [00:53:51]KKMCreateOFDPacket done [00:53:51]NVStorageSaveData kkm_last_timestamp [00:53:51]File name is /storage/kkm_last_timestamp [00:53:51]Write 4 bytes [00:53:51]NVStorageSaveData done [00:53:51]ExternCall_PrintAddStr [00:53:51]wPrintStart [00:53:51]Write to MH i2c: 01 00 00 D8 03 DB [00:53:51]Write i2c OK [00:53:51]MH_I2C_Read... [00:53:51]Read from MH i2c: 01 [00:53:51]MH_I2C_Read... [00:53:51]Read from MH i2c: 01 07 00 [00:53:51]MH_I2C_Read... [00:53:51]Read from MH i2c: 01 07 00 D8 03 00 00 00 00 00 FF 0F F0 [00:53:51]RasterBufferAndPrint [00:53:51]line Счет N : (3)73332 [00:53:51]line ИНН: 02508201610067 [00:53:51]line Контрольно-Кассовый Чек [00:53:51]line ПРОДАЖА [00:53:51]line Товар: 4700000480357 [00:53:51]line Пиво шахтерское 1л ПЭТ [00:53:51]line 2.000 * 170.00 [00:53:51]line = 340.00 [00:53:51]line НДС 12% НСП 1% [00:53:51]line > о реализуемом товаре [00:53:51]line Товар: 5449000066473 [00:53:51]line Вода Бонаква 1л [00:53:51]line 1.000 * 50.00 [00:53:51]line = 50.00 [00:53:51]line НДС 12% НСП 1% [00:53:51]line > о реализуемом товаре [00:53:51]line Товар: 2000053020015 [00:53:51]line Бумажные стаканы 250мл 1шт [00:53:51]line 1.000 * 7.00 [00:53:51]line = 7.00 [00:53:51]line НДС 12% НСП 1% [00:53:51]line > о реализуемом товаре [00:53:51]line ИТОГО: 397.00 [00:53:51]line НСП 1% : 3.51 [00:53:51]line НДС 12% : 42.16 [00:53:51]line Наличными: 397.00 [00:53:51]line Безнал.: 0.00 [00:53:51]line Место: АЗС № 117 "Партнер Нефть" [00:53:51]line Адрес: 720001, г. Каракол, ул. Прежевальского 101/1 (кольцо), 42.500140, 78.386597 [00:53:51]line СНО: Общий режим [00:53:51]line Чек 1 03.06.2024 00:53 [00:53:51]line Смена: 373 ФФД: 1.0 [00:53:51]line ЗНМ: 0300000031 [00:53:51]line РНМ: 0000000000092737 [00:53:51]line Версия ККМ: 001 [00:53:51]line ФМ: 0000000000875074 [00:53:51]line ФД: 63743 [00:53:51]line ФПД: 20265896103680 [00:53:52]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240603T005350&type=1&operation_type=1&fn_number=0000000000875074&fd_number=63743&fm=20265896103680&tin=02508201610067®Number=0000000000092737&sum=39700 [00:53:52]line 0 [00:53:52]OFD Sender: Processing packet 63743 [packets to send 14, broken 13] [00:53:52]ProducePacketName [00:53:52]name=ofd_packets/00063743 [00:53:52]OFD Sender: To server: pG, [00:53:52]CommunicateWithHost lk.salyk.kg:30040 [00:53:52]ConnectInit lk.salyk.kg [00:53:52]written 0, free lines is 4095 [00:53:52]Connected sock=10 [00:53:52]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 06 02 00 00 57 52 FE 01 2C 1E 5A 03 01 00 03 00 F2 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 33 35 37 06 04 28 00 D0 9F D0 B8 D0 B2 D0 BE 20 D1 88 D0 B0 D1 85 D1 82 D0 B5 D1 80 D1 81 D0 BA D0 BE D0 B5 20 31 D0 BB 20 D0 9F D0 AD D0 A2 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 68 42 00 00 00 00 13 04 06 00 D0 84 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5F 00 8A 04 0D 00 35 34 34 39 30 30 30 30 36 36 34 37 33 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D0 BD D0 B0 D0 BA D0 B2 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 71 00 8A 04 0D 00 32 30 30 30 30 35 33 30 32 30 30 31 35 06 04 2D 00 D0 91 D1 83 D0 BC D0 B0 D0 B6 D0 BD D1 8B D0 B5 20 D1 81 D1 82 D0 B0 D0 BA D0 B0 D0 BD D1 8B 20 32 35 30 D0 BC D0 BB 20 31 D1 88 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 02 00 00 00 00 13 04 06 00 BC 02 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 14 9B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5F 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 78 10 00 00 00 00 07 04 06 00 14 9B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 01 00 00 00 F4 03 04 00 1E 14 5D 66 0E 04 04 00 75 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 10 04 04 00 FF F8 00 00 35 04 06 00 12 6E 85 89 CF 00 B7 81 C1 A7 2D 62 0E F6 [00:53:52]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 4F 00 00 00 F7 19 47 00 9A F2 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 10 04 04 00 FF F8 00 00 F4 03 04 00 F2 BF 5C 66 B6 04 01 00 00 E5 E2 40 B6 E8 0A 35 C8 [00:53:52]CommunicateWithHost err = 0 [00:53:52]CheckOFDResponse [00:53:52]1017 (14) - 77093643461234 [00:53:52]1041 (16) - 0000000000875074 [00:53:52]1040 (4) - 63743 [00:53:52]1012 (4) - 02.06.2024 18:54 [00:53:52]1206 (1) - 0 [00:53:52]OFD Sender: Remove packet 63743 [00:53:52]ProducePacketName [00:53:52]name=ofd_packets/00063743 [00:53:52]NVStorageDeleteData [00:53:52]Write to MH i2c: 01 00 00 0D 04 11 [00:53:52]Write i2c OK [00:53:52]MH_I2C_Read... [00:53:52]Read from MH i2c: 01 [00:53:52]MH_I2C_Read... [00:53:52]Read from MH i2c: 01 07 00 [00:53:52]MH_I2C_Read... [00:53:52]Read from MH i2c: 01 07 00 0D 04 00 00 00 00 00 29 0C 4D [00:53:52]RasterBufferAndPrint [00:53:52]line [00:53:52]line [00:53:52]line [00:53:52]line [00:53:52]line [00:53:52]written 0, free lines is 3118 [00:53:52]MH_Cut [00:53:52]Write to MH i2c: D1 01 00 14 04 01 EA [00:53:52]Write i2c OK [00:53:52]MH_I2C_Read... [00:53:52]Read from MH i2c: D1 [00:53:52]MH_I2C_Read... [00:53:52]Read from MH i2c: D1 01 00 [00:53:52]MH_I2C_Read... [00:53:52]Read from MH i2c: D1 01 00 14 04 00 E9 [00:53:52]Write to MH i2c: 01 00 00 15 04 19 [00:53:52]Write i2c OK [00:53:52]MH_I2C_Read... [00:53:52]OFD Sender: No OFD packet to send [00:53:53]*** Cut start [00:53:53]*** Partial cut [00:53:53]*** CUTSNS_PIN = 1 [00:53:53]*** CUTSNS_PIN = 0 [00:53:53]*** Brake cut motor [00:53:54]Read from MH i2c: 01 [00:53:54]MH_I2C_Read... [00:53:54]*** Stop cut motor [00:53:54]*** Cut end [00:53:54]Read from MH i2c: 01 07 00 [00:53:54]MH_I2C_Read... [00:53:54]Read from MH i2c: 01 07 00 15 04 00 00 00 00 00 FF 0F 2E [00:53:54]process_action close_receipt done [00:53:54]requested_data is exist [00:53:54]produce_requested_data [00:53:54]requested_item fm.sn is exist - process it [00:53:54]wFMCommunicate request_size=4 [00:53:54]MH_SAM_APDU [00:53:54]CAPDU: 80 11 00 00 [00:53:54]Write to MH i2c: E2 08 00 16 04 80 11 00 00 00 00 00 00 94 [00:53:54]Write i2c OK [00:53:54]MH_I2C_Read... [00:53:54]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:53:54]Read from MH i2c: E2 [00:53:54]MH_I2C_Read... [00:53:54]Read from MH i2c: E2 17 00 [00:53:54]MH_I2C_Read... [00:53:54]Read from MH i2c: E2 17 00 16 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 90 00 E6 [00:53:54]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 90 00 [00:53:54]wFMCommunicate OK [00:53:54]requested_item fd.num is exist - process it [00:53:54]SAM_PROTO_GetFieldsCounters [00:53:54]wFMCommunicate request_size=4 [00:53:54]MH_SAM_APDU [00:53:54]CAPDU: 80 13 00 00 [00:53:54]Write to MH i2c: E2 08 00 17 04 80 13 00 00 00 00 00 00 97 [00:53:54]Write i2c OK [00:53:54]MH_I2C_Read... [00:53:54]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:53:54]Read from MH i2c: E2 [00:53:54]MH_I2C_Read... [00:53:54]Read from MH i2c: E2 62 00 [00:53:54]MH_I2C_Read... [00:53:54]Read from MH i2c: E2 62 00 17 04 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 33 37 10 04 04 00 FF F8 00 00 0E 04 04 00 75 01 00 00 12 04 04 00 01 00 00 00 5E 04 04 00 01 00 00 00 57 04 04 00 02 00 00 00 19 04 04 00 00 00 00 00 90 00 2A [00:53:54]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 33 37 10 04 04 00 FF F8 00 00 0E 04 04 00 75 01 00 00 12 04 04 00 01 00 00 00 5E 04 04 00 01 00 00 00 57 04 04 00 02 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:53:54]wFMCommunicate OK [00:53:54]SAM_PROTO_GetFieldsCounters done [00:53:54]requested_item shift.num is exist - process it [00:53:54]requested_item shift.opened is exist - process it [00:53:54]req_shift_opened [00:53:54]FM_GetShiftState [00:53:54]SAM_PROTO_GetShiftState [00:53:54]wFMCommunicate request_size=4 [00:53:54]MH_SAM_APDU [00:53:54]CAPDU: 80 13 01 00 [00:53:54]Write to MH i2c: E2 08 00 18 04 80 13 01 00 00 00 00 00 99 [00:53:54]Write i2c OK [00:53:54]MH_I2C_Read... [00:53:54]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:53:54]Read from MH i2c: E2 [00:53:54]MH_I2C_Read... [00:53:54]Read from MH i2c: E2 0E 00 [00:53:54]MH_I2C_Read... [00:53:54]Read from MH i2c: E2 0E 00 18 04 00 09 00 01 F5 08 5D 66 00 00 00 00 90 00 65 [00:53:54]RAPDU: 09 00 01 F5 08 5D 66 00 00 00 00 90 00 [00:53:54]wFMCommunicate OK [00:53:54]SAM_PROTO_GetShiftState done [00:53:54]FM_GetShiftState done [00:53:54]req_shift_opened done [00:53:54]requested_item shift.open_date is exist - process it [00:53:54]req_shift_open_date [00:53:54]req_shift_open_date done [00:53:54]produce_requested_data done [00:53:54]produce_requested_data return {"fm.sn":"0000000000875074","fd.num":63743,"shift.num":373,"shift.opened":1,"shift.open_date":1717373173} [00:53:54]process_action_free close_receipt [00:53:54]json_value_free [00:53:54]json_value_free done [00:53:54]process_json_proto returns [00:53:54]Send response to host [00:53:54]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875074","fd.num":63743,"shift.num":373,"shift.opened":1,"shift.open_date":1717373173}}} [00:53:54]free response buf [00:53:54]execute_script done [00:53:54]execute_script returns [00:53:54]free content buf [00:53:54]Sock 7.Close socket [00:53:54]Sock 7.Thread stoped [00:53:57]OFD Sender: No OFD packet to send [00:54:02]OFD Sender: No OFD packet to send [00:54:07]OFD Sender: No OFD packet to send [00:54:12]OFD Sender: No OFD packet to send [00:54:17]OFD Sender: No OFD packet to send [00:54:22]OFD Sender: No OFD packet to send [00:54:27]OFD Sender: No OFD packet to send [00:54:32]OFD Sender: No OFD packet to send [00:54:37]OFD Sender: No OFD packet to send [00:54:42]OFD Sender: No OFD packet to send [00:54:47]OFD Sender: No OFD packet to send [00:54:53]OFD Sender: No OFD packet to send [00:54:58]OFD Sender: No OFD packet to send [00:55:03]OFD Sender: No OFD packet to send [00:55:08]OFD Sender: No OFD packet to send [00:55:13]OFD Sender: No OFD packet to send [00:55:18]OFD Sender: No OFD packet to send [00:55:23]OFD Sender: No OFD packet to send [00:55:28]OFD Sender: No OFD packet to send [00:55:33]OFD Sender: No OFD packet to send [00:55:38]OFD Sender: No OFD packet to send [00:55:43]OFD Sender: No OFD packet to send [00:55:48]OFD Sender: No OFD packet to send [00:55:53]OFD Sender: No OFD packet to send [00:55:58]OFD Sender: No OFD packet to send [00:56:03]OFD Sender: No OFD packet to send [00:56:08]OFD Sender: No OFD packet to send [00:56:13]OFD Sender: No OFD packet to send [00:56:18]OFD Sender: No OFD packet to send [00:56:23]OFD Sender: No OFD packet to send [00:56:28]OFD Sender: No OFD packet to send [00:56:33]OFD Sender: No OFD packet to send [00:56:38]OFD Sender: No OFD packet to send [00:56:43]OFD Sender: No OFD packet to send [00:56:48]OFD Sender: No OFD packet to send [00:56:53]OFD Sender: No OFD packet to send [00:56:58]OFD Sender: No OFD packet to send [00:57:03]OFD Sender: No OFD packet to send [00:57:08]OFD Sender: No OFD packet to send [00:57:13]OFD Sender: No OFD packet to send [00:57:18]OFD Sender: No OFD packet to send [00:57:23]OFD Sender: No OFD packet to send [00:57:28]OFD Sender: No OFD packet to send [00:57:33]OFD Sender: No OFD packet to send [00:57:38]OFD Sender: No OFD packet to send [00:57:43]OFD Sender: No OFD packet to send [00:57:48]OFD Sender: No OFD packet to send [00:57:53]OFD Sender: No OFD packet to send [00:57:58]OFD Sender: No OFD packet to send [00:58:03]OFD Sender: No OFD packet to send [00:58:08]OFD Sender: No OFD packet to send [00:58:13]OFD Sender: No OFD packet to send [00:58:18]OFD Sender: No OFD packet to send [00:58:23]OFD Sender: No OFD packet to send [00:58:28]OFD Sender: No OFD packet to send [00:58:33]OFD Sender: No OFD packet to send [00:58:38]OFD Sender: No OFD packet to send [00:58:43]OFD Sender: No OFD packet to send [00:58:48]OFD Sender: No OFD packet to send [00:58:53]OFD Sender: No OFD packet to send [00:58:58]OFD Sender: No OFD packet to send [00:59:03]OFD Sender: No OFD packet to send [00:59:08]OFD Sender: No OFD packet to send [00:59:13]OFD Sender: No OFD packet to send [00:59:18]OFD Sender: No OFD packet to send [00:59:23]OFD Sender: No OFD packet to send [00:59:28]OFD Sender: No OFD packet to send [00:59:33]OFD Sender: No OFD packet to send [00:59:38]OFD Sender: No OFD packet to send [00:59:43]OFD Sender: No OFD packet to send [00:59:48]OFD Sender: No OFD packet to send [00:59:53]OFD Sender: No OFD packet to send [00:59:58]OFD Sender: No OFD packet to send [01:00:03]OFD Sender: No OFD packet to send [01:00:08]OFD Sender: No OFD packet to send [01:00:13]OFD Sender: No OFD packet to send [01:00:18]OFD Sender: No OFD packet to send [01:00:23]OFD Sender: No OFD packet to send [01:00:28]OFD Sender: No OFD packet to send [01:00:33]OFD Sender: No OFD packet to send [01:00:38]OFD Sender: No OFD packet to send [01:00:43]OFD Sender: No OFD packet to send [01:00:48]OFD Sender: No OFD packet to send [01:00:53]OFD Sender: No OFD packet to send [01:00:58]OFD Sender: No OFD packet to send [01:01:03]OFD Sender: No OFD packet to send [01:01:08]OFD Sender: No OFD packet to send [01:01:13]OFD Sender: No OFD packet to send [01:01:18]OFD Sender: No OFD packet to send [01:01:23]OFD Sender: No OFD packet to send [01:01:28]OFD Sender: No OFD packet to send [01:01:33]OFD Sender: No OFD packet to send [01:01:38]OFD Sender: No OFD packet to send [01:01:43]OFD Sender: No OFD packet to send [01:01:48]OFD Sender: No OFD packet to send [01:01:53]OFD Sender: No OFD packet to send [01:01:58]OFD Sender: No OFD packet to send [01:02:03]OFD Sender: No OFD packet to send [01:02:08]OFD Sender: No OFD packet to send [01:02:13]OFD Sender: No OFD packet to send [01:02:18]OFD Sender: No OFD packet to send [01:02:23]OFD Sender: No OFD packet to send [01:02:28]OFD Sender: No OFD packet to send [01:02:33]OFD Sender: No OFD packet to send [01:02:38]OFD Sender: No OFD packet to send [01:02:43]OFD Sender: No OFD packet to send [01:02:48]OFD Sender: No OFD packet to send [01:02:53]OFD Sender: No OFD packet to send [01:02:58]OFD Sender: No OFD packet to send [01:03:03]OFD Sender: No OFD packet to send [01:03:08]OFD Sender: No OFD packet to send [01:03:13]OFD Sender: No OFD packet to send [01:03:18]OFD Sender: No OFD packet to send [01:03:23]OFD Sender: No OFD packet to send [01:03:28]OFD Sender: No OFD packet to send [01:03:33]OFD Sender: No OFD packet to send [01:03:38]OFD Sender: No OFD packet to send [01:03:43]OFD Sender: No OFD packet to send [01:03:48]OFD Sender: No OFD packet to send [01:03:53]OFD Sender: No OFD packet to send [01:03:58]OFD Sender: No OFD packet to send [01:04:03]OFD Sender: No OFD packet to send [01:04:08]OFD Sender: No OFD packet to send [01:04:13]OFD Sender: No OFD packet to send [01:04:18]OFD Sender: No OFD packet to send [01:04:23]OFD Sender: No OFD packet to send [01:04:28]OFD Sender: No OFD packet to send [01:04:33]OFD Sender: No OFD packet to send [01:04:38]OFD Sender: No OFD packet to send [01:04:43]OFD Sender: No OFD packet to send [01:04:48]OFD Sender: No OFD packet to send [01:04:53]OFD Sender: No OFD packet to send [01:04:58]OFD Sender: No OFD packet to send [01:05:03]OFD Sender: No OFD packet to send [01:05:08]OFD Sender: No OFD packet to send [01:05:13]OFD Sender: No OFD packet to send [01:05:18]OFD Sender: No OFD packet to send [01:05:23]OFD Sender: No OFD packet to send [01:05:28]OFD Sender: No OFD packet to send [01:05:33]OFD Sender: No OFD packet to send [01:05:38]OFD Sender: No OFD packet to send [01:05:43]OFD Sender: No OFD packet to send [01:05:48]OFD Sender: No OFD packet to send [01:05:53]OFD Sender: No OFD packet to send [01:05:58]OFD Sender: No OFD packet to send [01:06:03]OFD Sender: No OFD packet to send [01:06:08]OFD Sender: No OFD packet to send [01:06:13]OFD Sender: No OFD packet to send [01:06:18]OFD Sender: No OFD packet to send [01:06:23]OFD Sender: No OFD packet to send [01:06:28]OFD Sender: No OFD packet to send [01:06:33]OFD Sender: No OFD packet to send [01:06:38]OFD Sender: No OFD packet to send [01:06:43]OFD Sender: No OFD packet to send [01:06:48]OFD Sender: No OFD packet to send [01:06:53]OFD Sender: No OFD packet to send [01:06:58]OFD Sender: No OFD packet to send [01:07:03]OFD Sender: No OFD packet to send [01:07:08]OFD Sender: No OFD packet to send [01:07:13]OFD Sender: No OFD packet to send [01:07:18]OFD Sender: No OFD packet to send [01:07:23]OFD Sender: No OFD packet to send [01:07:28]OFD Sender: No OFD packet to send [01:07:33]OFD Sender: No OFD packet to send [01:07:38]OFD Sender: No OFD packet to send [01:07:43]OFD Sender: No OFD packet to send [01:07:48]OFD Sender: No OFD packet to send [01:07:53]OFD Sender: No OFD packet to send [01:07:58]OFD Sender: No OFD packet to send [01:08:03]OFD Sender: No OFD packet to send [01:08:08]OFD Sender: No OFD packet to send [01:08:13]OFD Sender: No OFD packet to send [01:08:18]OFD Sender: No OFD packet to send [01:08:23]OFD Sender: No OFD packet to send [01:08:28]OFD Sender: No OFD packet to send [01:08:33]OFD Sender: No OFD packet to send [01:08:38]OFD Sender: No OFD packet to send [01:08:43]OFD Sender: No OFD packet to send [01:08:48]OFD Sender: No OFD packet to send [01:08:53]OFD Sender: No OFD packet to send [01:08:58]OFD Sender: No OFD packet to send [01:09:03]OFD Sender: No OFD packet to send [01:09:08]OFD Sender: No OFD packet to send [01:09:13]OFD Sender: No OFD packet to send [01:09:18]OFD Sender: No OFD packet to send [01:09:23]OFD Sender: No OFD packet to send [01:09:28]OFD Sender: No OFD packet to send [01:09:33]OFD Sender: No OFD packet to send [01:09:38]OFD Sender: No OFD packet to send [01:09:43]OFD Sender: No OFD packet to send [01:09:48]OFD Sender: No OFD packet to send [01:09:53]OFD Sender: No OFD packet to send [01:09:58]OFD Sender: No OFD packet to send [01:10:03]OFD Sender: No OFD packet to send [01:10:08]OFD Sender: No OFD packet to send [01:10:13]OFD Sender: No OFD packet to send [01:10:18]OFD Sender: No OFD packet to send [01:10:23]OFD Sender: No OFD packet to send [01:10:28]OFD Sender: No OFD packet to send [01:10:33]OFD Sender: No OFD packet to send [01:10:38]OFD Sender: No OFD packet to send [01:10:43]OFD Sender: No OFD packet to send [01:10:48]OFD Sender: No OFD packet to send [01:10:53]OFD Sender: No OFD packet to send [01:10:58]OFD Sender: No OFD packet to send [01:11:03]OFD Sender: No OFD packet to send [01:11:08]OFD Sender: No OFD packet to send [01:11:13]OFD Sender: No OFD packet to send [01:11:18]OFD Sender: No OFD packet to send [01:11:23]OFD Sender: No OFD packet to send [01:11:28]OFD Sender: No OFD packet to send [01:11:33]OFD Sender: No OFD packet to send [01:11:38]OFD Sender: No OFD packet to send [01:11:43]OFD Sender: No OFD packet to send [01:11:48]OFD Sender: No OFD packet to send [01:11:53]OFD Sender: No OFD packet to send [01:11:58]OFD Sender: No OFD packet to send [01:12:03]OFD Sender: No OFD packet to send [01:12:08]OFD Sender: No OFD packet to send [01:12:13]OFD Sender: No OFD packet to send [01:12:18]OFD Sender: No OFD packet to send [01:12:23]OFD Sender: No OFD packet to send [01:12:28]OFD Sender: No OFD packet to send [01:12:33]OFD Sender: No OFD packet to send [01:12:38]OFD Sender: No OFD packet to send [01:12:43]OFD Sender: No OFD packet to send [01:12:48]OFD Sender: No OFD packet to send [01:12:53]OFD Sender: No OFD packet to send [01:12:58]OFD Sender: No OFD packet to send [01:13:03]OFD Sender: No OFD packet to send [01:13:08]OFD Sender: No OFD packet to send [01:13:13]OFD Sender: No OFD packet to send [01:13:18]OFD Sender: No OFD packet to send [01:13:23]OFD Sender: No OFD packet to send [01:13:28]OFD Sender: No OFD packet to send [01:13:33]OFD Sender: No OFD packet to send [01:13:38]OFD Sender: No OFD packet to send [01:13:43]OFD Sender: No OFD packet to send [01:13:48]OFD Sender: No OFD packet to send [01:13:53]OFD Sender: No OFD packet to send [01:13:58]OFD Sender: No OFD packet to send [01:14:03]OFD Sender: No OFD packet to send [01:14:08]OFD Sender: No OFD packet to send [01:14:13]OFD Sender: No OFD packet to send [01:14:18]OFD Sender: No OFD packet to send [01:14:23]OFD Sender: No OFD packet to send [01:14:28]OFD Sender: No OFD packet to send [01:14:33]OFD Sender: No OFD packet to send [01:14:38]OFD Sender: No OFD packet to send [01:14:43]OFD Sender: No OFD packet to send [01:14:48]OFD Sender: No OFD packet to send [01:14:53]OFD Sender: No OFD packet to send [01:14:58]OFD Sender: No OFD packet to send [01:15:03]OFD Sender: No OFD packet to send [01:15:08]OFD Sender: No OFD packet to send [01:15:13]OFD Sender: No OFD packet to send [01:15:18]OFD Sender: No OFD packet to send [01:15:23]OFD Sender: No OFD packet to send [01:15:29]OFD Sender: No OFD packet to send [01:15:34]OFD Sender: No OFD packet to send [01:15:39]OFD Sender: No OFD packet to send [01:15:44]OFD Sender: No OFD packet to send [01:15:49]OFD Sender: No OFD packet to send [01:15:54]OFD Sender: No OFD packet to send [01:15:59]OFD Sender: No OFD packet to send [01:16:04]OFD Sender: No OFD packet to send [01:16:09]OFD Sender: No OFD packet to send [01:16:14]OFD Sender: No OFD packet to send [01:16:19]OFD Sender: No OFD packet to send [01:16:24]OFD Sender: No OFD packet to send [01:16:29]OFD Sender: No OFD packet to send [01:16:34]OFD Sender: No OFD packet to send [01:16:39]OFD Sender: No OFD packet to send [01:16:44]OFD Sender: No OFD packet to send [01:16:49]OFD Sender: No OFD packet to send [01:16:54]OFD Sender: No OFD packet to send [01:16:59]OFD Sender: No OFD packet to send [01:17:04]OFD Sender: No OFD packet to send [01:17:09]OFD Sender: No OFD packet to send [01:17:14]OFD Sender: No OFD packet to send [01:17:19]OFD Sender: No OFD packet to send [01:17:24]OFD Sender: No OFD packet to send [01:17:29]OFD Sender: No OFD packet to send [01:17:34]OFD Sender: No OFD packet to send [01:17:39]OFD Sender: No OFD packet to send [01:17:44]OFD Sender: No OFD packet to send [01:17:49]OFD Sender: No OFD packet to send [01:17:54]OFD Sender: No OFD packet to send [01:17:59]OFD Sender: No OFD packet to send [01:18:04]OFD Sender: No OFD packet to send [01:18:09]OFD Sender: No OFD packet to send [01:18:14]OFD Sender: No OFD packet to send [01:18:19]OFD Sender: No OFD packet to send [01:18:24]OFD Sender: No OFD packet to send [01:18:29]OFD Sender: No OFD packet to send [01:18:34]OFD Sender: No OFD packet to send [01:18:39]OFD Sender: No OFD packet to send [01:18:44]OFD Sender: No OFD packet to send [01:18:49]OFD Sender: No OFD packet to send [01:18:54]OFD Sender: No OFD packet to send [01:18:59]OFD Sender: No OFD packet to send [01:19:04]OFD Sender: No OFD packet to send [01:19:09]OFD Sender: No OFD packet to send [01:19:14]OFD Sender: No OFD packet to send [01:19:19]OFD Sender: No OFD packet to send [01:19:24]OFD Sender: No OFD packet to send [01:19:29]OFD Sender: No OFD packet to send [01:19:34]OFD Sender: No OFD packet to send [01:19:39]OFD Sender: No OFD packet to send [01:19:44]OFD Sender: No OFD packet to send [01:19:49]OFD Sender: No OFD packet to send [01:19:54]OFD Sender: No OFD packet to send [01:19:59]OFD Sender: No OFD packet to send [01:20:04]OFD Sender: No OFD packet to send [01:20:09]OFD Sender: No OFD packet to send [01:20:14]OFD Sender: No OFD packet to send [01:20:19]OFD Sender: No OFD packet to send [01:20:24]OFD Sender: No OFD packet to send [01:20:29]OFD Sender: No OFD packet to send [01:20:34]OFD Sender: No OFD packet to send [01:20:39]OFD Sender: No OFD packet to send [01:20:44]OFD Sender: No OFD packet to send [01:20:49]OFD Sender: No OFD packet to send [01:20:54]OFD Sender: No OFD packet to send [01:20:59]OFD Sender: No OFD packet to send [01:21:04]OFD Sender: No OFD packet to send [01:21:09]OFD Sender: No OFD packet to send [01:21:14]OFD Sender: No OFD packet to send [01:21:19]OFD Sender: No OFD packet to send [01:21:24]OFD Sender: No OFD packet to send [01:21:29]OFD Sender: No OFD packet to send [01:21:34]OFD Sender: No OFD packet to send [01:21:39]OFD Sender: No OFD packet to send [01:21:44]OFD Sender: No OFD packet to send [01:21:49]OFD Sender: No OFD packet to send [01:21:54]OFD Sender: No OFD packet to send [01:21:59]OFD Sender: No OFD packet to send [01:22:04]OFD Sender: No OFD packet to send [01:22:09]OFD Sender: No OFD packet to send [01:22:14]OFD Sender: No OFD packet to send [01:22:19]OFD Sender: No OFD packet to send [01:22:24]OFD Sender: No OFD packet to send [01:22:29]OFD Sender: No OFD packet to send [01:22:34]OFD Sender: No OFD packet to send [01:22:39]OFD Sender: No OFD packet to send [01:22:44]OFD Sender: No OFD packet to send [01:22:49]OFD Sender: No OFD packet to send [01:22:54]OFD Sender: No OFD packet to send [01:22:59]OFD Sender: No OFD packet to send [01:23:04]OFD Sender: No OFD packet to send [01:23:09]OFD Sender: No OFD packet to send [01:23:14]OFD Sender: No OFD packet to send [01:23:19]OFD Sender: No OFD packet to send [01:23:24]OFD Sender: No OFD packet to send [01:23:29]OFD Sender: No OFD packet to send [01:23:34]OFD Sender: No OFD packet to send [01:23:39]OFD Sender: No OFD packet to send [01:23:44]OFD Sender: No OFD packet to send [01:23:49]OFD Sender: No OFD packet to send [01:23:54]OFD Sender: No OFD packet to send [01:23:59]OFD Sender: No OFD packet to send [01:24:04]OFD Sender: No OFD packet to send [01:24:09]OFD Sender: No OFD packet to send [01:24:14]OFD Sender: No OFD packet to send [01:24:19]OFD Sender: No OFD packet to send [01:24:24]OFD Sender: No OFD packet to send [01:24:29]OFD Sender: No OFD packet to send [01:24:34]OFD Sender: No OFD packet to send [01:24:39]OFD Sender: No OFD packet to send [01:24:44]OFD Sender: No OFD packet to send [01:24:49]OFD Sender: No OFD packet to send [01:24:54]OFD Sender: No OFD packet to send [01:24:59]OFD Sender: No OFD packet to send [01:25:04]OFD Sender: No OFD packet to send [01:25:09]OFD Sender: No OFD packet to send [01:25:14]OFD Sender: No OFD packet to send [01:25:19]OFD Sender: No OFD packet to send [01:25:24]OFD Sender: No OFD packet to send [01:25:29]OFD Sender: No OFD packet to send [01:25:34]OFD Sender: No OFD packet to send [01:25:39]OFD Sender: No OFD packet to send [01:25:44]OFD Sender: No OFD packet to send [01:25:49]OFD Sender: No OFD packet to send [01:25:54]OFD Sender: No OFD packet to send [01:25:59]OFD Sender: No OFD packet to send [01:26:04]OFD Sender: No OFD packet to send [01:26:09]OFD Sender: No OFD packet to send [01:26:14]OFD Sender: No OFD packet to send [01:26:19]OFD Sender: No OFD packet to send [01:26:24]OFD Sender: No OFD packet to send [01:26:29]OFD Sender: No OFD packet to send [01:26:34]OFD Sender: No OFD packet to send [01:26:39]OFD Sender: No OFD packet to send [01:26:44]OFD Sender: No OFD packet to send [01:26:49]OFD Sender: No OFD packet to send [01:26:54]OFD Sender: No OFD packet to send [01:26:59]OFD Sender: No OFD packet to send [01:27:04]OFD Sender: No OFD packet to send [01:27:09]OFD Sender: No OFD packet to send [01:27:14]OFD Sender: No OFD packet to send [01:27:19]OFD Sender: No OFD packet to send [01:27:24]OFD Sender: No OFD packet to send [01:27:29]OFD Sender: No OFD packet to send [01:27:34]OFD Sender: No OFD packet to send [01:27:39]OFD Sender: No OFD packet to send [01:27:44]OFD Sender: No OFD packet to send [01:27:49]OFD Sender: No OFD packet to send [01:27:54]OFD Sender: No OFD packet to send [01:27:59]OFD Sender: No OFD packet to send [01:28:04]OFD Sender: No OFD packet to send [01:28:09]OFD Sender: No OFD packet to send [01:28:14]OFD Sender: No OFD packet to send [01:28:19]OFD Sender: No OFD packet to send [01:28:24]OFD Sender: No OFD packet to send [01:28:29]OFD Sender: No OFD packet to send [01:28:34]OFD Sender: No OFD packet to send [01:28:39]OFD Sender: No OFD packet to send [01:28:44]OFD Sender: No OFD packet to send [01:28:49]OFD Sender: No OFD packet to send [01:28:54]OFD Sender: No OFD packet to send [01:28:59]OFD Sender: No OFD packet to send [01:29:04]OFD Sender: No OFD packet to send [01:29:09]OFD Sender: No OFD packet to send [01:29:14]OFD Sender: No OFD packet to send [01:29:19]OFD Sender: No OFD packet to send [01:29:24]OFD Sender: No OFD packet to send [01:29:29]OFD Sender: No OFD packet to send [01:29:34]OFD Sender: No OFD packet to send [01:29:39]OFD Sender: No OFD packet to send [01:29:44]OFD Sender: No OFD packet to send [01:29:49]OFD Sender: No OFD packet to send [01:29:54]OFD Sender: No OFD packet to send [01:29:59]OFD Sender: No OFD packet to send [01:30:04]OFD Sender: No OFD packet to send [01:30:09]OFD Sender: No OFD packet to send [01:30:14]OFD Sender: No OFD packet to send [01:30:19]OFD Sender: No OFD packet to send [01:30:24]OFD Sender: No OFD packet to send [01:30:29]OFD Sender: No OFD packet to send [01:30:34]OFD Sender: No OFD packet to send [01:30:39]OFD Sender: No OFD packet to send [01:30:44]OFD Sender: No OFD packet to send [01:30:49]OFD Sender: No OFD packet to send [01:30:54]OFD Sender: No OFD packet to send [01:30:59]OFD Sender: No OFD packet to send [01:31:04]OFD Sender: No OFD packet to send [01:31:09]OFD Sender: No OFD packet to send [01:31:14]OFD Sender: No OFD packet to send [01:31:19]OFD Sender: No OFD packet to send [01:31:24]OFD Sender: No OFD packet to send [01:31:29]OFD Sender: No OFD packet to send [01:31:34]OFD Sender: No OFD packet to send [01:31:39]OFD Sender: No OFD packet to send [01:31:44]OFD Sender: No OFD packet to send [01:31:49]OFD Sender: No OFD packet to send [01:31:54]OFD Sender: No OFD packet to send [01:31:59]OFD Sender: No OFD packet to send [01:32:04]OFD Sender: No OFD packet to send [01:32:09]OFD Sender: No OFD packet to send [01:32:14]OFD Sender: No OFD packet to send [01:32:19]OFD Sender: No OFD packet to send [01:32:24]OFD Sender: No OFD packet to send [01:32:29]OFD Sender: No OFD packet to send [01:32:34]OFD Sender: No OFD packet to send [01:32:39]OFD Sender: No OFD packet to send [01:32:44]OFD Sender: No OFD packet to send [01:32:49]OFD Sender: No OFD packet to send [01:32:54]OFD Sender: No OFD packet to send [01:32:59]OFD Sender: No OFD packet to send [01:33:04]OFD Sender: No OFD packet to send [01:33:09]OFD Sender: No OFD packet to send [01:33:14]OFD Sender: No OFD packet to send [01:33:19]OFD Sender: No OFD packet to send [01:33:24]OFD Sender: No OFD packet to send [01:33:29]OFD Sender: No OFD packet to send [01:33:34]OFD Sender: No OFD packet to send [01:33:39]OFD Sender: No OFD packet to send [01:33:44]OFD Sender: No OFD packet to send [01:33:49]OFD Sender: No OFD packet to send [01:33:54]OFD Sender: No OFD packet to send [01:33:59]OFD Sender: No OFD packet to send [01:34:04]OFD Sender: No OFD packet to send [01:34:09]OFD Sender: No OFD packet to send [01:34:14]OFD Sender: No OFD packet to send [01:34:19]OFD Sender: No OFD packet to send [01:34:24]OFD Sender: No OFD packet to send [01:34:29]OFD Sender: No OFD packet to send [01:34:34]OFD Sender: No OFD packet to send [01:34:39]OFD Sender: No OFD packet to send [01:34:44]OFD Sender: No OFD packet to send [01:34:49]OFD Sender: No OFD packet to send [01:34:54]OFD Sender: No OFD packet to send [01:34:59]OFD Sender: No OFD packet to send [01:35:04]OFD Sender: No OFD packet to send [01:35:09]OFD Sender: No OFD packet to send [01:35:14]OFD Sender: No OFD packet to send [01:35:19]OFD Sender: No OFD packet to send [01:35:24]OFD Sender: No OFD packet to send [01:35:29]OFD Sender: No OFD packet to send [01:35:34]OFD Sender: No OFD packet to send [01:35:39]OFD Sender: No OFD packet to send [01:35:44]OFD Sender: No OFD packet to send [01:35:49]OFD Sender: No OFD packet to send [01:35:54]OFD Sender: No OFD packet to send [01:35:59]OFD Sender: No OFD packet to send [01:36:04]OFD Sender: No OFD packet to send [01:36:10]OFD Sender: No OFD packet to send [01:36:15]OFD Sender: No OFD packet to send [01:36:20]OFD Sender: No OFD packet to send [01:36:25]OFD Sender: No OFD packet to send [01:36:30]OFD Sender: No OFD packet to send [01:36:35]OFD Sender: No OFD packet to send [01:36:40]OFD Sender: No OFD packet to send [01:36:45]OFD Sender: No OFD packet to send [01:36:50]OFD Sender: No OFD packet to send [01:36:55]OFD Sender: No OFD packet to send [01:37:00]OFD Sender: No OFD packet to send [01:37:05]OFD Sender: No OFD packet to send [01:37:10]OFD Sender: No OFD packet to send [01:37:15]OFD Sender: No OFD packet to send [01:37:20]OFD Sender: No OFD packet to send [01:37:25]OFD Sender: No OFD packet to send [01:37:30]OFD Sender: No OFD packet to send [01:37:35]OFD Sender: No OFD packet to send [01:37:40]OFD Sender: No OFD packet to send [01:37:45]OFD Sender: No OFD packet to send [01:37:50]OFD Sender: No OFD packet to send [01:37:55]OFD Sender: No OFD packet to send [01:38:00]OFD Sender: No OFD packet to send [01:38:05]OFD Sender: No OFD packet to send [01:38:10]OFD Sender: No OFD packet to send [01:38:15]OFD Sender: No OFD packet to send [01:38:20]OFD Sender: No OFD packet to send [01:38:25]OFD Sender: No OFD packet to send [01:38:30]OFD Sender: No OFD packet to send [01:38:35]OFD Sender: No OFD packet to send [01:38:40]OFD Sender: No OFD packet to send [01:38:45]OFD Sender: No OFD packet to send [01:38:50]OFD Sender: No OFD packet to send [01:38:55]OFD Sender: No OFD packet to send [01:39:00]OFD Sender: No OFD packet to send [01:39:05]OFD Sender: No OFD packet to send [01:39:10]OFD Sender: No OFD packet to send [01:39:15]OFD Sender: No OFD packet to send [01:39:20]OFD Sender: No OFD packet to send [01:39:25]OFD Sender: No OFD packet to send [01:39:30]OFD Sender: No OFD packet to send [01:39:35]OFD Sender: No OFD packet to send [01:39:40]OFD Sender: No OFD packet to send [01:39:45]OFD Sender: No OFD packet to send [01:39:50]OFD Sender: No OFD packet to send [01:39:55]OFD Sender: No OFD packet to send [01:40:00]OFD Sender: No OFD packet to send [01:40:05]OFD Sender: No OFD packet to send [01:40:10]OFD Sender: No OFD packet to send [01:40:15]OFD Sender: No OFD packet to send [01:40:20]OFD Sender: No OFD packet to send [01:40:25]OFD Sender: No OFD packet to send [01:40:30]OFD Sender: No OFD packet to send [01:40:35]OFD Sender: No OFD packet to send [01:40:40]OFD Sender: No OFD packet to send [01:40:45]OFD Sender: No OFD packet to send [01:40:50]OFD Sender: No OFD packet to send [01:40:55]OFD Sender: No OFD packet to send [01:41:00]OFD Sender: No OFD packet to send [01:41:05]OFD Sender: No OFD packet to send [01:41:10]OFD Sender: No OFD packet to send [01:41:15]OFD Sender: No OFD packet to send [01:41:20]OFD Sender: No OFD packet to send [01:41:25]OFD Sender: No OFD packet to send [01:41:30]OFD Sender: No OFD packet to send [01:41:35]OFD Sender: No OFD packet to send [01:41:40]OFD Sender: No OFD packet to send [01:41:45]OFD Sender: No OFD packet to send [01:41:50]OFD Sender: No OFD packet to send [01:41:55]OFD Sender: No OFD packet to send [01:42:00]OFD Sender: No OFD packet to send [01:42:05]OFD Sender: No OFD packet to send [01:42:10]OFD Sender: No OFD packet to send [01:42:15]OFD Sender: No OFD packet to send [01:42:20]OFD Sender: No OFD packet to send [01:42:25]OFD Sender: No OFD packet to send [01:42:30]OFD Sender: No OFD packet to send [01:42:35]OFD Sender: No OFD packet to send [01:42:40]OFD Sender: No OFD packet to send [01:42:45]OFD Sender: No OFD packet to send [01:42:50]OFD Sender: No OFD packet to send [01:42:55]OFD Sender: No OFD packet to send [01:43:00]OFD Sender: No OFD packet to send [01:43:05]OFD Sender: No OFD packet to send [01:43:10]OFD Sender: No OFD packet to send [01:43:15]OFD Sender: No OFD packet to send [01:43:20]OFD Sender: No OFD packet to send [01:43:25]OFD Sender: No OFD packet to send [01:43:30]OFD Sender: No OFD packet to send [01:43:35]OFD Sender: No OFD packet to send [01:43:40]OFD Sender: No OFD packet to send [01:43:45]OFD Sender: No OFD packet to send [01:43:50]OFD Sender: No OFD packet to send [01:43:55]OFD Sender: No OFD packet to send [01:44:00]OFD Sender: No OFD packet to send [01:44:05]OFD Sender: No OFD packet to send [01:44:10]OFD Sender: No OFD packet to send [01:44:15]OFD Sender: No OFD packet to send [01:44:20]OFD Sender: No OFD packet to send [01:44:25]OFD Sender: No OFD packet to send [01:44:30]OFD Sender: No OFD packet to send [01:44:35]OFD Sender: No OFD packet to send [01:44:40]OFD Sender: No OFD packet to send [01:44:45]OFD Sender: No OFD packet to send [01:44:50]OFD Sender: No OFD packet to send [01:44:55]OFD Sender: No OFD packet to send [01:45:00]OFD Sender: No OFD packet to send [01:45:05]OFD Sender: No OFD packet to send [01:45:10]OFD Sender: No OFD packet to send [01:45:15]OFD Sender: No OFD packet to send [01:45:20]OFD Sender: No OFD packet to send [01:45:25]OFD Sender: No OFD packet to send [01:45:30]OFD Sender: No OFD packet to send [01:45:35]OFD Sender: No OFD packet to send [01:45:40]OFD Sender: No OFD packet to send [01:45:45]OFD Sender: No OFD packet to send [01:45:50]OFD Sender: No OFD packet to send [01:45:55]OFD Sender: No OFD packet to send [01:46:00]OFD Sender: No OFD packet to send [01:46:05]OFD Sender: No OFD packet to send [01:46:10]OFD Sender: No OFD packet to send [01:46:15]OFD Sender: No OFD packet to send [01:46:20]OFD Sender: No OFD packet to send [01:46:25]OFD Sender: No OFD packet to send [01:46:30]OFD Sender: No OFD packet to send [01:46:35]OFD Sender: No OFD packet to send [01:46:40]OFD Sender: No OFD packet to send [01:46:45]OFD Sender: No OFD packet to send [01:46:50]OFD Sender: No OFD packet to send [01:46:55]OFD Sender: No OFD packet to send [01:47:00]OFD Sender: No OFD packet to send [01:47:05]OFD Sender: No OFD packet to send [01:47:10]OFD Sender: No OFD packet to send [01:47:15]OFD Sender: No OFD packet to send [01:47:20]OFD Sender: No OFD packet to send [01:47:25]OFD Sender: No OFD packet to send [01:47:30]OFD Sender: No OFD packet to send [01:47:35]OFD Sender: No OFD packet to send [01:47:40]OFD Sender: No OFD packet to send [01:47:45]OFD Sender: No OFD packet to send [01:47:50]OFD Sender: No OFD packet to send [01:47:55]OFD Sender: No OFD packet to send [01:48:00]OFD Sender: No OFD packet to send [01:48:05]OFD Sender: No OFD packet to send [01:48:10]OFD Sender: No OFD packet to send [01:48:15]OFD Sender: No OFD packet to send [01:48:20]OFD Sender: No OFD packet to send [01:48:25]OFD Sender: No OFD packet to send [01:48:30]OFD Sender: No OFD packet to send [01:48:35]OFD Sender: No OFD packet to send [01:48:40]OFD Sender: No OFD packet to send [01:48:45]OFD Sender: No OFD packet to send [01:48:50]OFD Sender: No OFD packet to send [01:48:55]OFD Sender: No OFD packet to send [01:49:00]OFD Sender: No OFD packet to send [01:49:05]OFD Sender: No OFD packet to send [01:49:10]OFD Sender: No OFD packet to send [01:49:15]OFD Sender: No OFD packet to send [01:49:20]OFD Sender: No OFD packet to send [01:49:25]OFD Sender: No OFD packet to send [01:49:30]OFD Sender: No OFD packet to send [01:49:35]OFD Sender: No OFD packet to send [01:49:40]OFD Sender: No OFD packet to send [01:49:45]OFD Sender: No OFD packet to send [01:49:50]OFD Sender: No OFD packet to send [01:49:55]OFD Sender: No OFD packet to send [01:50:00]OFD Sender: No OFD packet to send [01:50:05]OFD Sender: No OFD packet to send [01:50:10]OFD Sender: No OFD packet to send [01:50:15]OFD Sender: No OFD packet to send [01:50:20]OFD Sender: No OFD packet to send [01:50:25]OFD Sender: No OFD packet to send [01:50:30]OFD Sender: No OFD packet to send [01:50:35]OFD Sender: No OFD packet to send [01:50:40]OFD Sender: No OFD packet to send [01:50:45]OFD Sender: No OFD packet to send [01:50:50]OFD Sender: No OFD packet to send [01:50:55]OFD Sender: No OFD packet to send [01:51:00]OFD Sender: No OFD packet to send [01:51:02]accept exits with 9 [01:51:02]New connection [01:51:02]New thread 3066654052 created [01:51:02]Thread 3066797412 joined [01:51:02]Waiting for new connection... [01:51:02] Sock 9.Parse request [01:51:02]Sock 9.Check first char [01:51:02]Sock 9.First char is OK [01:51:02]request: POST /json_proto HTTP/1.0 [01:51:02]Method: POST [01:51:02]URL: /json_proto [01:51:02]Method is POST - this is cgi request [01:51:02]url: /json_proto [01:51:02]query_string will be loaded in cgi processing [01:51:02]execute_cgi json_proto POST (null) [01:51:02]execute_cgi path=json_proto method=POST [01:51:02]POST find Content-Length [01:51:02]Host: 172.17.60.69:8080 [01:51:02]Content-Length: 694 [01:51:02]Content-Type: application/json [01:51:02] [01:51:02]POST finish read [01:51:02]Found Content-Length = 694 [01:51:02]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)73333", "tax_sys" : 0, "items" : [ { "code": "2000032760017", "name": "\u0421\u043B\u043E\u0439\u043A\u0430 DC \u0442\u0440\u0435\u0443\u0433\u043E\u043B\u044C\u043D\u0430\u044F \u043C\u044F\u0441\u043E110\u0433", "price" : 65.00, "quantity" : 1.000, "sum" : 65.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 65.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [01:51:02]execute_script... [01:51:02]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)73333", "tax_sys" : 0, "items" : [ { "code": "2000032760017", "name": "\u0421\u043B\u043E\u0439\u043A\u0430 DC \u0442\u0440\u0435\u0443\u0433\u043E\u043B\u044C\u043D\u0430\u044F \u043C\u044F\u0441\u043E110\u0433", "price" : 65.00, "quantity" : 1.000, "sum" : 65.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 65.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [01:51:02]POST & json_proto [01:51:02]process_json_proto [01:51:02]json parsed OK: [01:51:02]protocol is kg_v1.0 [01:51:02]action value=close_receipt [01:51:02]process_action close_receipt [01:51:02]cmd_close_receipt [01:51:02]MH_GetDate [01:51:02]Write to MH i2c: F0 00 00 19 04 0C [01:51:02]Write i2c OK [01:51:02]MH_I2C_Read... [01:51:02]Read from MH i2c: F0 [01:51:02]MH_I2C_Read... [01:51:02]Read from MH i2c: F0 09 00 [01:51:02]MH_I2C_Read... [01:51:02]Read from MH i2c: F0 09 00 19 04 00 87 21 5D 66 6A 96 4A 66 30 [01:51:02]GetLastDocTimeStamp 1717376030 [01:51:02]current date 1717379463 [01:51:02]FM_GetShiftState [01:51:02]SAM_PROTO_GetShiftState [01:51:02]wFMCommunicate request_size=4 [01:51:02]MH_SAM_APDU [01:51:02]CAPDU: 80 13 01 00 [01:51:02]Write to MH i2c: E2 08 00 1A 04 80 13 01 00 00 00 00 00 9B [01:51:02]Write i2c OK [01:51:02]MH_I2C_Read... [01:51:02]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:51:02]Read from MH i2c: E2 [01:51:02]MH_I2C_Read... [01:51:02]Read from MH i2c: E2 0E 00 [01:51:02]MH_I2C_Read... [01:51:02]Read from MH i2c: E2 0E 00 1A 04 00 09 00 01 F5 08 5D 66 00 00 00 00 90 00 67 [01:51:02]RAPDU: 09 00 01 F5 08 5D 66 00 00 00 00 90 00 [01:51:02]wFMCommunicate OK [01:51:02]SAM_PROTO_GetShiftState done [01:51:02]FM_GetShiftState done [01:51:02]opened in 1717373173 [01:51:02]opened+sec_in_day 1717459573 [01:51:02]quantity*price = 6500 [01:51:02]sum+1 = 6501 [01:51:02]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 65.00 НСП 1% : 0.57 НДС 12% : 6.90 Наличными: 65.00 Безнал.: 0.00 Место: АЗС № 117 "Партнер Нефть" Адрес: 720001, г. Каракол, ул. Прежевальского 101/1 (кольцо), 42.500140, 78.386597 СНО: Общий режим Чек 2 03.06.2024 01:51 Смена: 373 ФФД: 1.0 ЗНМ: 0300000031 РНМ: 0000000000092737 Версия ККМ: 001 ФМ: 0000000000875074 ФД: 63744 ФПД: 143209008712398 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240603T015103&type=1&operation_type=1&fn_number=0000000000875074&fd_number=63744&fm=143209008712398&tin=02508201610067®Number=0000000000092737&sum=6500 0 [01:51:03]StoreToDocumentArchive [01:51:03]shift 373 fd 63744 [01:51:03]save to /storage/0373/doc_00063744 [01:51:03]save last doc name /storage/0373/doc_00063744 to /storage/kkm_last_doc_name [01:51:03]save OK [01:51:03]Clear old archive folders... [01:51:03]ProcessDocumentItem done err = 0, tmpTLVsize=294 [01:51:03]tlvbuf is 008B51A0 [01:51:03]SAM_PROTO_ClearQueue [01:51:03]wFMCommunicate request_size=4 [01:51:03]MH_SAM_APDU [01:51:03]CAPDU: 80 09 00 00 [01:51:03]Write to MH i2c: E2 08 00 27 04 80 09 00 00 00 00 00 00 9D [01:51:03]Write i2c OK [01:51:03]MH_I2C_Read... [01:51:03]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [01:51:03]Read from MH i2c: E2 [01:51:03]MH_I2C_Read... [01:51:03]Read from MH i2c: E2 03 00 [01:51:03]MH_I2C_Read... [01:51:03]Read from MH i2c: E2 03 00 27 04 00 90 00 9F [01:51:03]RAPDU: 90 00 [01:51:03]wFMCommunicate OK [01:51:03]SAM_PROTO_ClearQueue done [01:51:03]KKMCreateOFDPacket [01:51:03]OFDProtocolAddRootSTLVToBuf [01:51:03]FM_MakeSignedData [01:51:03]FM_MakeSignedData [01:51:03]SAM_PROTO_SignData [01:51:03]wFMCommunicate request_size=4 [01:51:03]MH_SAM_APDU [01:51:03]CAPDU: 80 0D 01 02 [01:51:03]Write to MH i2c: E2 08 00 28 04 80 0D 01 02 00 00 00 00 A5 [01:51:03]Write i2c OK [01:51:03]MH_I2C_Read... [01:51:03]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [01:51:03]Read from MH i2c: E2 [01:51:03]MH_I2C_Read... [01:51:03]Read from MH i2c: E2 03 00 [01:51:03]MH_I2C_Read... [01:51:03]Read from MH i2c: E2 03 00 28 04 00 90 00 A0 [01:51:03]RAPDU: 90 00 [01:51:03]wFMCommunicate OK [01:51:03]wFMCommunicate request_size=255 [01:51:03]MH_SAM_APDU [01:51:03]CAPDU: 80 0D 02 02 FA 03 00 26 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 32 30 30 30 30 33 32 37 36 30 30 31 37 06 04 34 00 D0 A1 D0 BB D0 BE D0 B9 D0 BA D0 B0 20 44 43 20 D1 82 D1 80 D0 B5 D1 83 D0 B3 D0 BE D0 BB D1 8C D0 BD D0 B0 D1 8F 20 D0 BC D1 8F D1 81 D0 BE 31 31 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 64 19 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 64 19 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 39 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B2 02 00 00 00 00 07 04 06 00 64 19 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 02 00 00 00 F4 03 04 00 87 21 5D 66 0E 04 04 00 75 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 [01:51:03]Write to MH i2c: E2 02 01 29 04 80 0D 02 02 FA 00 03 00 26 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 32 30 30 30 30 33 32 37 36 30 30 31 37 06 04 34 00 D0 A1 D0 BB D0 BE D0 B9 D0 BA D0 B0 20 44 43 20 D1 82 D1 80 D0 B5 D1 83 D0 B3 D0 BE D0 BB D1 8C D0 BD D0 B0 D1 8F 20 D0 BC D1 8F D1 81 D0 BE 31 31 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 64 19 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 64 19 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 39 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B2 02 00 00 00 00 07 04 06 00 64 19 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 02 00 00 00 F4 03 04 00 87 21 5D 66 0E 04 04 00 75 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 00 00 31 [01:51:03]Write i2c OK [01:51:03]MH_I2C_Read... [01:51:03]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:51:03]Read from MH i2c: E2 [01:51:03]MH_I2C_Read... [01:51:03]Read from MH i2c: E2 03 00 [01:51:03]MH_I2C_Read... [01:51:03]Read from MH i2c: E2 03 00 29 04 00 90 00 A1 [01:51:03]RAPDU: 90 00 [01:51:03]wFMCommunicate OK [01:51:03]wFMCommunicate request_size=53 [01:51:03]MH_SAM_APDU [01:51:03]CAPDU: 80 0D 02 02 30 30 30 30 30 30 39 32 37 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 10 04 04 00 00 F9 00 00 35 04 06 00 82 3F 72 17 CA CE [01:51:03]Write to MH i2c: E2 38 00 2A 04 80 0D 02 02 30 00 30 30 30 30 30 39 32 37 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 10 04 04 00 00 F9 00 00 35 04 06 00 82 3F 72 17 CA CE 00 00 7A [01:51:03]Write i2c OK [01:51:03]MH_I2C_Read... [01:51:03]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:51:03]Read from MH i2c: E2 [01:51:03]MH_I2C_Read... [01:51:03]Read from MH i2c: E2 03 00 [01:51:03]MH_I2C_Read... [01:51:03]Read from MH i2c: E2 03 00 2A 04 00 90 00 A2 [01:51:03]RAPDU: 90 00 [01:51:03]wFMCommunicate OK [01:51:03]wFMCommunicate request_size=4 [01:51:03]MH_SAM_APDU [01:51:03]CAPDU: 80 0D 03 02 [01:51:03]Write to MH i2c: E2 08 00 2B 04 80 0D 03 02 00 00 00 00 AA [01:51:03]Write i2c OK [01:51:03]MH_I2C_Read... [01:51:03]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [01:51:03]Read from MH i2c: E2 [01:51:03]MH_I2C_Read... [01:51:03]Read from MH i2c: E2 0B 00 [01:51:03]MH_I2C_Read... [01:51:03]Read from MH i2c: E2 0B 00 2B 04 00 A4 A4 A5 B9 EB 94 81 EC 90 00 3D [01:51:03]RAPDU: A4 A4 A5 B9 EB 94 81 EC 90 00 [01:51:03]wFMCommunicate OK [01:51:03]SAM_PROTO_SignData done [01:51:03]FM_MakeSignedData done [01:51:03]CreateOFDProtocolMessage [01:51:03]wFMCommunicate request_size=4 [01:51:03]MH_SAM_APDU [01:51:03]CAPDU: 80 11 00 00 [01:51:03]Write to MH i2c: E2 08 00 2C 04 80 11 00 00 00 00 00 00 AA [01:51:03]Write i2c OK [01:51:03]MH_I2C_Read... [01:51:03]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:51:03]Read from MH i2c: E2 [01:51:03]MH_I2C_Read... [01:51:03]Read from MH i2c: E2 17 00 [01:51:03]MH_I2C_Read... [01:51:03]Read from MH i2c: E2 17 00 2C 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 90 00 FC [01:51:03]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 90 00 [01:51:03]wFMCommunicate OK [01:51:03]CreateOFDProtocolMessage done [01:51:03]OFDSenderStorePacket 63744 [01:51:03]StoreOFDPacket docnum=63744 [01:51:03]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 3A 01 00 00 D0 4F 32 01 41 4B 5A 03 01 00 03 00 26 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 32 30 30 30 30 33 32 37 36 30 30 31 37 06 04 34 00 D0 A1 D0 BB D0 BE D0 B9 D0 BA D0 B0 20 44 43 20 D1 82 D1 80 D0 B5 D1 83 D0 B3 D0 BE D0 BB D1 8C D0 BD D0 B0 D1 8F 20 D0 BC D1 8F D1 81 D0 BE 31 31 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 64 19 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 64 19 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 39 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B2 02 00 00 00 00 07 04 06 00 64 19 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 02 00 00 00 F4 03 04 00 87 21 5D 66 0E 04 04 00 75 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 10 04 04 00 00 F9 00 00 35 04 06 00 82 3F 72 17 CA CE A4 A4 A5 B9 EB 94 81 EC [01:51:03]CheckFolder [01:51:03]dirname=/storage/ofd_packets [01:51:03]CheckFolder done [01:51:03]ProducePacketName [01:51:03]name=ofd_packets/00063744 [01:51:03]NVStorageSaveData ofd_packets/00063744 [01:51:03]File name is /storage/ofd_packets/00063744 [01:51:03]Write 344 bytes [01:51:03]NVStorageSaveData done [01:51:03]OFDSenderStorePacket done [01:51:03]KKMCreateOFDPacket done [01:51:03]NVStorageSaveData kkm_last_timestamp [01:51:03]File name is /storage/kkm_last_timestamp [01:51:03]Write 4 bytes [01:51:03]NVStorageSaveData done [01:51:03]ExternCall_PrintAddStr [01:51:03]wPrintStart [01:51:03]Write to MH i2c: 01 00 00 2D 04 31 [01:51:03]Write i2c OK [01:51:03]MH_I2C_Read... [01:51:03]Read from MH i2c: 01 [01:51:03]MH_I2C_Read... [01:51:03]Read from MH i2c: 01 07 00 [01:51:03]MH_I2C_Read... [01:51:03]Read from MH i2c: 01 07 00 2D 04 00 00 00 00 00 FF 0F 46 [01:51:03]RasterBufferAndPrint [01:51:03]line Счет N : (3)73333 [01:51:03]line ИНН: 02508201610067 [01:51:03]line Контрольно-Кассовый Чек [01:51:03]line ПРОДАЖА [01:51:03]line Товар: 2000032760017 [01:51:03]line Слойка DC треугольная мясо110г [01:51:03]line 1.000 * 65.00 [01:51:03]line = 65.00 [01:51:03]line НДС 12% НСП 1% [01:51:03]line > о реализуемом товаре [01:51:03]line ИТОГО: 65.00 [01:51:03]line НСП 1% : 0.57 [01:51:03]line НДС 12% : 6.90 [01:51:03]line Наличными: 65.00 [01:51:03]line Безнал.: 0.00 [01:51:03]line Место: АЗС № 117 "Партнер Нефть" [01:51:03]line Адрес: 720001, г. Каракол, ул. Прежевальского 101/1 (кольцо), 42.500140, 78.386597 [01:51:03]line СНО: Общий режим [01:51:03]line Чек 2 03.06.2024 01:51 [01:51:03]line Смена: 373 ФФД: 1.0 [01:51:03]line ЗНМ: 0300000031 [01:51:03]line РНМ: 0000000000092737 [01:51:03]line Версия ККМ: 001 [01:51:03]line ФМ: 0000000000875074 [01:51:03]line ФД: 63744 [01:51:03]line ФПД: 143209008712398 [01:51:03]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240603T015103&type=1&operation_type=1&fn_number=0000000000875074&fd_number=63744&fm=143209008712398&tin=02508201610067®Number=0000000000092737&sum=6500 [01:51:04]OFD Sender: Processing packet 63744 [packets to send 14, broken 13] [01:51:04]ProducePacketName [01:51:04]name=ofd_packets/00063744 [01:51:04]OFD Sender: To server: pG, [01:51:04]CommunicateWithHost lk.salyk.kg:30040 [01:51:04]ConnectInit lk.salyk.kg [01:51:04]line 0 [01:51:04]written 0, free lines is 4095 [01:51:04]Connected sock=10 [01:51:04]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 3A 01 00 00 D0 4F 32 01 41 4B 5A 03 01 00 03 00 26 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 32 30 30 30 30 33 32 37 36 30 30 31 37 06 04 34 00 D0 A1 D0 BB D0 BE D0 B9 D0 BA D0 B0 20 44 43 20 D1 82 D1 80 D0 B5 D1 83 D0 B3 D0 BE D0 BB D1 8C D0 BD D0 B0 D1 8F 20 D0 BC D1 8F D1 81 D0 BE 31 31 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 64 19 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 64 19 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 39 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B2 02 00 00 00 00 07 04 06 00 64 19 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 02 00 00 00 F4 03 04 00 87 21 5D 66 0E 04 04 00 75 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 10 04 04 00 00 F9 00 00 35 04 06 00 82 3F 72 17 CA CE A4 A4 A5 B9 EB 94 81 EC [01:51:04]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 4F 00 00 00 B7 F5 47 00 4E 8D A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 10 04 04 00 00 F9 00 00 F4 03 04 00 5A CD 5C 66 B6 04 01 00 00 B9 4F 86 83 AB 72 F0 FC [01:51:04]CommunicateWithHost err = 0 [01:51:04]CheckOFDResponse [01:51:04]1017 (14) - 77093643461234 [01:51:04]1041 (16) - 0000000000875074 [01:51:04]1040 (4) - 63744 [01:51:04]1012 (4) - 02.06.2024 19:51 [01:51:04]1206 (1) - 0 [01:51:04]OFD Sender: Remove packet 63744 [01:51:04]ProducePacketName [01:51:04]name=ofd_packets/00063744 [01:51:04]NVStorageDeleteData [01:51:04]Write to MH i2c: 01 00 00 56 04 5A [01:51:04]Write i2c OK [01:51:04]MH_I2C_Read... [01:51:04]Read from MH i2c: 01 [01:51:04]MH_I2C_Read... [01:51:04]Read from MH i2c: 01 07 00 [01:51:04]MH_I2C_Read... [01:51:04]Read from MH i2c: 01 07 00 56 04 00 00 00 00 00 D4 0C 41 [01:51:04]RasterBufferAndPrint [01:51:04]line [01:51:04]line [01:51:04]line [01:51:04]line [01:51:04]line [01:51:04]written 0, free lines is 3291 [01:51:04]MH_Cut [01:51:04]Write to MH i2c: D1 01 00 5D 04 01 33 [01:51:04]Write i2c OK [01:51:04]MH_I2C_Read... [01:51:04]Read from MH i2c: D1 [01:51:04]MH_I2C_Read... [01:51:04]Read from MH i2c: D1 01 00 [01:51:04]MH_I2C_Read... [01:51:04]Read from MH i2c: D1 01 00 5D 04 00 32 [01:51:04]Write to MH i2c: 01 00 00 5E 04 62 [01:51:04]Write i2c OK [01:51:04]MH_I2C_Read... [01:51:05]OFD Sender: No OFD packet to send [01:51:05]*** Cut start [01:51:05]*** Partial cut [01:51:05]*** CUTSNS_PIN = 1 [01:51:05]*** CUTSNS_PIN = 0 [01:51:05]*** Brake cut motor [01:51:06]Read from MH i2c: 01 [01:51:06]MH_I2C_Read... [01:51:06]*** Stop cut motor [01:51:06]*** Cut end [01:51:06]Read from MH i2c: 01 07 00 [01:51:06]MH_I2C_Read... [01:51:06]Read from MH i2c: 01 07 00 5E 04 00 00 00 00 00 FF 0F 77 [01:51:06]process_action close_receipt done [01:51:06]requested_data is exist [01:51:06]produce_requested_data [01:51:06]requested_item fm.sn is exist - process it [01:51:06]wFMCommunicate request_size=4 [01:51:06]MH_SAM_APDU [01:51:06]CAPDU: 80 11 00 00 [01:51:06]Write to MH i2c: E2 08 00 5F 04 80 11 00 00 00 00 00 00 DD [01:51:06]Write i2c OK [01:51:06]MH_I2C_Read... [01:51:06]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:51:06]Read from MH i2c: E2 [01:51:06]MH_I2C_Read... [01:51:06]Read from MH i2c: E2 17 00 [01:51:06]MH_I2C_Read... [01:51:06]Read from MH i2c: E2 17 00 5F 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 90 00 2F [01:51:06]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 90 00 [01:51:06]wFMCommunicate OK [01:51:06]requested_item fd.num is exist - process it [01:51:06]SAM_PROTO_GetFieldsCounters [01:51:06]wFMCommunicate request_size=4 [01:51:06]MH_SAM_APDU [01:51:06]CAPDU: 80 13 00 00 [01:51:06]Write to MH i2c: E2 08 00 60 04 80 13 00 00 00 00 00 00 E0 [01:51:06]Write i2c OK [01:51:06]MH_I2C_Read... [01:51:06]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [01:51:06]Read from MH i2c: E2 [01:51:06]MH_I2C_Read... [01:51:06]Read from MH i2c: E2 62 00 [01:51:06]MH_I2C_Read... [01:51:06]Read from MH i2c: E2 62 00 60 04 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 33 37 10 04 04 00 00 F9 00 00 0E 04 04 00 75 01 00 00 12 04 04 00 02 00 00 00 5E 04 04 00 02 00 00 00 57 04 04 00 03 00 00 00 19 04 04 00 00 00 00 00 90 00 78 [01:51:06]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 37 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 33 37 10 04 04 00 00 F9 00 00 0E 04 04 00 75 01 00 00 12 04 04 00 02 00 00 00 5E 04 04 00 02 00 00 00 57 04 04 00 03 00 00 00 19 04 04 00 00 00 00 00 90 00 [01:51:06]wFMCommunicate OK [01:51:06]SAM_PROTO_GetFieldsCounters done [01:51:06]requested_item shift.num is exist - process it [01:51:06]requested_item shift.opened is exist - process it [01:51:06]req_shift_opened [01:51:06]FM_GetShiftState [01:51:06]SAM_PROTO_GetShiftState [01:51:06]wFMCommunicate request_size=4 [01:51:06]MH_SAM_APDU [01:51:06]CAPDU: 80 13 01 00 [01:51:06]Write to MH i2c: E2 08 00 61 04 80 13 01 00 00 00 00 00 E2 [01:51:06]Write i2c OK [01:51:06]MH_I2C_Read... [01:51:06]Read from MH i2c: E2 [01:51:06]MH_I2C_Read... [01:51:06]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:51:06]Read from MH i2c: E2 0E 00 [01:51:06]MH_I2C_Read... [01:51:06]Read from MH i2c: E2 0E 00 61 04 00 09 00 01 F5 08 5D 66 00 00 00 00 90 00 AE [01:51:06]RAPDU: 09 00 01 F5 08 5D 66 00 00 00 00 90 00 [01:51:06]wFMCommunicate OK [01:51:06]SAM_PROTO_GetShiftState done [01:51:06]FM_GetShiftState done [01:51:06]req_shift_opened done [01:51:06]requested_item shift.open_date is exist - process it [01:51:06]req_shift_open_date [01:51:06]req_shift_open_date done [01:51:06]produce_requested_data done [01:51:06]produce_requested_data return {"fm.sn":"0000000000875074","fd.num":63744,"shift.num":373,"shift.opened":1,"shift.open_date":1717373173} [01:51:06]process_action_free close_receipt [01:51:06]json_value_free [01:51:06]json_value_free done [01:51:06]process_json_proto returns [01:51:06]Send response to host [01:51:06]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875074","fd.num":63744,"shift.num":373,"shift.opened":1,"shift.open_date":1717373173}}} [01:51:06]free response buf [01:51:06]execute_script done [01:51:06]execute_script returns [01:51:06]free content buf [01:51:06]Sock 9.Close socket [01:51:06]Sock 9.Thread stoped [01:51:10]OFD Sender: No OFD packet to send [01:51:15]OFD Sender: No OFD packet to send [01:51:20]OFD Sender: No OFD packet to send [01:51:25]OFD Sender: No OFD packet to send [01:51:30]OFD Sender: No OFD packet to send [01:51:35]OFD Sender: No OFD packet to send [01:51:40]OFD Sender: No OFD packet to send [01:51:45]OFD Sender: No OFD packet to send [01:51:50]OFD Sender: No OFD packet to send [01:51:55]OFD Sender: No OFD packet to send [01:52:00]OFD Sender: No OFD packet to send [01:52:05]OFD Sender: No OFD packet to send [01:52:10]OFD Sender: No OFD packet to send [01:52:15]OFD Sender: No OFD packet to send [01:52:20]OFD Sender: No OFD packet to send [01:52:25]OFD Sender: No OFD packet to send [01:52:30]OFD Sender: No OFD packet to send [01:52:35]OFD Sender: No OFD packet to send [01:52:40]OFD Sender: No OFD packet to send [01:52:45]OFD Sender: No OFD packet to send [01:52:50]OFD Sender: No OFD packet to send [01:52:55]OFD Sender: No OFD packet to send [01:53:00]OFD Sender: No OFD packet to send [01:53:05]OFD Sender: No OFD packet to send [01:53:10]OFD Sender: No OFD packet to send [01:53:15]OFD Sender: No OFD packet to send [01:53:20]OFD Sender: No OFD packet to send [01:53:25]OFD Sender: No OFD packet to send [01:53:30]OFD Sender: No OFD packet to send [01:53:35]OFD Sender: No OFD packet to send [01:53:40]OFD Sender: No OFD packet to send [01:53:45]OFD Sender: No OFD packet to send [01:53:50]OFD Sender: No OFD packet to send [01:53:55]OFD Sender: No OFD packet to send [01:54:00]OFD Sender: No OFD packet to send [01:54:05]OFD Sender: No OFD packet to send [01:54:10]OFD Sender: No OFD packet to send [01:54:15]OFD Sender: No OFD packet to send [01:54:20]OFD Sender: No OFD packet to send [01:54:25]OFD Sender: No OFD packet to send [01:54:30]OFD Sender: No OFD packet to send [01:54:35]OFD Sender: No OFD packet to send [01:54:40]OFD Sender: No OFD packet to send [01:54:45]OFD Sender: No OFD packet to send [01:54:50]OFD Sender: No OFD packet to send [01:54:55]OFD Sender: No OFD packet to send [01:55:00]OFD Sender: No OFD packet to send [01:55:05]OFD Sender: No OFD packet to send [01:55:10]OFD Sender: No OFD packet to send [01:55:15]OFD Sender: No OFD packet to send [01:55:20]OFD Sender: No OFD packet to send [01:55:25]OFD Sender: No OFD packet to send [01:55:30]OFD Sender: No OFD packet to send [01:55:35]OFD Sender: No OFD packet to send [01:55:40]OFD Sender: No OFD packet to send [01:55:45]OFD Sender: No OFD packet to send [01:55:50]OFD Sender: No OFD packet to send [01:55:55]OFD Sender: No OFD packet to send [01:56:00]OFD Sender: No OFD packet to send [01:56:05]OFD Sender: No OFD packet to send [01:56:10]OFD Sender: No OFD packet to send [01:56:15]OFD Sender: No OFD packet to send [01:56:20]OFD Sender: No OFD packet to send [01:56:25]OFD Sender: No OFD packet to send [01:56:30]OFD Sender: No OFD packet to send [01:56:35]OFD Sender: No OFD packet to send [01:56:40]OFD Sender: No OFD packet to send [01:56:45]OFD Sender: No OFD packet to send [01:56:50]OFD Sender: No OFD packet to send [01:56:55]OFD Sender: No OFD packet to send [01:57:00]OFD Sender: No OFD packet to send [01:57:05]OFD Sender: No OFD packet to send [01:57:10]OFD Sender: No OFD packet to send [01:57:15]OFD Sender: No OFD packet to send [01:57:20]OFD Sender: No OFD packet to send [01:57:25]OFD Sender: No OFD packet to send [01:57:30]OFD Sender: No OFD packet to send [01:57:35]OFD Sender: No OFD packet to send [01:57:40]OFD Sender: No OFD packet to send [01:57:45]OFD Sender: No OFD packet to send [01:57:50]OFD Sender: No OFD packet to send [01:57:55]OFD Sender: No OFD packet to send [01:58:00]OFD Sender: No OFD packet to send [01:58:05]OFD Sender: No OFD packet to send [01:58:10]OFD Sender: No OFD packet to send [01:58:15]OFD Sender: No OFD packet to send [01:58:20]OFD Sender: No OFD packet to send [01:58:25]OFD Sender: No OFD packet to send [01:58:30]OFD Sender: No OFD packet to send [01:58:35]OFD Sender: No OFD packet to send [01:58:40]OFD Sender: No OFD packet to send [01:58:45]OFD Sender: No OFD packet to send [01:58:50]OFD Sender: No OFD packet to send [01:58:55]OFD Sender: No OFD packet to send [01:59:00]OFD Sender: No OFD packet to send [01:59:05]OFD Sender: No OFD packet to send [01:59:10]OFD Sender: No OFD packet to send [01:59:15]OFD Sender: No OFD packet to send [01:59:20]OFD Sender: No OFD packet to send [01:59:25]OFD Sender: No OFD packet to send [01:59:30]OFD Sender: No OFD packet to send [01:59:35]OFD Sender: No OFD packet to send [01:59:40]OFD Sender: No OFD packet to send [01:59:45]OFD Sender: No OFD packet to send [01:59:50]OFD Sender: No OFD packet to send [01:59:55]OFD Sender: No OFD packet to send [02:00:00]OFD Sender: No OFD packet to send [02:00:05]OFD Sender: No OFD packet to send [02:00:10]OFD Sender: No OFD packet to send [02:00:15]OFD Sender: No OFD packet to send [02:00:20]OFD Sender: No OFD packet to send [02:00:25]OFD Sender: No OFD packet to send [02:00:30]OFD Sender: No OFD packet to send [02:00:35]OFD Sender: No OFD packet to send [02:00:40]OFD Sender: No OFD packet to send [02:00:45]OFD Sender: No OFD packet to send [02:00:50]OFD Sender: No OFD packet to send [02:00:55]OFD Sender: No OFD packet to send [02:01:00]OFD Sender: No OFD packet to send [02:01:05]OFD Sender: No OFD packet to send [02:01:10]OFD Sender: No OFD packet to send [02:01:15]OFD Sender: No OFD packet to send [02:01:20]OFD Sender: No OFD packet to send [02:01:25]OFD Sender: No OFD packet to send [02:01:30]OFD Sender: No OFD packet to send [02:01:35]OFD Sender: No OFD packet to send [02:01:40]OFD Sender: No OFD packet to send [02:01:45]OFD Sender: No OFD packet to send [02:01:50]OFD Sender: No OFD packet to send [02:01:55]OFD Sender: No OFD packet to send [02:02:00]OFD Sender: No OFD packet to send [02:02:05]OFD Sender: No OFD packet to send [02:02:10]OFD Sender: No OFD packet to send [02:02:15]OFD Sender: No OFD packet to send [02:02:20]OFD Sender: No OFD packet to send [02:02:25]OFD Sender: No OFD packet to send [02:02:30]OFD Sender: No OFD packet to send [02:02:35]OFD Sender: No OFD packet to send [02:02:40]OFD Sender: No OFD packet to send [02:02:45]OFD Sender: No OFD packet to send [02:02:50]OFD Sender: No OFD packet to send [02:02:55]OFD Sender: No OFD packet to send [02:03:00]OFD Sender: No OFD packet to send [02:03:05]OFD Sender: No OFD packet to send [02:03:10]OFD Sender: No OFD packet to send [02:03:15]OFD Sender: No OFD packet to send [02:03:20]OFD Sender: No OFD packet to send [02:03:25]OFD Sender: No OFD packet to send [02:03:30]OFD Sender: No OFD packet to send [02:03:35]OFD Sender: No OFD packet to send [02:03:40]OFD Sender: No OFD packet to send [02:03:45]OFD Sender: No OFD packet to send [02:03:50]OFD Sender: No OFD packet to send [02:03:55]OFD Sender: No OFD packet to send [02:04:00]OFD Sender: No OFD packet to send [02:04:05]OFD Sender: No OFD packet to send [02:04:10]OFD Sender: No OFD packet to send [02:04:15]OFD Sender: No OFD packet to send [02:04:20]OFD Sender: No OFD packet to send [02:04:25]OFD Sender: No OFD packet to send [02:04:30]OFD Sender: No OFD packet to send [02:04:35]OFD Sender: No OFD packet to send [02:04:40]OFD Sender: No OFD packet to send [02:04:45]OFD Sender: No OFD packet to send [02:04:50]OFD Sender: No OFD packet to send [02:04:55]OFD Sender: No OFD packet to send [02:05:00]OFD Sender: No OFD packet to send [02:05:05]OFD Sender: No OFD packet to send [02:05:10]OFD Sender: No OFD packet to send [02:05:15]OFD Sender: No OFD packet to send [02:05:20]OFD Sender: No OFD packet to send [02:05:25]OFD Sender: No OFD packet to send [02:05:30]OFD Sender: No OFD packet to send [02:05:35]OFD Sender: No OFD packet to send [02:05:40]OFD Sender: No OFD packet to send [02:05:45]OFD Sender: No OFD packet to send [02:05:50]OFD Sender: No OFD packet to send [02:05:55]OFD Sender: No OFD packet to send [02:06:00]OFD Sender: No OFD packet to send [02:06:05]OFD Sender: No OFD packet to send [02:06:10]OFD Sender: No OFD packet to send [02:06:15]OFD Sender: No OFD packet to send [02:06:20]OFD Sender: No OFD packet to send [02:06:25]OFD Sender: No OFD packet to send [02:06:30]OFD Sender: No OFD packet to send [02:06:35]OFD Sender: No OFD packet to send [02:06:40]OFD Sender: No OFD packet to send [02:06:45]OFD Sender: No OFD packet to send [02:06:50]OFD Sender: No OFD packet to send [02:06:55]OFD Sender: No OFD packet to send [02:07:00]OFD Sender: No OFD packet to send [02:07:05]OFD Sender: No OFD packet to send [02:07:10]OFD Sender: No OFD packet to send [02:07:15]OFD Sender: No OFD packet to send [02:07:20]OFD Sender: No OFD packet to send [02:07:25]OFD Sender: No OFD packet to send [02:07:30]OFD Sender: No OFD packet to send [02:07:35]OFD Sender: No OFD packet to send [02:07:40]OFD Sender: No OFD packet to send [02:07:45]OFD Sender: No OFD packet to send [02:07:50]OFD Sender: No OFD packet to send [02:07:55]OFD Sender: No OFD packet to send [02:08:00]OFD Sender: No OFD packet to send [02:08:05]OFD Sender: No OFD packet to send [02:08:10]OFD Sender: No OFD packet to send [02:08:15]OFD Sender: No OFD packet to send [02:08:20]OFD Sender: No OFD packet to send [02:08:25]OFD Sender: No OFD packet to send [02:08:30]OFD Sender: No OFD packet to send [02:08:35]OFD Sender: No OFD packet to send [02:08:40]OFD Sender: No OFD packet to send [02:08:45]OFD Sender: No OFD packet to send [02:08:50]OFD Sender: No OFD packet to send [02:08:55]OFD Sender: No OFD packet to send [02:09:00]OFD Sender: No OFD packet to send [02:09:05]OFD Sender: No OFD packet to send [02:09:10]OFD Sender: No OFD packet to send [02:09:15]OFD Sender: No OFD packet to send [02:09:20]OFD Sender: No OFD packet to send [02:09:25]OFD Sender: No OFD packet to send [02:09:30]OFD Sender: No OFD packet to send [02:09:35]OFD Sender: No OFD packet to send [02:09:40]OFD Sender: No OFD packet to send [02:09:45]OFD Sender: No OFD packet to send [02:09:51]OFD Sender: No OFD packet to send [02:09:56]OFD Sender: No OFD packet to send [02:10:01]OFD Sender: No OFD packet to send [02:10:06]OFD Sender: No OFD packet to send [02:10:11]OFD Sender: No OFD packet to send [02:10:16]OFD Sender: No OFD packet to send [02:10:21]OFD Sender: No OFD packet to send [02:10:26]OFD Sender: No OFD packet to send [02:10:31]OFD Sender: No OFD packet to send [02:10:36]OFD Sender: No OFD packet to send [02:10:41]OFD Sender: No OFD packet to send [02:10:46]OFD Sender: No OFD packet to send [02:10:51]OFD Sender: No OFD packet to send [02:10:56]OFD Sender: No OFD packet to send [02:11:01]OFD Sender: No OFD packet to send [02:11:06]OFD Sender: No OFD packet to send [02:11:11]OFD Sender: No OFD packet to send [02:11:16]OFD Sender: No OFD packet to send [02:11:21]OFD Sender: No OFD packet to send [02:11:26]OFD Sender: No OFD packet to send [02:11:31]OFD Sender: No OFD packet to send [02:11:36]OFD Sender: No OFD packet to send [02:11:41]OFD Sender: No OFD packet to send [02:11:46]OFD Sender: No OFD packet to send [02:11:51]OFD Sender: No OFD packet to send [02:11:56]OFD Sender: No OFD packet to send [02:12:01]OFD Sender: No OFD packet to send [02:12:06]OFD Sender: No OFD packet to send [02:12:11]OFD Sender: No OFD packet to send [02:12:16]OFD Sender: No OFD packet to send [02:12:21]OFD Sender: No OFD packet to send [02:12:26]OFD Sender: No OFD packet to send [02:12:31]OFD Sender: No OFD packet to send [02:12:36]OFD Sender: No OFD packet to send [02:12:41]OFD Sender: No OFD packet to send [02:12:46]OFD Sender: No OFD packet to send [02:12:51]OFD Sender: No OFD packet to send [02:12:56]OFD Sender: No OFD packet to send [02:13:01]OFD Sender: No OFD packet to send [02:13:06]OFD Sender: No OFD packet to send [02:13:11]OFD Sender: No OFD packet to send [02:13:16]OFD Sender: No OFD packet to send [02:13:21]OFD Sender: No OFD packet to send [02:13:26]OFD Sender: No OFD packet to send [02:13:31]OFD Sender: No OFD packet to send [02:13:36]OFD Sender: No OFD packet to send [02:13:41]OFD Sender: No OFD packet to send [02:13:46]OFD Sender: No OFD packet to send [02:13:51]OFD Sender: No OFD packet to send [02:13:56]OFD Sender: No OFD packet to send [02:14:01]OFD Sender: No OFD packet to send [02:14:06]OFD Sender: No OFD packet to send [02:14:11]OFD Sender: No OFD packet to send [02:14:16]OFD Sender: No OFD packet to send [02:14:21]OFD Sender: No OFD packet to send [02:14:26]OFD Sender: No OFD packet to send [02:14:31]OFD Sender: No OFD packet to send [02:14:36]OFD Sender: No OFD packet to send [02:14:41]OFD Sender: No OFD packet to send [02:14:46]OFD Sender: No OFD packet to send [02:14:51]OFD Sender: No OFD packet to send [02:14:56]OFD Sender: No OFD packet to send [02:15:01]OFD Sender: No OFD packet to send [02:15:06]OFD Sender: No OFD packet to send [02:15:11]OFD Sender: No OFD packet to send [02:15:16]OFD Sender: No OFD packet to send [02:15:21]OFD Sender: No OFD packet to send [02:15:26]OFD Sender: No OFD packet to send [02:15:31]OFD Sender: No OFD packet to send [02:15:36]OFD Sender: No OFD packet to send [02:15:41]OFD Sender: No OFD packet to send [02:15:46]OFD Sender: No OFD packet to send [02:15:51]OFD Sender: No OFD packet to send [02:15:56]OFD Sender: No OFD packet to send [02:16:01]OFD Sender: No OFD packet to send [02:16:06]OFD Sender: No OFD packet to send [02:16:11]OFD Sender: No OFD packet to send [02:16:16]OFD Sender: No OFD packet to send [02:16:21]OFD Sender: No OFD packet to send [02:16:26]OFD Sender: No OFD packet to send [02:16:31]OFD Sender: No OFD packet to send [02:16:36]OFD Sender: No OFD packet to send [02:16:41]OFD Sender: No OFD packet to send [02:16:46]OFD Sender: No OFD packet to send [02:16:51]OFD Sender: No OFD packet to send [02:16:56]OFD Sender: No OFD packet to send [02:17:01]OFD Sender: No OFD packet to send [02:17:06]OFD Sender: No OFD packet to send [02:17:11]OFD Sender: No OFD packet to send [02:17:16]OFD Sender: No OFD packet to send [02:17:21]OFD Sender: No OFD packet to send [02:17:26]OFD Sender: No OFD packet to send [02:17:31]OFD Sender: No OFD packet to send [02:17:36]OFD Sender: No OFD packet to send [02:17:41]OFD Sender: No OFD packet to send [02:17:46]OFD Sender: No OFD packet to send [02:17:51]OFD Sender: No OFD packet to send [02:17:56]OFD Sender: No OFD packet to send [02:18:01]OFD Sender: No OFD packet to send [02:18:06]OFD Sender: No OFD packet to send [02:18:11]OFD Sender: No OFD packet to send [02:18:16]OFD Sender: No OFD packet to send [02:18:21]OFD Sender: No OFD packet to send [02:18:26]OFD Sender: No OFD packet to send [02:18:31]OFD Sender: No OFD packet to send [02:18:36]OFD Sender: No OFD packet to send [02:18:41]OFD Sender: No OFD packet to send [02:18:46]OFD Sender: No OFD packet to send [02:18:51]OFD Sender: No OFD packet to send [02:18:56]OFD Sender: No OFD packet to send [02:19:01]OFD Sender: No OFD packet to send [02:19:06]OFD Sender: No OFD packet to send [02:19:11]OFD Sender: No OFD packet to send [02:19:16]OFD Sender: No OFD packet to send [02:19:21]OFD Sender: No OFD packet to send [02:19:26]OFD Sender: No OFD packet to send [02:19:31]OFD Sender: No OFD packet to send [02:19:36]OFD Sender: No OFD packet to send [02:19:41]OFD Sender: No OFD packet to send [02:19:46]OFD Sender: No OFD packet to send [02:19:51]OFD Sender: No OFD packet to send [02:19:56]OFD Sender: No OFD packet to send [02:20:01]OFD Sender: No OFD packet to send [02:20:06]OFD Sender: No OFD packet to send [02:20:11]OFD Sender: No OFD packet to send [02:20:16]OFD Sender: No OFD packet to send [02:20:21]OFD Sender: No OFD packet to send [02:20:26]OFD Sender: No OFD packet to send [02:20:31]OFD Sender: No OFD packet to send [02:20:36]OFD Sender: No OFD packet to send [02:20:41]OFD Sender: No OFD packet to send [02:20:46]OFD Sender: No OFD packet to send [02:20:51]OFD Sender: No OFD packet to send [02:20:56]OFD Sender: No OFD packet to send [02:21:01]OFD Sender: No OFD packet to send [02:21:06]OFD Sender: No OFD packet to send [02:21:11]OFD Sender: No OFD packet to send [02:21:16]OFD Sender: No OFD packet to send [02:21:21]OFD Sender: No OFD packet to send [02:21:26]OFD Sender: No OFD packet to send [02:21:31]OFD Sender: No OFD packet to send [02:21:36]OFD Sender: No OFD packet to send [02:21:41]OFD Sender: No OFD packet to send [02:21:46]OFD Sender: No OFD packet to send [02:21:51]OFD Sender: No OFD packet to send [02:21:56]OFD Sender: No OFD packet to send [02:22:01]OFD Sender: No OFD packet to send [02:22:06]OFD Sender: No OFD packet to send [02:22:11]OFD Sender: No OFD packet to send [02:22:16]OFD Sender: No OFD packet to send [02:22:21]OFD Sender: No OFD packet to send [02:22:26]OFD Sender: No OFD packet to send [02:22:31]OFD Sender: No OFD packet to send [02:22:36]OFD Sender: No OFD packet to send [02:22:41]OFD Sender: No OFD packet to send [02:22:46]OFD Sender: No OFD packet to send [02:22:51]OFD Sender: No OFD packet to send [02:22:56]OFD Sender: No OFD packet to send [02:23:01]OFD Sender: No OFD packet to send [02:23:06]OFD Sender: No OFD packet to send [02:23:11]OFD Sender: No OFD packet to send [02:23:16]OFD Sender: No OFD packet to send [02:23:21]OFD Sender: No OFD packet to send [02:23:26]OFD Sender: No OFD packet to send [02:23:31]OFD Sender: No OFD packet to send [02:23:36]OFD Sender: No OFD packet to send [02:23:41]OFD Sender: No OFD packet to send [02:23:46]OFD Sender: No OFD packet to send [02:23:51]OFD Sender: No OFD packet to send [02:23:56]OFD Sender: No OFD packet to send [02:24:01]OFD Sender: No OFD packet to send [02:24:06]OFD Sender: No OFD packet to send [02:24:11]OFD Sender: No OFD packet to send [02:24:16]OFD Sender: No OFD packet to send [02:24:21]OFD Sender: No OFD packet to send [02:24:26]OFD Sender: No OFD packet to send [02:24:31]OFD Sender: No OFD packet to send [02:24:36]OFD Sender: No OFD packet to send [02:24:41]OFD Sender: No OFD packet to send [02:24:46]OFD Sender: No OFD packet to send [02:24:51]OFD Sender: No OFD packet to send [02:24:56]OFD Sender: No OFD packet to send [02:25:01]OFD Sender: No OFD packet to send [02:25:06]OFD Sender: No OFD packet to send [02:25:11]OFD Sender: No OFD packet to send [02:25:16]OFD Sender: No OFD packet to send [02:25:21]OFD Sender: No OFD packet to send [02:25:26]OFD Sender: No OFD packet to send [02:25:31]OFD Sender: No OFD packet to send [02:25:36]OFD Sender: No OFD packet to send [02:25:41]OFD Sender: No OFD packet to send [02:25:46]OFD Sender: No OFD packet to send [02:25:51]OFD Sender: No OFD packet to send [02:25:56]OFD Sender: No OFD packet to send [02:26:01]OFD Sender: No OFD packet to send [02:26:06]OFD Sender: No OFD packet to send [02:26:11]OFD Sender: No OFD packet to send [02:26:16]OFD Sender: No OFD packet to send [02:26:21]OFD Sender: No OFD packet to send [02:26:26]OFD Sender: No OFD packet to send [02:26:31]OFD Sender: No OFD packet to send [02:26:36]OFD Sender: No OFD packet to send [02:26:41]OFD Sender: No OFD packet to send [02:26:46]OFD Sender: No OFD packet to send [02:26:51]OFD Sender: No OFD packet to send [02:26:56]OFD Sender: No OFD packet to send [02:27:01]OFD Sender: No OFD packet to send [02:27:06]OFD Sender: No OFD packet to send [02:27:11]OFD Sender: No OFD packet to send [02:27:16]OFD Sender: No OFD packet to send [02:27:21]OFD Sender: No OFD packet to send [02:27:26]OFD Sender: No OFD packet to send [02:27:31]OFD Sender: No OFD packet to send [02:27:36]OFD Sender: No OFD packet to send [02:27:41]OFD Sender: No OFD packet to send [02:27:46]OFD Sender: No OFD packet to send [02:27:51]OFD Sender: No OFD packet to send [02:27:56]OFD Sender: No OFD packet to send [02:28:01]OFD Sender: No OFD packet to send [02:28:06]OFD Sender: No OFD packet to send [02:28:11]OFD Sender: No OFD packet to send [02:28:16]OFD Sender: No OFD packet to send [02:28:21]OFD Sender: No OFD packet to send [02:28:26]OFD Sender: No OFD packet to send [02:28:31]OFD Sender: No OFD packet to send [02:28:36]OFD Sender: No OFD packet to send [02:28:41]OFD Sender: No OFD packet to send [02:28:46]OFD Sender: No OFD packet to send [02:28:51]OFD Sender: No OFD packet to send [02:28:56]OFD Sender: No OFD packet to send [02:29:01]OFD Sender: No OFD packet to send [02:29:06]OFD Sender: No OFD packet to send [02:29:11]OFD Sender: No OFD packet to send [02:29:16]OFD Sender: No OFD packet to send [02:29:21]OFD Sender: No OFD packet to send [02:29:26]OFD Sender: No OFD packet to send [02:29:31]OFD Sender: No OFD packet to send [02:29:36]OFD Sender: No OFD packet to send [02:29:41]OFD Sender: No OFD packet to send [02:29:46]OFD Sender: No OFD packet to send [02:29:51]OFD Sender: No OFD packet to send [02:29:57]OFD Sender: No OFD packet to send [02:30:02]OFD Sender: No OFD packet to send [02:30:07]OFD Sender: No OFD packet to send [02:30:12]OFD Sender: No OFD packet to send [02:30:17]OFD Sender: No OFD packet to send [02:30:22]OFD Sender: No OFD packet to send [02:30:27]OFD Sender: No OFD packet to send [02:30:32]OFD Sender: No OFD packet to send [02:30:37]OFD Sender: No OFD packet to send [02:30:42]OFD Sender: No OFD packet to send [02:30:47]OFD Sender: No OFD packet to send [02:30:52]OFD Sender: No OFD packet to send [02:30:57]OFD Sender: No OFD packet to send [02:31:02]OFD Sender: No OFD packet to send [02:31:07]OFD Sender: No OFD packet to send [02:31:12]OFD Sender: No OFD packet to send [02:31:17]OFD Sender: No OFD packet to send [02:31:22]OFD Sender: No OFD packet to send [02:31:27]OFD Sender: No OFD packet to send [02:31:32]OFD Sender: No OFD packet to send [02:31:37]OFD Sender: No OFD packet to send [02:31:42]OFD Sender: No OFD packet to send [02:31:47]OFD Sender: No OFD packet to send [02:31:52]OFD Sender: No OFD packet to send [02:31:57]OFD Sender: No OFD packet to send [02:32:02]OFD Sender: No OFD packet to send [02:32:07]OFD Sender: No OFD packet to send [02:32:12]OFD Sender: No OFD packet to send [02:32:17]OFD Sender: No OFD packet to send [02:32:22]OFD Sender: No OFD packet to send [02:32:27]OFD Sender: No OFD packet to send [02:32:32]OFD Sender: No OFD packet to send [02:32:37]OFD Sender: No OFD packet to send [02:32:42]OFD Sender: No OFD packet to send [02:32:47]OFD Sender: No OFD packet to send [02:32:52]OFD Sender: No OFD packet to send [02:32:57]OFD Sender: No OFD packet to send [02:33:02]OFD Sender: No OFD packet to send [02:33:07]OFD Sender: No OFD packet to send [02:33:12]OFD Sender: No OFD packet to send [02:33:17]OFD Sender: No OFD packet to send [02:33:22]OFD Sender: No OFD packet to send [02:33:27]OFD Sender: No OFD packet to send [02:33:32]OFD Sender: No OFD packet to send [02:33:37]OFD Sender: No OFD packet to send [02:33:42]OFD Sender: No OFD packet to send [02:33:47]OFD Sender: No OFD packet to send [02:33:52]OFD Sender: No OFD packet to send [02:33:57]OFD Sender: No OFD packet to send [02:34:02]OFD Sender: No OFD packet to send [02:34:07]OFD Sender: No OFD packet to send [02:34:12]OFD Sender: No OFD packet to send [02:34:17]OFD Sender: No OFD packet to send [02:34:22]OFD Sender: No OFD packet to send [02:34:27]OFD Sender: No OFD packet to send [02:34:32]OFD Sender: No OFD packet to send [02:34:37]OFD Sender: No OFD packet to send [02:34:42]OFD Sender: No OFD packet to send [02:34:47]OFD Sender: No OFD packet to send [02:34:52]OFD Sender: No OFD packet to send [02:34:57]OFD Sender: No OFD packet to send [02:35:02]OFD Sender: No OFD packet to send [02:35:07]OFD Sender: No OFD packet to send [02:35:12]OFD Sender: No OFD packet to send [02:35:17]OFD Sender: No OFD packet to send [02:35:22]OFD Sender: No OFD packet to send [02:35:27]OFD Sender: No OFD packet to send [02:35:32]OFD Sender: No OFD packet to send [02:35:37]OFD Sender: No OFD packet to send [02:35:42]OFD Sender: No OFD packet to send [02:35:47]OFD Sender: No OFD packet to send [02:35:52]OFD Sender: No OFD packet to send [02:35:57]OFD Sender: No OFD packet to send [02:36:02]OFD Sender: No OFD packet to send [02:36:07]OFD Sender: No OFD packet to send [02:36:12]OFD Sender: No OFD packet to send [02:36:17]OFD Sender: No OFD packet to send [02:36:22]OFD Sender: No OFD packet to send [02:36:27]OFD Sender: No OFD packet to send [02:36:32]OFD Sender: No OFD packet to send [02:36:37]OFD Sender: No OFD packet to send [02:36:42]OFD Sender: No OFD packet to send [02:36:47]OFD Sender: No OFD packet to send [02:36:52]OFD Sender: No OFD packet to send [02:36:57]OFD Sender: No OFD packet to send [02:37:02]OFD Sender: No OFD packet to send [02:37:07]OFD Sender: No OFD packet to send [02:37:12]OFD Sender: No OFD packet to send [02:37:17]OFD Sender: No OFD packet to send [02:37:22]OFD Sender: No OFD packet to send [02:37:27]OFD Sender: No OFD packet to send [02:37:32]OFD Sender: No OFD packet to send [02:37:37]OFD Sender: No OFD packet to send [02:37:42]OFD Sender: No OFD packet to send [02:37:47]OFD Sender: No OFD packet to send [02:37:52]OFD Sender: No OFD packet to send [02:37:57]OFD Sender: No OFD packet to send [02:38:02]OFD Sender: No OFD packet to send [02:38:07]OFD Sender: No OFD packet to send [02:38:12]OFD Sender: No OFD packet to send [02:38:17]OFD Sender: No OFD packet to send [02:38:22]OFD Sender: No OFD packet to send [02:38:27]OFD Sender: No OFD packet to send [02:38:32]OFD Sender: No OFD packet to send [02:38:37]OFD Sender: No OFD packet to send [02:38:42]OFD Sender: No OFD packet to send [02:38:47]OFD Sender: No OFD packet to send [02:38:52]OFD Sender: No OFD packet to send [02:38:57]OFD Sender: No OFD packet to send [02:39:02]OFD Sender: No OFD packet to send [02:39:07]OFD Sender: No OFD packet to send [02:39:12]OFD Sender: No OFD packet to send [02:39:17]OFD Sender: No OFD packet to send [02:39:22]OFD Sender: No OFD packet to send [02:39:27]OFD Sender: No OFD packet to send [02:39:32]OFD Sender: No OFD packet to send [02:39:37]OFD Sender: No OFD packet to send [02:39:42]OFD Sender: No OFD packet to send [02:39:47]OFD Sender: No OFD packet to send [02:39:52]OFD Sender: No OFD packet to send [02:39:57]OFD Sender: No OFD packet to send [02:40:02]OFD Sender: No OFD packet to send [02:40:07]OFD Sender: No OFD packet to send [02:40:12]OFD Sender: No OFD packet to send [02:40:17]OFD Sender: No OFD packet to send [02:40:22]OFD Sender: No OFD packet to send [02:40:27]OFD Sender: No OFD packet to send [02:40:32]OFD Sender: No OFD packet to send [02:40:37]OFD Sender: No OFD packet to send [02:40:42]OFD Sender: No OFD packet to send [02:40:47]OFD Sender: No OFD packet to send [02:40:52]OFD Sender: No OFD packet to send [02:40:57]OFD Sender: No OFD packet to send [02:41:02]OFD Sender: No OFD packet to send [02:41:07]OFD Sender: No OFD packet to send [02:41:12]OFD Sender: No OFD packet to send [02:41:17]OFD Sender: No OFD packet to send [02:41:22]OFD Sender: No OFD packet to send [02:41:27]OFD Sender: No OFD packet to send [02:41:32]OFD Sender: No OFD packet to send [02:41:37]OFD Sender: No OFD packet to send [02:41:42]OFD Sender: No OFD packet to send [02:41:47]OFD Sender: No OFD packet to send [02:41:52]OFD Sender: No OFD packet to send [02:41:57]OFD Sender: No OFD packet to send [02:42:02]OFD Sender: No OFD packet to send [02:42:07]OFD Sender: No OFD packet to send [02:42:12]OFD Sender: No OFD packet to send [02:42:17]OFD Sender: No OFD packet to send [02:42:22]OFD Sender: No OFD packet to send [02:42:27]OFD Sender: No OFD packet to send [02:42:32]OFD Sender: No OFD packet to send [02:42:37]OFD Sender: No OFD packet to send [02:42:42]OFD Sender: No OFD packet to send [02:42:47]OFD Sender: No OFD packet to send [02:42:52]OFD Sender: No OFD packet to send [02:42:57]OFD Sender: No OFD packet to send [02:43:02]OFD Sender: No OFD packet to send [02:43:07]OFD Sender: No OFD packet to send [02:43:12]OFD Sender: No OFD packet to send [02:43:17]OFD Sender: No OFD packet to send [02:43:22]OFD Sender: No OFD packet to send [02:43:27]OFD Sender: No OFD packet to send [02:43:32]OFD Sender: No OFD packet to send [02:43:37]OFD Sender: No OFD packet to send [02:43:42]OFD Sender: No OFD packet to send [02:43:47]OFD Sender: No OFD packet to send [02:43:52]OFD Sender: No OFD packet to send [02:43:57]OFD Sender: No OFD packet to send [02:44:02]OFD Sender: No OFD packet to send [02:44:07]OFD Sender: No OFD packet to send [02:44:12]OFD Sender: No OFD packet to send [02:44:17]OFD Sender: No OFD packet to send [02:44:22]OFD Sender: No OFD packet to send [02:44:27]OFD Sender: No OFD packet to send [02:44:32]OFD Sender: No OFD packet to send [02:44:37]OFD Sender: No OFD packet to send [02:44:42]OFD Sender: No OFD packet to send [02:44:47]OFD Sender: No OFD packet to send [02:44:52]OFD Sender: No OFD packet to send [02:44:57]OFD Sender: No OFD packet to send [02:45:02]OFD Sender: No OFD packet to send [02:45:07]OFD Sender: No OFD packet to send [02:45:12]OFD Sender: No OFD packet to send [02:45:17]OFD Sender: No OFD packet to send [02:45:22]OFD Sender: No OFD packet to send [02:45:27]OFD Sender: No OFD packet to send [02:45:32]OFD Sender: No OFD packet to send [02:45:37]OFD Sender: No OFD packet to send [02:45:42]OFD Sender: No OFD packet to send [02:45:47]OFD Sender: No OFD packet to send [02:45:52]OFD Sender: No OFD packet to send [02:45:57]OFD Sender: No OFD packet to send [02:46:02]OFD Sender: No OFD packet to send [02:46:07]OFD Sender: No OFD packet to send [02:46:12]OFD Sender: No OFD packet to send [02:46:17]OFD Sender: No OFD packet to send [02:46:22]OFD Sender: No OFD packet to send [02:46:27]OFD Sender: No OFD packet to send [02:46:32]OFD Sender: No OFD packet to send [02:46:37]OFD Sender: No OFD packet to send [02:46:42]OFD Sender: No OFD packet to send [02:46:47]OFD Sender: No OFD packet to send [02:46:52]OFD Sender: No OFD packet to send [02:46:57]OFD Sender: No OFD packet to send [02:47:02]OFD Sender: No OFD packet to send [02:47:07]OFD Sender: No OFD packet to send [02:47:12]OFD Sender: No OFD packet to send [02:47:17]OFD Sender: No OFD packet to send [02:47:22]OFD Sender: No OFD packet to send [02:47:27]OFD Sender: No OFD packet to send [02:47:32]OFD Sender: No OFD packet to send [02:47:37]OFD Sender: No OFD packet to send [02:47:42]OFD Sender: No OFD packet to send [02:47:47]OFD Sender: No OFD packet to send [02:47:52]OFD Sender: No OFD packet to send [02:47:57]OFD Sender: No OFD packet to send [02:48:02]OFD Sender: No OFD packet to send [02:48:07]OFD Sender: No OFD packet to send [02:48:12]OFD Sender: No OFD packet to send [02:48:17]OFD Sender: No OFD packet to send [02:48:22]OFD Sender: No OFD packet to send [02:48:27]OFD Sender: No OFD packet to send [02:48:32]OFD Sender: No OFD packet to send [02:48:37]OFD Sender: No OFD packet to send [02:48:42]OFD Sender: No OFD packet to send [02:48:47]OFD Sender: No OFD packet to send [02:48:52]OFD Sender: No OFD packet to send [02:48:57]OFD Sender: No OFD packet to send [02:49:02]OFD Sender: No OFD packet to send [02:49:07]OFD Sender: No OFD packet to send [02:49:12]OFD Sender: No OFD packet to send [02:49:17]OFD Sender: No OFD packet to send [02:49:22]OFD Sender: No OFD packet to send [02:49:27]OFD Sender: No OFD packet to send [02:49:32]OFD Sender: No OFD packet to send [02:49:37]OFD Sender: No OFD packet to send [02:49:42]OFD Sender: No OFD packet to send [02:49:47]OFD Sender: No OFD packet to send [02:49:52]OFD Sender: No OFD packet to send [02:49:57]OFD Sender: No OFD packet to send [02:50:02]OFD Sender: No OFD packet to send [02:50:07]OFD Sender: No OFD packet to send [02:50:12]OFD Sender: No OFD packet to send [02:50:17]OFD Sender: No OFD packet to send [02:50:22]OFD Sender: No OFD packet to send [02:50:27]OFD Sender: No OFD packet to send [02:50:32]OFD Sender: No OFD packet to send [02:50:38]OFD Sender: No OFD packet to send [02:50:43]OFD Sender: No OFD packet to send [02:50:48]OFD Sender: No OFD packet to send [02:50:53]OFD Sender: No OFD packet to send [02:50:58]OFD Sender: No OFD packet to send [02:51:03]OFD Sender: No OFD packet to send [02:51:08]OFD Sender: No OFD packet to send [02:51:13]OFD Sender: No OFD packet to send [02:51:18]OFD Sender: No OFD packet to send [02:51:23]OFD Sender: No OFD packet to send [02:51:28]OFD Sender: No OFD packet to send [02:51:33]OFD Sender: No OFD packet to send [02:51:38]OFD Sender: No OFD packet to send [02:51:43]OFD Sender: No OFD packet to send [02:51:48]OFD Sender: No OFD packet to send [02:51:53]OFD Sender: No OFD packet to send [02:51:58]OFD Sender: No OFD packet to send [02:52:03]OFD Sender: No OFD packet to send [02:52:08]OFD Sender: No OFD packet to send [02:52:13]OFD Sender: No OFD packet to send [02:52:18]OFD Sender: No OFD packet to send [02:52:23]OFD Sender: No OFD packet to send [02:52:28]OFD Sender: No OFD packet to send [02:52:33]OFD Sender: No OFD packet to send [02:52:38]OFD Sender: No OFD packet to send [02:52:43]OFD Sender: No OFD packet to send [02:52:48]OFD Sender: No OFD packet to send [02:52:53]OFD Sender: No OFD packet to send [02:52:58]OFD Sender: No OFD packet to send [02:53:03]OFD Sender: No OFD packet to send [02:53:08]OFD Sender: No OFD packet to send [02:53:13]OFD Sender: No OFD packet to send [02:53:18]OFD Sender: No OFD packet to send [02:53:23]OFD Sender: No OFD packet to send [02:53:28]OFD Sender: No OFD packet to send [02:53:33]OFD Sender: No OFD packet to send [02:53:38]OFD Sender: No OFD packet to send [02:53:43]OFD Sender: No OFD packet to send [02:53:48]OFD Sender: No OFD packet to send [02:53:53]OFD Sender: No OFD packet to send [02:53:58]OFD Sender: No OFD packet to send [02:54:03]OFD Sender: No OFD packet to send [02:54:08]OFD Sender: No OFD packet to send [02:54:13]OFD Sender: No OFD packet to send [02:54:18]OFD Sender: No OFD packet to send [02:54:23]OFD Sender: No OFD packet to send [02:54:28]OFD Sender: No OFD packet to send [02:54:33]OFD Sender: No OFD packet to send [02:54:38]OFD Sender: No OFD packet to send [02:54:43]OFD Sender: No OFD packet to send [02:54:48]OFD Sender: No OFD packet to send [02:54:53]OFD Sender: No OFD packet to send [02:54:58]OFD Sender: No OFD packet to send [02:55:03]OFD Sender: No OFD packet to send [02:55:08]OFD Sender: No OFD packet to send [02:55:13]OFD Sender: No OFD packet to send [02:55:18]OFD Sender: No OFD packet to send [02:55:23]OFD Sender: No OFD packet to send [02:55:28]OFD Sender: No OFD packet to send [02:55:33]OFD Sender: No OFD packet to send [02:55:38]OFD Sender: No OFD packet to send [02:55:43]OFD Sender: No OFD packet to send [02:55:48]OFD Sender: No OFD packet to send [02:55:53]OFD Sender: No OFD packet to send [02:55:58]OFD Sender: No OFD packet to send [02:56:03]OFD Sender: No OFD packet to send [02:56:08]OFD Sender: No OFD packet to send [02:56:13]OFD Sender: No OFD packet to send [02:56:18]OFD Sender: No OFD packet to send [02:56:23]OFD Sender: No OFD packet to send [02:56:28]OFD Sender: No OFD packet to send [02:56:33]OFD Sender: No OFD packet to send [02:56:38]OFD Sender: No OFD packet to send [02:56:43]OFD Sender: No OFD packet to send [02:56:48]OFD Sender: No OFD packet to send [02:56:53]OFD Sender: No OFD packet to send [02:56:58]OFD Sender: No OFD packet to send [02:57:03]OFD Sender: No OFD packet to send [02:57:08]OFD Sender: No OFD packet to send [02:57:13]OFD Sender: No OFD packet to send [02:57:18]OFD Sender: No OFD packet to send [02:57:23]OFD Sender: No OFD packet to send [02:57:28]OFD Sender: No OFD packet to send [02:57:33]OFD Sender: No OFD packet to send [02:57:38]OFD Sender: No OFD packet to send [02:57:43]OFD Sender: No OFD packet to send [02:57:48]OFD Sender: No OFD packet to send [02:57:53]OFD Sender: No OFD packet to send [02:57:58]OFD Sender: No OFD packet to send [02:58:03]OFD Sender: No OFD packet to send [02:58:08]OFD Sender: No OFD packet to send [02:58:13]OFD Sender: No OFD packet to send [02:58:18]OFD Sender: No OFD packet to send [02:58:23]OFD Sender: No OFD packet to send [02:58:28]OFD Sender: No OFD packet to send [02:58:33]OFD Sender: No OFD packet to send [02:58:38]OFD Sender: No OFD packet to send [02:58:43]OFD Sender: No OFD packet to send [02:58:48]OFD Sender: No OFD packet to send [02:58:53]OFD Sender: No OFD packet to send [02:58:58]OFD Sender: No OFD packet to send [02:59:03]OFD Sender: No OFD packet to send