IoT - Kubus / Mbed 2 deprecated Kubus

Dependencies:   mbed nRF24L01P

Revision:
7:e51d0fbb1a25
Parent:
6:98401b545e0c
Child:
8:1861d0eef60a
--- a/common.h	Thu Jan 05 11:25:21 2017 +0000
+++ b/common.h	Thu Jan 05 13:13:28 2017 +0000
@@ -24,6 +24,14 @@
     SOUND = 4,
 };
 
+struct SensorDescription {
+    SensorDescription(int _sensor_id, unsigned long long _rx_address, unsigned long long _tx_address)
+        : sensor_id(_sensor_id), rx_address(_rx_address), tx_address(_tx_address) {}
+    int sensor_id;
+    unsigned long long rx_address;
+    unsigned long long tx_address;
+};
+
 struct Data {
     Data(uint8_t type_, uint8_t counter_)
         : type(type_), counter(counter_) {}