diff --git a/esds/simulator.py b/esds/simulator.py index fcc759b..b3bbfc2 100644 --- a/esds/simulator.py +++ b/esds/simulator.py @@ -424,7 +424,7 @@ class Simulator: if dst["state"] == "call_blocking" and dst["request"] == "receive": dst["interfaces_queue_size"][interface]-=1 dst["state"]="running" - dst.rqueue.put(("receive",RCode.SUCCESS)) + dst.rqueue.put(("receive",rcode)) self.sync_node_non_blocking(dst,timeout_remove_only=True) self.notify_node_plugins(dst, "on_communication_end", event) self.update_sharing(dst.node_id,-1,interface) diff --git a/manual/manual.pdf b/manual/manual.pdf index 99bdd02..e17cdb5 100644 Binary files a/manual/manual.pdf and b/manual/manual.pdf differ diff --git a/manual/manual.tex b/manual/manual.tex index e5e6db8..3cc68f5 100644 --- a/manual/manual.tex +++ b/manual/manual.tex @@ -180,6 +180,9 @@ breakpoints_callback: \label{keywords:general} \end{table} +\subsubsection{Notes} +The \textbf{interferences} keywords allows to control interference detection. It works as follow. If at any point in time during a wireless communication, another communication happens, on the same wireless interface, in the range of the receiver, then the interference return code will be given to the receiver upon reception. + \subsection{The node section} The node section is used configure the simulated node of esds. Table \ref{keywords:nodes} references all the keywords used in the nodes section.