Bluetooth Low Energy for Smart Plug

Dependencies:   BLE_API mbed nRF51822

Fork of SmartPlugBLE by Pavit Noinongyao

Revision:
0:25ad6eba7916
Child:
2:6db5c9a2894c
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/SPCommunication.h	Tue Jul 07 04:02:14 2015 +0000
@@ -0,0 +1,13 @@
+#ifndef SP_COMMUNICATION_H
+#define SP_COMMUNICATION_H
+
+class SPCommunication
+{
+    public:
+        unsigned long getVoltage(){return 220;}
+        unsigned long getCurrent(){return 10;}
+        unsigned long getPower(){return 10;}
+        unsigned long getPowerFactor(){return 10;}
+};
+
+#endif