Bluetooth Low Energy for Smart Plug

Dependencies:   BLE_API mbed nRF51822

Fork of SmartPlugBLE by Pavit Noinongyao

Revision:
2:6db5c9a2894c
Parent:
0:25ad6eba7916
Child:
3:aaa92c61931a
--- a/SPCommunication.h	Tue Jul 07 04:58:28 2015 +0000
+++ b/SPCommunication.h	Wed Jul 08 07:25:11 2015 +0000
@@ -4,10 +4,10 @@
 class SPCommunication
 {
     public:
-        unsigned long getVoltage(){return 220;}
-        unsigned long getCurrent(){return 10;}
-        unsigned long getPower(){return 10;}
-        unsigned long getPowerFactor(){return 10;}
+        uint32_t getVoltage(){return 220;}
+        uint32_t getCurrent(){return 10;}
+        uint32_t getPower(){return 10;}
+        uint32_t getPowerFactor(){return 10;}
 };
 
 #endif