Huseyin Berkay Berabi / GA-Final

Dependencies:   mbed-dev

Fork of GA-Berkay_Alex by Alejandro Ungria Hirte

Revision:
2:5adf0b785944
Parent:
0:a3b83d366423
Child:
3:8bee1711d186
--- a/nodes/nodes.h	Sat Dec 09 16:02:58 2017 +0000
+++ b/nodes/nodes.h	Wed Jan 10 16:14:49 2018 +0000
@@ -14,10 +14,10 @@
 #define TIMEUNITS_TO_US       (1/(128*499.2))    // conversion between the decawave timeunits (ca 15.65ps) to microseconds.
 #define US_TO_TIMEUNITS       (128*499.2)        // conversion between microseconds to the decawave timeunits (ca 15.65ps).
 #define MMRANGING_2POWER40     1099511627776     // decimal value of 2^40 to correct timeroverflow between timestamps
-#define ADRESSES_COUNT         10                // Defines the Adress Space that is covered when Ranging for all
+#define ADRESSES_COUNT         128               // Defines the Adress Space that is covered when Ranging for all
   
   //static int ADRESSES_COUNT=1;                                           // Adress Space: 0 - (ADRESSES_COUNT - 1)
-#define MAX_TRIES              5                 // Number of times a Anchor is pinged until determined it is not in range
+#define MAX_TRIES              0                // Number of times a Anchor is pinged until determined it is not in range
 #define BASE_STATION_ADDR      15                // Defines the Adress of the Base Station (reserved Adress)
 
 // Constants for Base_Orders