Modifications

Sauter à la navigation Sauter à la recherche
Ligne 198 : Ligne 198 :  
{{ambox-stop|text=We will have to modify the script before executing it!}}  
 
{{ambox-stop|text=We will have to modify the script before executing it!}}  
   −
{{underline|'''Update for frequency plan:'''}}
+
The frequency and encryption key must be updated from team to team to avoids messages collisions and cross-over transmission between the teams.
{{traduction}}
+
 
The frequency used by the receiver RFM69HCW must be exactly the same as th emitter! z is free for use, please select your own frequency in that range.
+
As the organisator for your team frequency according to the Frequency Plan
 +
 
 +
{{underline|'''Update for frequency plan, encryption key:'''}}
 +
 
 +
The '''frequency''' used by the receiver RFM69HCW must be exactly the same as the emitter!
 +
 
 +
The '''Encryption key''' used by the receiver RFM69HCW must be exactly the same as the emitter!
 +
 
 +
The '''Node ID''' is the target node id (0..255) where the emitter must sent the messages
    
Locate the following lignes:
 
Locate the following lignes:
   −
<syntaxhighlight lang="c">// Change to 434.0 or other frequency, must match RX's freq!
+
<syntaxhighlight lang="python">FREQ          = 433.1
#define RF69_FREQ 915.0
+
ENCRYPTION_KEY = b"\x01\x02\x03\x04\x05\x06\x07\x08\x01\x02\x03\x04\x05\x06\x07\x08"
 +
NODE_ID        = 100 # ID of this node
 
</syntaxhighlight>
 
</syntaxhighlight>
  
29 917

modifications

Menu de navigation