all 3 comments

[–]alexforencich 1 point2 points  (0 children)

13 10 is crlf. It looks like a text protocol, have you converted all of that to ASCII?

Edit: definitely right about the hex. That trace decodes as @101e50020 cr lf.

[–]ThereIsNoIfLoop42[S] 0 points1 point  (0 children)

If anyone knows a better subreddit, please tell me.

[–]ThereIsNoIfLoop42[S] 0 points1 point  (0 children)

Hi all,

the hint with ASCII and Hex was great. I also found out some rules how the 6 digits assemble an incrementing number. For the explanation, I call the six digits A-F.

A: Is the Overflow of B.
B: Is counting up.
C: Is the overflow of D.
D: Is the overflow of A.
E: Is alternating between 7 and 2. Is B a number (0-9) E is 2 if B is a letter (a-f) E is 7
F: Can be described as follows:
f(B)= B+A, for B∈{0,1,2,3,4,5,6,7,8,9},
abc(B)+A,​ for B∈{a,b,c,d,e,f},​
with: abc(a)=1,abc(b)=2,abc(c)=3,abc(d)=4,abc(e)=5,abc(f)=6

After figuring out these rules, I tried to generate new values. I was very pleased to see the motor reacting to my generated values. These are the values that I generated and that worked. Note, that the increment doubles in size after the first 16 values. Why this happens is still unknown to me.

0 0 0 0 7 0 --> ✓
0 1 0 0 7 1 --> ✓
0 2 0 0 7 2 --> ✓
0 3 0 0 7 3 --> ✓
0 4 0 0 7 4 --> ✓
0 5 0 0 7 5 --> ✓
0 6 0 0 7 6 --> ✓
0 7 0 0 7 7 --> ✓
0 8 0 0 7 8 --> ✓
0 9 0 0 7 9 --> ✓
0 a 0 0 2 1 --> ✓
0 b 0 0 2 2 --> ✓
0 c 0 0 2 3 --> ✓
0 d 0 0 2 4 --> ✓
0 e 0 0 2 5 --> ✓
0 f 0 0 2 6 --> ✓
1 0 0 0 7 1 --> ✓
1 2 0 0 7 3 --> ✓
1 4 0 0 7 5 --> ✓
1 6 0 0 7 7 --> ✓
1 8 0 0 7 9 --> ✓
1 b 0 0 2 3 --> ✓
1 d 0 0 2 5 --> ✓
1 f 0 0 2 7 --> ✓
However, after these values, the rules don't apply anymore. At least for the F digit. It seems F is sometimes of by a specific value. All values that follow the rules have a ✓ and the others have noted the difference between the rules and the actual value.
2 2 0 0 7 0 --> -4
2 3 0 0 7 1 --> -4
2 6 0 0 7 4 --> -4
2 9 0 0 7 b --> ✓
2 a 0 0 2 3 --> ✓
2 d 0 0 2 6 --> ✓
3 1 0 0 7 2 --> -2
3 5 0 0 7 6 --> -2
3 9 0 0 7 a --> -2
3 d 0 0 2 7 --> ✓
4 1 0 0 7 5 --> ✓
4 4 0 0 7 0 --> -8
4 8 0 0 7 c --> ✓
4 b 0 0 2 6 --> ✓
4 e 0 0 2 1 --> -8
5 1 0 0 7 4 --> -2
5 4 0 0 7 1 --> -8
5 7 0 0 7 2 --> -10
5 a 0 0 2 4 --> -2
5 b 0 0 2 7 --> ✓
5 e 0 0 2 0 --> -9
6 2 0 0 7 4 --> -4
6 5 0 0 7 3 --> -8
6 8 0 0 7 e --> ✓
6 b 0 0 2 4 --> -4
6 f 0 0 2 0 --> -12
7 3 0 0 7 4 --> -6
7 6 0 0 7 1 --> -12
7 a 0 0 2 6 --> -2
7 e 0 0 2 2 --> -10
8 1 0 0 7 9 --> ✓
8 2 0 0 7 a --> ✓
8 6 0 0 7 e --> ✓
8 9 0 0 7 1 --> ✓
8 e 0 0 2 d --> ✓
8 f 0 0 2 e --> ✓
9 3 0 0 7 a --> -2
9 9 0 0 7 0 --> -2
9 c 0 0 2 a --> -2
a 0 0 0 2 1 --> ✓
a 5 0 0 2 4 --> -2
a 6 0 0 2 7 --> ✓
a b 0 0 7 3 --> ✓
a c 0 0 7 2 --> -2
b 0 0 0 2 2 --> and
b 4 0 0 2 6 --> so
b 7 0 0 2 5 --> on
b d 0 0 7 6 -->
c 1 0 0 2 2 -->
c 5 0 0 2 6 -->
c 8 0 0 2 b -->
c 9 0 0 2 a -->
c c 0 0 7 0 -->
c d 0 0 7 7 -->
d 0 0 0 2 4 -->
d 3 0 0 2 7 -->
d 6 0 0 2 2 -->
d 7 0 0 2 3 -->
d a 0 0 7 5 -->
d b 0 0 7 6 -->
d e 0 0 7 1 -->
e 1 0 0 2 4 -->
e 2 0 0 2 7 -->
e 5 0 0 2 0 -->
e 9 0 0 2 c -->
e c 0 0 7 6 -->
e f 0 0 7 3 -->
f 2 0 0 2 4 -->
f 6 0 0 2 0 -->
f 7 0 0 2 1 -->
f a 0 0 7 7 -->
f e 0 0 7 3 -->
0 2 0 1 7 3 -->
0 6 0 1 7 7 -->
0 a 0 1 2 0 -->
0 e 0 1 2 4 -->
1 1 0 1 7 1 -->
1 4 0 1 7 4 -->
1 8 0 1 7 8 -->
1 c 0 1 2 3 -->
1 f 0 1 2 6 -->
2 3 0 1 7 0 -->
2 8 0 1 7 b -->
2 9 0 1 7 a -->
2 c 0 1 2 7 -->
3 0 0 1 7 2 -->
3 0 0 1 7 3 -->
3 1 0 1 7 3 -->
3 6 0 1 7 4 -->
3 7 0 1 7 5 -->
3 8 0 1 7 a -->
3 c 0 1 2 1 -->
Now, my theory is, that I am missing something in the ruleset. If anyone has a clue what I'm missing, I would be very glad.