Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: BLE_PowerBank_HeyFaradey
Fork of BLE_API by
Diff: public/Gap.h
- Revision:
- 143:8bdf577b1598
- Parent:
- 142:42f038a81ea7
- Child:
- 146:543877bb1f52
--- a/public/Gap.h Fri Nov 21 09:23:24 2014 +0000
+++ b/public/Gap.h Fri Nov 21 09:23:24 2014 +0000
@@ -21,15 +21,7 @@
#include "GapAdvertisingParams.h"
#include "GapEvents.h"
-/**************************************************************************/
-/*!
- \brief
- The base class used to abstract GAP functionality to a specific radio
- transceiver, SOC or BLE Stack.
-*/
-/**************************************************************************/
-class Gap
-{
+class Gap {
public:
typedef enum addr_type_e {
ADDR_TYPE_PUBLIC = 0,
@@ -42,7 +34,7 @@
typedef uint8_t address_t[ADDR_LEN];
/**
- * enumeration for disconnection reasons. The values for these reasons are
+ * Enumeration for disconnection reasons. The values for these reasons are
* derived from Nordic's implementation; but the reasons are meant to be
* independent of the transport. If you are returned a reason which is not
* covered by this enumeration, then please refer to the underlying
@@ -146,7 +138,7 @@
DisconnectionEventCallback_t onDisconnection;
private:
- /* disallow copy and assginment */
+ /* disallow copy and assignment */
Gap(const Gap &);
Gap& operator=(const Gap &);
};
