Self test boot program for testing icarus sensors

Dependencies:   BLE_API mbed nRF51822

Fork of BLE_UARTConsole by Bluetooth Low Energy

Revision:
8:e9ae7a01d866
Parent:
7:438b55fe8576
Child:
9:ed3636e1873f
--- a/BaseSensor.h	Mon Jan 26 13:57:26 2015 +0000
+++ b/BaseSensor.h	Tue Jan 27 09:29:17 2015 +0000
@@ -3,8 +3,6 @@
  
 #include "mbed.h"
 
-#include "BaseChannel.h" 
-
 /* Constants */
 #define SENSORS_GRAVITY_EARTH             (9.80665F)              /**< Earth's gravity in m/s^2 */
 #define SENSORS_GRAVITY_MOON              (1.6F)                  /**< The moon's gravity in m/s^2 */
@@ -53,15 +51,14 @@
 class BaseSensor {
 public:
 //constructor
-    BaseSensor(BaseChannel* );
+    BaseSensor();
     //get sensor details from actual implementation
-    virtual char* getSimpleName();
-    virtual void getSensorDetails(sensor_t*);
+    virtual char* getSimpleName() = 0;
+    virtual void getSensorDetails(sensor_t*) = 0;
     //verify basic integrity of underlining hardware
-    virtual int verifyIntegrity(int*);  
+    virtual int verifyIntegrity(int*) = 0;  
     
 private:  
-    BaseChannel* channel;
 };
  
 #endif
\ No newline at end of file