MCPcopy Create free account
hub / github.com/Heltec-Aaron-Lee/WiFi_Kit_series / writeValue

Method writeValue

libraries/BLE/src/BLERemoteDescriptor.cpp:135–137  ·  view source on GitHub ↗

* @brief Write data represented as a string to the BLE Remote Descriptor. * @param [in] newValue The data to send to the remote descriptor. * @param [in] response True if we expect a response. */

Source from the content-addressed store, hash-verified

133 * @param [in] response True if we expect a response.
134 */
135bool BLERemoteDescriptor::writeValue(String newValue, bool response) {
136 return writeValue((uint8_t *)newValue.c_str(), newValue.length(), response);
137} // writeValue
138
139/**
140 * @brief Write a byte value to the Descriptor.

Callers 2

setValueMethod · 0.45
setValueMethod · 0.45

Calls 11

c_strMethod · 0.80
getClientMethod · 0.80
getRemoteServiceMethod · 0.80
takeMethod · 0.80
getGattcIfMethod · 0.80
giveMethod · 0.80
waitMethod · 0.80
secureConnectionMethod · 0.80
lengthMethod · 0.45
isConnectedMethod · 0.45
getConnIdMethod · 0.45

Tested by

no test coverage detected