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: mbed_EddystoneURL_Beacon_ssci mbed_EddystoneURL_Beacon_ssci mbed_EddystoneURL_Beacon_ssci
Fork of BLE_API by
Diff: public/DiscoveredCharacteristic.h
- Revision:
- 471:ed48300978d9
- Parent:
- 470:150c2363f776
- Child:
- 472:2a040d99104c
--- a/public/DiscoveredCharacteristic.h Fri Jun 19 15:51:59 2015 +0100
+++ b/public/DiscoveredCharacteristic.h Fri Jun 19 15:51:59 2015 +0100
@@ -70,7 +70,13 @@
onDataReadCallback = callback;
}
- // virtual void read(uint16_t offset = 0);
+ /**
+ * Initiate (or continue) a read for the value attribute, optionally at a
+ * given offset. If the Characteristic or Descriptor to be read is longer
+ * than ATT_MTU - 1, this function must be called multiple times with
+ * appropriate offset to read the complete value.
+ */
+ virtual void read(uint16_t offset = 0) = 0;
public:
void setup(Properties_t propsIn,
