Bouni / max-cube-protocol

A attempt to write down the protocol of the eQ3 / ELV MAX! Cube
MIT License
119 stars 36 forks source link

L message doesn't look the same as described here #37

Open szilarddezso opened 7 years ago

szilarddezso commented 7 years ago

Hello,

I am using a Wemos D1 board to connect to the cube and try to read the messages sent. I cannot seem to request only the L message, so I tried to read the entire message sent by the cube on connect, because the L message is sent by default. But what I get doesn't look the same as described here. Please have a look below:

H:LEQ0128320,0ed2a3,0113,00000000,2987aef7,00,32,110b0c,0d2d,03,0000 M:00,01,VgIDAQdMaXZpbmcxEs+qAgdMaXZpbmcyEtGvAwdMaXZpbmczEsnZAwISz6pNRVExMjkwODAwFVJhZGlhdG9yIFRoZXJtb3N0YXQgMQECEsnZTUVRMTI5MjI4MxVSYWRpYXRvciBUaGVybW9zdGF0IDEDAhLRr01FUTEyOTAyODcVUmFkaWF0b3IgVGhlcm1vc3RhdCAxAgE= C:0ed2a3,7Q7SowATAQBMRVEwMTI4MzIwAQsABEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAsABEAAAAAAAAAAQQAAAAAAAAAAAAAAAAAAAAAAAAAAAGh0dHA6Ly9tYXguZXEtMy5kZTo4MC9jdWJlADAvbG9va3VwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEVFVAAACgADAAAcIEVFU1QAAwACAAAqMA== C:12c9d9,0hLJ2QIDEP9NRVExMjkyMjgzKyE9CQcYAzAM/wBESFUIRSBFIEUgRSBFIEUgRSBFIEUgRSBFIERIVQhFIEUgRSBFIEUgRSBFIEUgRSBFIEUgWSBZIFkgWSBZIFkgWSBFIEUgRSBFIEUgRSBZIFkgWSBZIFkgWSBZIEUgRSBFIEUgRSBFIFkgWSBZIFkgWSBZIFkgRSBFIEUgRSBFIEUgWSBZIFkgWSBZIFkgWSBFIEUgRSBFIEUgRSBZIFkgWSBZIFkgWSBZIEUgRSBFIEUgRSBFIA== C:12cfaa,0hLPqgIBEABNRVExMjkwODAwKyE9CQcYAzAM/wBESFUIRSBFIEUgRSBFIEUgRSBFIEUgRSBFIERIVQhFIEUgRSBFIEUgRSBFIEUgRSBFIEUgRGBVFEUgRSBFIEUgRSBFIEUgRSBFIEUgRSBEYFUURSBFIEUgRSBFIEUgRSBFIEUgRSBFIERgVRRFIEUgRSBFIEUgRSBFIEUgRSBFIEUgRGBVFEUgRSBFIEUgRSBFIEUgRSBFIEUgRSBEYFUURSBFIEUgRSBFIEUgRSBFIEUgRSBFIA== C:01bbcf,EQG7zwUAEg9KRVEwMzA4NDEy C:12d1af,0hLRrwICEABNRVExMjkwMjg3KyE9CQcYAzAM/wBESFUIRSBFIEUgRSBFIEUgRSBFIEUgRSBFIERIVQhFIEUgRSBFIEUgRSBFIEUgRSBFIEUgRGBVFEUgRSBFIEUgRSBFIEUgRSBFIEUgRSBEYFUURSBFIEUgRSBFIEUgRSBFIEUgRSBFIERgVRRFIEUgRSBFIEUgRSBFIEUgRSBFIEUgRGBVFEUgRSBFIEUgRSBFIEUgRSBFIEUgRSBEYFUURSBFIEUgRSBFIEUgRSBFIEUgRSBFIA== L:CxLJ2QkAAAAAAAAACxLPqgkAAAAAAAAABgG7zwkAAAsS0a8JAAAAAAAAAA==

This exact same L message is being sent each time I connect to the Cube. Do you know what might be the issue? Thank you in advance.

Kind regards, Szilard Dezso

jirmjos commented 6 years ago

Good night.

That is not a L: reply form cube is the Hello automatic message send by the Max Cube when have a new connection from a client.

Sems you "catched" the Hello message and not the reply for your L: request.

Hope this helps.

Bye

HMvdZijden commented 6 years ago

The last line looks like a correct L message to me. On connect the cube sends 1 H message 1 ore more M messages, a C message for each device and 1 L message.