
K2 Edge Protocol Manual – document version 1.0 – Page 23
5.6. Feedback levels
Three feedback levels can be defined:
basic
The default feedback level. Only the reception point and the first following point are covered. Any
following events, including error events will not be reported.
This level covers most of the events, including error events. The only event excluded is the stop
event, which can take a long time to occur. This level informs about all possible problems, without
having to wait for the template instance to be actually stopped.
full
This level covers all events, including the stop event.
5.7. Enabling feedback
To enable feedback for one of the supported NRE sub commands, follow these steps:
1. Add the
fb-sw=true
field to the NRE command.
2. Optionally add the
fb-lev=xxx
field/value pair to the NRE command, where
xxx
defines the
actual feedback level as described above. When not added, nexos will default to
basic
feedback
level.
3. Add the exid=yyy field/value pair to the NRE command, where yyy represents a unique ID that
allows the initiator to link feedback messages and commands.
4. Communicate with nexos over a socket link and stay connected, waiting for feedback messages
from nexos.
If these conditions are met, nexos will send feedback replies over the socket link used for sending
commands. Feedback messages are returned as an updated 'echo' of the original NRE command,
enhanced with one or more fields generated by nexos, as described in the following section.
Comentarios a estos manuales