Handling incorrect messages
Hello,
I am working on implementing the, hopefully according to the standard, correct actions to be taken on incorrect messages that could be received by a responder.
After reading the standard several times I am still left with the following questions on how to do things proper:
1. A message count must be 0x00 as received by a responder. What if a non-zero value is received, this should generate a format error?
2. What error to give with a wrong message class value -> format error?
3. When the packet data length mismatches with data length -> format error?
4. When a PID requested via PARAMETER_DESCRIPTION is not available -> format error or range error?
Greetings
Marc
|