Modifications

Sauter à la navigation Sauter à la recherche
Ligne 346 : Ligne 346 :  
* The '''BaseStation ID''' the node id (0..255) where the CanSat emitter must sent the messages (and from which the ACK response are expected).
 
* The '''BaseStation ID''' the node id (0..255) where the CanSat emitter must sent the messages (and from which the ACK response are expected).
   −
Locate the following lines:
+
The NODE_ID and BASESTATION_ID are preconfigured and doesn't need to be updated.
 +
 
 +
{{underline|Remark:}} the frequency & encryption key are enough to "isolate a group". Nodes ID are used to create mesh network within a group. A simple mesh with 2 nodes (the Receiver base station and the Emitter CanSat) is enough to exchange messages with Acknowledgement.
 +
 
 +
Anyway Node ID can be updated for test purpose. To do so, locate the following lines:
    
<syntaxhighlight lang="python">NODE_ID        = 120 # ID of this node
 
<syntaxhighlight lang="python">NODE_ID        = 120 # ID of this node
 
BASESTATION_ID = 100 # ID of the node (base station) to be contacted
 
BASESTATION_ID = 100 # ID of the node (base station) to be contacted
 
</syntaxhighlight>
 
</syntaxhighlight>
  −
  −
The NODE_ID and BASESTATION_ID are preconfigured and doesn't need to be updated (they can be updated for test purpose).
  −
  −
{{underline|Note:}} the frequency & encryption key are enough to "isolate groups". Nodes ID are used to create mesh network within a group. A simple mesh with 2 nodes: the Receiver base station and the Emitter CanSat.
  −
      
{{underline|'''Opening the Serial Line:'''}}
 
{{underline|'''Opening the Serial Line:'''}}
29 917

modifications

Menu de navigation