antonvh / PUPRemote

Communication protocol over LEGO PoweredUP (PUP) for hubs running Pybricks
GNU General Public License v3.0
6 stars 2 forks source link

investigate need of sending a CMD_EXT_MODE after receiving NACK #17

Open ste7anste7an opened 1 year ago

ste7anste7an commented 1 year ago

What would be the purpose that a legitime Lego sensor always sens a CMD_EXT_MODE command after receiving a NACK?

MESSAGE_CMD | LENGTH_1 | CMD_EXT_MODE, EXT_MODE_<m>, <checksum>

With a logic analyzer we see that this message is send every time, right after receiving a NACK from the hub. Below you see the CMD_EXT_MODE followed by measurement data of the Color Sensor. image