Bluetooth Low Energy for Smart Plug
Dependencies: BLE_API mbed nRF51822
Fork of SmartPlugBLE by
SPCommunication.h
- Committer:
- Slepnir
- Date:
- 2015-07-08
- Revision:
- 2:6db5c9a2894c
- Parent:
- 0:25ad6eba7916
- Child:
- 3:aaa92c61931a
File content as of revision 2:6db5c9a2894c:
#ifndef SP_COMMUNICATION_H #define SP_COMMUNICATION_H class SPCommunication { public: uint32_t getVoltage(){return 220;} uint32_t getCurrent(){return 10;} uint32_t getPower(){return 10;} uint32_t getPowerFactor(){return 10;} }; #endif