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:
- 413:4d5fb1522cfb
- Parent:
- 412:7a295e110b77
- Child:
- 424:370d5f1f292f
--- a/public/Gap.h Mon Jun 08 10:41:18 2015 +0100
+++ b/public/Gap.h Mon Jun 08 10:41:18 2015 +0100
@@ -62,10 +62,10 @@
};
/* Describes the current state of the device (more than one bit can be set) */
- typedef struct GapState_s {
+ struct GapState_t {
unsigned advertising : 1; /**< peripheral is currently advertising */
unsigned connected : 1; /**< peripheral is connected to a central */
- } GapState_t;
+ };
typedef uint16_t Handle_t;
