Версия 5.17.03.18

Описание основных изменений в версиях.
Аватара пользователя
RndIT
Администратор
Сообщения: 40
Зарегистрирован: 18 дек 2015, 14:25
Откуда: Ростов-на-Дону
Контактная информация:

Версия 5.17.03.18

Сообщение RndIT » 18 мар 2017, 16:02

Понравилась мне идея с ответом сервера и я это реализовал. Теперь при запросе d; -- запрос статуса -- опрашивается ФР и формируется ответ.

И так, как мы помним, команды ФР черпает теперь по WebAPI протоколу из скрипта.

Его содержимое:

# cat getreceipt

<package id="1">
<data>QjswO9CU0LzQuNGC0YDQuNC5DQpTTURFOyDQvtC/0LvQsNGC0LAg0L/RgNC+0LbQuNCy0LDQvdC40Y8gMjktMzEuMDEuMjAxNzs2ODQ3NTA7MTAwMDsxOzA7DQpUTURFOzY4NDc1MDszOw0KRTsNCmN1dF9jaGVjazsNCmQ7</data>
</package>

Если распаковать запрос data то получим набор команд

B;0;Дмитрий
SMDE; оплата проживания 29-31.01.2017;684750;1000;1;0;
TMDE;684750;3;
E;
cut_check;
d;

Последней идёт запрос состояния.

В ответку после выполнения всех команд сервер дергает POSTом скрипт и шлёт такие данные

data=QjswO9Ce0YjQuNCx0L7QuiDQvdC10YIKU01ERTswO9Ce0YjQuNCx0L7QuiDQvdC10YIKVE1ERTswO9Ce0YjQuNCx0L7QuiDQvdC10YIKY3V0X2NoZWNrOzA70J7RiNC40LHQvtC6INC90LXRggpkOzA70J7RiNC40LHQvtC6INC90LXRgjtQRU52Ym5SeWIyeFFjbTkwYjJOdmJDQnRaWE56WVdkbFZIbHdaVDBpWVc1emQyVnlJajRLSUR4bGNuSnZjaUJwWkQwaU1DSWdkR1Y0ZEQwaTBKN1JpTkM0MExIUXZ0QzZJTkM5MExYUmdpSXZQZ29nUEdkbGRFUmxkbWxqWlZOMFlYUjFjeUIwYVcxbFJsSTlJakUwT2pVek9qQTVJaUJ2Y0dWeVlYUnZjazUxYldKbGNqMGlNekFpSUdac1lXZHpSbEk5SWprM055SWdaR0YwWlVaU1BTSXlNREUzTGpB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YVlc1UWRFTmtNRXczVW1kT1F6Z3dURVJSZFRsSFRUQk1NMUZ6VGtkUVNVNUhRekJNTjFKb09VTTVNRXczVW1ka1IwTXdXWGM0VERKYWRtSnVVU3RRUXprd1drUTBPRXd6VW5sUWFuZDJaRWRHYVdKSFZTc2lJRzUxYldKbGNrWlNQU0l4SWlCcGMwUmxZMmx0WVd4UWIybHVkRkJ2YzJsMGFXOXVQU0l4SWlCcGMwOXdkR2xqWVd4VFpXNXpiM0pEYUdWamExUmhjR1U5SWpFaUx6NEtQQzlEYjI1MGNtOXNVSEp2ZEc5amIydy1DZwo

Для кодирования используется BASE64URL
http://php.net/manual/ru/function.base64-encode.php
http://www.ietf.org/rfc/rfc4648.txt страница 7

Если распаковать, то увидим
B;0;Ошибок нет
SMDE;0;Ошибок нет
TMDE;0;Ошибок нет
cut_check;0;Ошибок нет
d;0;Ошибок нет;PENvbnRyb2xQcm90b2NvbCBtZXNzYWdlVHlwZT0iYW5zd2VyIj4KIDxlcnJvciBpZD0iMCIgdGV4dD0i0J7RiNC40LHQvtC6INC90LXRgiIvPgogPGdldERldmljZVN0YXR1cyB0aW1lRlI9IjE0OjUzOjA5IiBvcGVyYXRvck51bWJlcj0iMzAiIGZsYWdzRlI9Ijk3NyIgZGF0ZUZSPSIyMDE3LjAzLjE4IiBpc0NhcE9wZW49IjAiIGlzUm9sbENoZWNrVGFwZVByZXNlbnQ9IjAiIGlzT3B0aWNhbFNlbnNvck9wZXJhdGlvbkpvdXJuYWw9IjEiIGlzQnVmZmVyTm90RW1wdHk9IjAiIGJ1aWxkU29mdEZpc2NhbE1lbW9yeT0iMzEiIGN1cnJlbnREb2NOdW1iZXI9IjIzIiBpc01vbmV5Qm94T3Blbj0iMCIgbW9kZUZSPSIyIiBkYXRlU29mdEZpc2NhbE1lbW9yeT0i0L_QvSDRgdC10L3Rgi4gMTcgMjAwMSIgZGV2aWNlRXJyb3JDb2RlPSIwIiBkYXRlU29mdEZSPSLQv9GCINC80LDRgNGC0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SUNBZ0lDQWdJQ0FnUEhSa1BqeG1iMjUwSUdOdmJHOXlQU2RuY21WbGJpYyswSjNRdGRHQ1BDOW1iMjUwUGp3dmRHUStQQzkwY2o0OGRISStQSFJrUHRDajBMTFF0ZEM3MExqUmg5QzEwTDNRdmRDdzBZOGcwWUxRdnRHSDBMM1F2dEdCMFlMUmpDRFF1dEMrMEx2UXVOR0gwTFhSZ2RHQzBMTFFzRHd2ZEdRK0lDQWdJQ0FnSUNBOGRHUStQR1p2Ym5RZ1kyOXNiM0k5SjJKc2RXVW5QdENkMEw3UmdOQzgwTERRdTlHTTBMM1FzTkdQSU5HQzBMN1JoOUM5MEw3UmdkR0MwWXc4TDJadmJuUStQQzkwWkQ0OEwzUnlQand2ZEdGaWJHVSsiIG51bWJlckZSPSIxIiBpc0RlY2ltYWxQb2ludFBvc2l0aW9uPSIxIiBpc09wdGljYWxTZW5zb3JDaGVja1RhcGU9IjEiLz4KPC9Db250cm9sUHJvdG9jb2w-Cg

Т.е. после ответа d; идёт опять base64url пожатое поле. Это полное содержимое XML-ответа сервера.
<ControlProtocol messageType="answer">
<error id="0" text="Ошибок нет"/>
<getDeviceStatus timeFR="14:53:09" operatorNumber="30" flagsFR="977" dateFR="2017.03.18" isCapOpen="0" isRollCheckTapePresent="0" isOpticalSensorOperationJournal="1" isBufferNotEmpty="0" buildSoftFiscalMemory="31" currentDocNumber="23" isMoneyBoxOpen="0" modeFR="2" dateSoftFiscalMemory="пн сент. 17 2001" deviceErrorCode="0" dateSoftFR="пт марта 22 2002" isEklzPresent="0" isEklzFull="0" isLeverThermalHeadControlTape="1" countLeftRefiscalizations="14" isRollOperationJournalPresent="1" serialNumber="35220" isOnline="1" buildSoftFR="4563" isLowerSensorPresent="0" inn="6161055234" isLeverThermalHeadCheckTape="1" numberLastClousedSession="799" isErrorLeftSensor="0" isUpperSensorPresent="0" countFreeRecordsInFiscalMemory="1301" versionSoftFR="A.1" countRefiscalizations="2" versionSoftFiscalMemory="1.1" portFR="0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lZW4nPtCe0L/Rg9GJ0LXQvdCwPC9mb250PjwvdGQ+PC90cj48dHI+PHRkPtCU0LXQvdC10LbQvdGL0Lkg0Y/RidC40Lo8L3RkPiAgICAgICAgICAgICAgICAgICAgICAgICAgPHRkPjxmb250IGNvbG9yPSdncmVlbic+0JfQsNC60YDRi9GCPC9mb250PjwvdGQ+PC90cj48dHI+PHRkPtCe0YLQutCw0Lcg0LTQsNGC0YfQuNC60LAg0JAg0L/RgNC40L3RgtC10YDQsDwvdGQ+ICAgICAgICAgICAgICAgPHRkPjxmb250IGNvbG9yPSdncmVlbic+0J3QtdGCPC9mb250PjwvdGQ+PC90cj48dHI+PHRkPtCe0YLQutCw0Lcg0LTQsNGC0YfQuNC60LAg0JEg0L/RgNC40L3RgtC10YDQsDwvdGQ+ICAgICAgICAgICAgICAgPHRkPjxmb250IGNvbG9yPSdncmVlbic+0J3QtdGCPC9mb250PjwvdGQ+PC90cj48dHI+PHRkPtCj0LLQtdC70LjRh9C10L3QvdCw0Y8g0YLQvtGH0L3QvtGB0YLRjCDQutC+0LvQuNGH0LXRgdGC0LLQsDwvdGQ+ICAgICAgICA8dGQ+PGZvbnQgY29sb3I9J2JsdWUnPtCd0L7RgNC80LDQu9GM0L3QsNGPINGC0L7Rh9C90L7RgdGC0Yw8L2ZvbnQ+PC90ZD48L3RyPjwvdGFibGU+" numberFR="1" isDecimalPointPosition="1" isOpticalSensorCheckTape="1"/>
</ControlProtocol>

Вытаскивайте из него всё что душа пожелает.
Для пользователей, имеющих активный сертификат техподдержки, работает поддержка через Skype.
Контакты доступны в профиле.

Вернуться в «История версий»

Кто сейчас на конференции

Сейчас этот форум просматривают: нет зарегистрированных пользователей и 0 гостей