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.
Fork of BLE_API by
Diff: GattCharacteristic.h
- Revision:
- 4:50a31ff5f974
- Parent:
- 2:ffc5216bd2cc
- Child:
- 11:200931be5617
diff -r 46de446e82ed -r 50a31ff5f974 GattCharacteristic.h
--- a/GattCharacteristic.h Wed Dec 11 22:15:59 2013 +0000
+++ b/GattCharacteristic.h Thu Dec 12 02:20:54 2013 +0000
@@ -16,18 +16,7 @@
uint16_t lenMin; /* Minimum length of the value */
uint16_t lenMax; /* Maximum length of the value */
uint8_t index;
-
- struct Properties
- {
- /* Standard properties */
- uint8_t broadcast :1; /**< Broadcasting of value permitted. */
- uint8_t read :1; /**< Reading value permitted. */
- uint8_t write_wo_resp :1; /**< Writing value with Write Command permitted. */
- uint8_t write :1; /**< Writing value with Write Request permitted. */
- uint8_t notify :1; /**< Notications of value permitted. */ // https://developer.bluetooth.org/gatt/descriptors/Pages/DescriptorViewer.aspx?u=org.bluetooth.descriptor.gatt.client_characteristic_configuration.xml
- uint8_t indicate :1; /**< Indications of value permitted. */ // https://developer.bluetooth.org/gatt/descriptors/Pages/DescriptorViewer.aspx?u=org.bluetooth.descriptor.gatt.client_characteristic_configuration.xml
- uint8_t auth_signed_wr :1; /**< Writing value with Signed Write Command permitted. */
- } properties;
+ uint8_t properties;
};
#endif
