Skip to content
This repository was archived by the owner on Apr 17, 2023. It is now read-only.

Test board

Ivan edited this page Dec 26, 2018 · 2 revisions

Here an example of running communication on my test board with 4 devices:

Alt text

A nodered instance is used to receive (via MQTT) the communication stats.

Sometimes you can see the message M(number1)/(number2)/(number3)/(number3). These numbers mean:

  • number1: number of messages exchanged
  • number2: number of token exchanged
  • number3: number of CRC errors
  • number4: number of loss messages lenght mismatch (occur on sync loss, when the receiver get an end message byte in an unexpected position)

so, having M106/34600/0/0 means that the master has received 106 messages, exchanged 34600 times the token and he never saw a transmission error of any kind from his side. Note thate the error counters increase in case of transmission errors both on messages and on tokens.

When you see the message S(number1)E(number2)/(number3) the numbers tells you that:

  • number1: the slave address who sent the message
  • number2: the error stats reported by the slave on CRC errors
  • number3: the error stats reported by the slave on lenght mismatch.

So S2E0/0 means that the slave 2 do not report errors of any kind from his side.

Clone this wiki locally