ok, ty, i can see the light.
1/Except for "A:disconnect". I read your page link before writing, but what i get is "you have to pick a letter (could be A or J), it doesn't matter, it's a code activation".
2/Edit: Gotcha: " else if (strcmp(name, "disconnect") == 0) "
Pfewwww
3/ When you say "use RisingSun.cpp", you mean:
const char code_on[][7] = {
Code: Select all
30 "110110", "001110", "100110", "010110",
31 "111001", "000101", "101001", "011001",
32 "110000", "001000", "100000", "010000",
33 "111100", "000010", "101100", "011100"
34 };
35 const char code_off[][7] = {
36 "111110", "000001", "101110", "011110",
37 "110101", "001101", "100101", "010101",
38 "111000", "000100", "101000", "011000",
39 "110010", "001010", "100010", "010010"
40 };
I can't find a "protocolArcep.cpp" to check your translation. So, i i take the first one:
110110, it becomes: "$k$kk$k$kk" right ? So i can use:
If i send this to Tellnet, should it blink or do something ?