High level Bluetooth Low Energy API and radio abstraction layer
Fork of BLE_API by
Diff: blecommon.h
- Revision:
- 34:da2ea8cd6216
- Parent:
- 31:2c94f0501807
--- a/blecommon.h Thu Apr 03 01:45:33 2014 +0100 +++ b/blecommon.h Wed May 21 15:01:14 2014 +0100 @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + #ifndef __BLE_COMMON_H__ #define __BLE_COMMON_H__ @@ -35,14 +35,20 @@ /**************************************************************************/ typedef enum ble_error_e { - BLE_ERROR_NONE = 0, /**< No error */ - BLE_ERROR_BUFFER_OVERFLOW = 1, /**< The requested action would cause a buffer overflow and has been aborted */ - BLE_ERROR_NOT_IMPLEMENTED = 2, /**< Requested a feature that isn't yet implement or isn't supported by the target HW */ - BLE_ERROR_PARAM_OUT_OF_RANGE = 3 /**< One of the supplied parameters is outside the valid range */ + BLE_ERROR_NONE = 0, /**< No error */ + BLE_ERROR_BUFFER_OVERFLOW = 1, /**< The requested action would + *cause a buffer overflow and has + *been aborted */ + BLE_ERROR_NOT_IMPLEMENTED = 2, /**< Requested a feature that + *isn't yet implement or isn't + *supported by the target HW */ + BLE_ERROR_PARAM_OUT_OF_RANGE = 3 /**< One of the supplied + *parameters is outside the valid + *range */ } ble_error_t; #ifdef __cplusplus } #endif -#endif +#endif // ifndef __BLE_COMMON_H__