Huseyin Berkay Berabi / GA-Final

Dependencies:   mbed-dev

Fork of GA-Berkay_Alex by Alejandro Ungria Hirte

Revision:
4:120ff05a7c27
Parent:
3:8bee1711d186
--- a/nodes/nodes.h	Wed Feb 28 16:10:21 2018 +0000
+++ b/nodes/nodes.h	Wed Feb 28 17:06:22 2018 +0000
@@ -14,11 +14,11 @@
 #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         128               // 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, it is always number of possible anchors + 1
   
   //static int ADRESSES_COUNT=1;                                           // Adress Space: 0 - (ADRESSES_COUNT - 1)
 #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)
+#define BASE_STATION_ADDR      15                // Defines the Adress of the Base Station (reserved Adress) 
 
 // Constants for Base_Orders
 #define RANGE_ALL               2