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: ble/BLEProtocol.h
- Revision:
- 1076:5f938eb2bd6a
- Parent:
- 1075:0d0dafb54bc9
--- a/ble/BLEProtocol.h Mon Jan 11 08:51:43 2016 +0000
+++ b/ble/BLEProtocol.h Mon Jan 11 08:51:43 2016 +0000
@@ -21,9 +21,9 @@
#include <stdint.h>
/**
- * A common container for types and constants used everywhere in BLE API.
+ * A common namespace for types and constants used everywhere in BLE API.
*/
-struct BLEProtocol {
+namespace BLEProtocol {
/**< Address-type for Protocol addresses. */
struct AddressType { /* Adding a struct to encapsulate the contained enumeration
* prevents polluting the BLEProtocol namespace with the
