Update for latest nRF51822 code changes.
Dependencies: BLE_API nRF51822
Fork of Puck by
Puck.hpp
- Committer:
- stiaje
- Date:
- 2014-07-17
- Revision:
- 1:29b2cca0d529
- Parent:
- 0:718051934fdb
- Child:
- 2:38614fd0fcce
File content as of revision 1:29b2cca0d529:
#ifndef __PUCK_HPP__ #define __PUCK_HPP__ #include "BLEDevice.h" class Puck { private: BLEDevice _ble; uint8_t _beaconPayload[25]; public: /** Initialize the Puck library */ Puck(uint16_t minor); /** The BLE Device * @return ble device */ BLEDevice ble() { return _ble; } /** Initialize the BLE Device and start advertising */ void init(); }; #endif // __PUCK_HPP__