SG RFID nRF51822 fork
Fork of nRF51822 by
Diff: nRF51822n.cpp
- Revision:
- 79:540d11f2764f
- Parent:
- 56:a1071b629aa3
- Child:
- 80:cdcc094ab166
diff -r 9a5ba2c5d53c -r 540d11f2764f nRF51822n.cpp --- a/nRF51822n.cpp Fri Nov 21 10:00:41 2014 +0000 +++ b/nRF51822n.cpp Wed Dec 03 14:33:28 2014 +0000 @@ -36,20 +36,10 @@ return (&deviceInstance); } -/**************************************************************************/ -/*! - @brief Constructor -*/ -/**************************************************************************/ nRF51822n::nRF51822n(void) { } -/**************************************************************************/ -/*! - @brief Destructor -*/ -/**************************************************************************/ nRF51822n::~nRF51822n(void) { } @@ -89,22 +79,6 @@ return BLE_ERROR_NONE; } -/**************************************************************************/ -/*! - @brief Initialises anything required to start using BLE - - @returns ble_error_t - - @retval BLE_ERROR_NONE - Everything executed properly - - @section EXAMPLE - - @code - - @endcode -*/ -/**************************************************************************/ ble_error_t nRF51822n::init(void) { /* ToDo: Clear memory contents, reset the SD, etc. */ @@ -115,23 +89,6 @@ return BLE_ERROR_NONE; } -/**************************************************************************/ -/*! - @brief Resets the BLE HW, removing any existing services and - characteristics - - @returns ble_error_t - - @retval BLE_ERROR_NONE - Everything executed properly - - @section EXAMPLE - - @code - - @endcode -*/ -/**************************************************************************/ ble_error_t nRF51822n::reset(void) { nrf_delay_us(500000); @@ -146,4 +103,4 @@ nRF51822n::waitForEvent(void) { sd_app_evt_wait(); -} +} \ No newline at end of file