Comment 2 for bug 1017705

Revision history for this message
Gunther Schulz (gunther-schulz) wrote :

Hi

had the same issue on a SilverCrest DGP 1000-R

Dump and convert did work though.
After some debugging found the solution - changing the 3 byte from 0x28 to 0x42, here the patch:

diff -uNr ./src/libm210/dev.c ../m210-0.8_mod/src/libm210/dev.c
--- ./src/libm210/dev.c 2013-10-22 23:26:38.621657363 +0200
+++ ../m210-0.8_mod/src/libm210/dev.c 2013-10-22 23:25:07.605653755 +0200
@@ -464,7 +464,7 @@
   /* Check that the response is correct. */
   if (response[0] == 0x80
       && response[1] == 0xa9
- && response[2] == 0x28
+ && response[2] == 0x42
       && response[9] == 0x0e) {
    break;
   }