diff options
| author | Loic Guegan <loic.guegan@mailbox.org> | 2023-08-23 10:32:34 +0200 |
|---|---|---|
| committer | Loic Guegan <loic.guegan@mailbox.org> | 2023-08-23 10:32:34 +0200 |
| commit | 0d5c89c5951b7b6dd0106eafdf3fd51705377aa6 (patch) | |
| tree | 06ba6d23c1679572c8ed4c92099109d352242588 | |
| parent | 111ad7c34c505db6aa723454212b2e3f91931281 (diff) | |
Debug return code and improving documentation
| -rw-r--r-- | esds/simulator.py | 2 | ||||
| -rw-r--r-- | manual/manual.pdf | bin | 381100 -> 382241 bytes | |||
| -rw-r--r-- | manual/manual.tex | 3 |
3 files changed, 4 insertions, 1 deletions
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 Binary files differindex 99bdd02..e17cdb5 100644 --- a/manual/manual.pdf +++ b/manual/manual.pdf 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. |
