Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CMD_OPTIONS_RRQ returns = instead 2 in some instances. #37

Open
summerswell-ie opened this issue Jan 6, 2022 · 1 comment
Open

CMD_OPTIONS_RRQ returns = instead 2 in some instances. #37

summerswell-ie opened this issue Jan 6, 2022 · 1 comment

Comments

@summerswell-ie
Copy link

summerswell-ie commented Jan 6, 2022

I am attempting to get some options from the device, using the CMD_OPTIONS_RRQ command. I get the following data back:

����~SerialNumber=ACYN174660341�
��l�����~Platform=ZLM60_TFT�
��������~DeviceName= �
��������~ProductTime==017-11-20 09:17:33�
��U�����~ZKFPVersion=10�
��0M����TCPPort=4370�
��������IPAddress=19=.168.1.42�

As can be seen in ProductTime and IPAddress the character '2' is converted to '='. Any idea what could be causing this?

@summerswell-ie
Copy link
Author

All these are being retrieved using the following:

const IPAddress = await zkInstance.executeCmd( 11, 'IPAddress');
console.log( IPAddress.toString() );

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant