Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of GA-Berkay_Alex by
Diff: nodes/nodes.h
- 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);
