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

add hint to libsml-testing or how to use binary dumps #67

Closed
devZer0 opened this issue Jan 19, 2019 · 2 comments · Fixed by #70
Closed

add hint to libsml-testing or how to use binary dumps #67

devZer0 opened this issue Jan 19, 2019 · 2 comments · Fixed by #70

Comments

@devZer0
Copy link

devZer0 commented Jan 19, 2019

i think it could be useful for people starting with libsml to know how to use sml_server with binary dumps, so feel free to add a hint to https://github.com/devZer0/libsml-testing or include binary dumps in libsml repo

$ ls -1 *.bin
DrNeuhaus_SMARTY_ix-130.bin
EMH_eHZ-GW8E2A500AK2.bin
EMH_eHZ-HW8E2A5L0EK2P_1.bin
EMH_eHZ-HW8E2A5L0EK2P.bin
EMH_eHZ-HW8E2AWL0EK2P.bin
EMH_eHZ-IW8E2A5L0EK2P_crash.bin

$ ls -1 *.bin |while read line;do echo ; echo $filename; cat $filename | ./sml_server -s - ;done

DrNeuhaus_SMARTY_ix-130.bin
129-129:199.130.3255#DNT#
1-0:0.0.9
255#09 01 44 4e 54 01 00 00 20 30 #
1-0:2.8.0255#4373.0#Wh
1-0:2.8.1
255#4373.0#Wh
1-0:2.8.2255#0.0#Wh
1-0:15.7.0
255#0#W
129-129:199.130.5*255#fe a5 d6 bc 65 8d 73 46 73 f5 79 00 51 d6 1c 2e bd 55 34 4a 62 85 68 6d e3 b6 45 ee 01 04 d6 5f 5a bb a6 cb 68 f1 bf cb 7f cf 94 f9 9c d4 d8 45 #

EMH_eHZ-GW8E2A500AK2.bin
129-129:199.130.3255#EMH#
1-0:0.0.0
255#02280816#
1-0:1.8.1255#14798112.9#Wh
1-0:1.8.2
255#2012.4#Wh
0-0:96.1.255255#0002280816#
1-0:1.7.0
255#13.8#W

EMH_eHZ-HW8E2A5L0EK2P_1.bin
129-129:199.130.3255#EMH#
1-0:0.0.9
255#06 45 4d 48 01 00 1d 46 15 ca #
1-0:1.8.0255#15141809.0#Wh
1-0:1.8.1
255#15141809.0#Wh
1-0:1.8.2255#0.0#Wh
1-0:15.7.0
255#1213.3#W
129-129:199.130.5255#'8d ad f3 a5 d8 01 1e ea 7c 1f 60 cf 20 2d 4e da da 88 98 7e b3 8e e0 f4 e4 ce 46 e8 6d 1a 2b e8 6b 2b 40 65 51 ad 6f 9e 93 67 aa d2 81 9d #

EMH_eHZ-HW8E2A5L0EK2P.bin
129-129:199.130.3255#EMH#
1-0:0.0.9
255#06 45 4d 48 01 02 71 53 c8 c6 #
1-0:1.8.0255#8391648.8#Wh
1-0:1.8.1
255#8391447.6#Wh
1-0:1.8.2255#201.2#Wh
1-0:15.7.0
255#163.5#W
129-129:199.130.5*255#(ab db f4 41 a5 ef 63 35 ec 38 bd 9c 0e 0a 79 03 0d a5 f4 a4 d7 39 5f 69 52 ef 7a 0b 0f f3 fc d1 37 f8 66 d1 14 15 4c f0 a9 52 42 de aa b1 7d #

EMH_eHZ-HW8E2AWL0EK2P.bin
129-129:199.130.3255#EMH#
1-0:0.0.9
255#01 a8 15 98 64 80 02 01 02 #
1-0:1.8.0255#5378499.0#Wh
1-0:1.8.1
255#5378499.0#Wh
1-0:1.8.2255#0.0#Wh
1-0:15.7.0
255#191.9#W
129-129:199.130.5*255#c2 fb 28 83 40 2a d8 7c 9e a2 7a cc fd 04 28 20 6f bd 06 56 6b a7 95 7c 5e b0 de 50 54 a4 40 ab d5 5a 6d 94 d6 77 17 6f dd f8 05 c2 3f 8d ef 1e #

EMH_eHZ-IW8E2A5L0EK2P_crash.bin
129-129:199.130.3255#EMH#
1-0:0.0.9
255#06 45 4d 48 01 07 19 7c 24 56 #
1-0:1.8.0255#2795692.7#Wh
1-0:1.8.1
255#2795692.7#Wh
1-0:1.8.2255#0.0#Wh
1-0:16.7.0
255#136.7#W
129-129:199.130.5255#8b 6a 0e 6e 12 f5 d9 80 f7 30 b6 bd 5e 19 41 83 4e b0 e4 3e 4a 63 23 d9 99 25 95 56 f5 e5 6e 04 04 98 c8 97 38 f0 f6 df f8 78 5b 04 5d 84 e0 d6 #
1-0:96.50.2
4#637#
Error in data stream. entry->value should not be NULL. Skipping this.

@andig
Copy link

andig commented Jan 19, 2019

Why not open a pr for the readme?

@devZer0
Copy link
Author

devZer0 commented Jan 19, 2019

because i'm such a git noob and someone who pushes in regular intervals has done this in seconds... ;)

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

Successfully merging a pull request may close this issue.

2 participants