Huseyin Berkay Berabi / GA-Final

Dependencies:   mbed-dev

Fork of GA-Berkay_Alex by Alejandro Ungria Hirte

Revision:
3:8bee1711d186
Parent:
2:5adf0b785944
Child:
4:120ff05a7c27
--- a/nodes/nodes.h	Wed Jan 10 16:14:49 2018 +0000
+++ b/nodes/nodes.h	Wed Feb 28 16:10:21 2018 +0000
@@ -21,8 +21,9 @@
 #define BASE_STATION_ADDR      15                // Defines the Adress of the Base Station (reserved Adress)
 
 // Constants for Base_Orders
-#define RANGE_ALL               1                
-#define RANGE_ONE               0           
+#define RANGE_ALL               2                
+#define RANGE_ONE               0          
+#define RANGE_INT               1 
 #define NOT_USED                0xff
 
 // Constant for Switch Types Orders
@@ -118,6 +119,7 @@
     
         virtual void requestRanging(uint8_t destination);
         virtual void requestRangingAll();
+        virtual void requestRangingInt(uint8_t from, uint8_t to);
      
         float getDistance(uint8_t index);  
         float getSignalStrength(uint8_t index);