forked from h2zero/esp-nimble-cpp
[Breaking] Remove deprecated functions/response parameter from un/sub (#76)
Removes the response parameter from remote characterisitc subscrible/unsubscribe functions as a response is always required for this operation as per BLE specs. Removes the deprecated functions from remote characteristic/desriptor. * Update examples/docs.
This commit is contained in:
1 parent
2b758e05c7
commit
03b22e53a0
6 files changed
+24
-129
No files matched your search
@@ -30,10 +30,6 @@ public:
|
||||
NimBLERemoteCharacteristic* getRemoteCharacteristic();
|
||||
NimBLEUUID getUUID();
|
||||
NimBLEAttValue readValue();
|
||||
|
||||
uint8_t readUInt8() __attribute__ ((deprecated("Use template readValue<uint8_t>()")));
|
||||
uint16_t readUInt16() __attribute__ ((deprecated("Use template readValue<uint16_t>()")));
|
||||
uint32_t readUInt32() __attribute__ ((deprecated("Use template readValue<uint32_t>()")));
|
||||
std::string toString(void);
|
||||
bool writeValue(const uint8_t* data, size_t length, bool response = false);
|
||||
bool writeValue(const std::vector<uint8_t>& v, bool response = false);
|
||||
|
||||
Reference in new issue
Block a user