BLERemoteDescriptor¶
A model of remote BLE descriptor.
詳細情報¶
メンバー¶
getHandle()¶
Retrieve the handle associated with this remote descriptor.
uint16_t BLERemoteDescriptor::getHandle()
戻り値
uint16_t The handle associated with this remote descriptor.
getRemoteCharacteristic()¶
Get the characteristic that owns this descriptor.
BLERemoteCharacteristic * BLERemoteDescriptor::getRemoteCharacteristic()
戻り値
BLERemoteCharacteristic* The characteristic that owns this descriptor.
getUUID()¶
Retrieve the UUID associated this remote descriptor.
BLEUUID BLERemoteDescriptor::getUUID()
戻り値
BLEUUID The UUID associated this remote descriptor.
readValue()¶
std::string BLERemoteDescriptor::readValue(void)
戻り値
std::string
readUInt8()¶
uint8_t BLERemoteDescriptor::readUInt8(void)
戻り値
uint8_t
readUInt16()¶
uint16_t BLERemoteDescriptor::readUInt16(void)
戻り値
uint16_t
readUInt32()¶
uint32_t BLERemoteDescriptor::readUInt32(void)
戻り値
uint32_t
toString()¶
Return a string representation of this BLE Remote Descriptor. @retun A string representation of this BLE Remote Descriptor.
std::string BLERemoteDescriptor::toString(void)
戻り値
std::string
writeValue()¶
Write data to the BLE Remote Descriptor.
void BLERemoteDescriptor::writeValue(uint8_t *data, size_t length, bool response=false)
引数
- uint8_t*
data
The data to send to the remote descriptor. - size_t
length
The length of the data to send. - bool
response
True if we expect a response.
writeValue()¶
Write data represented as a string to the BLE Remote Descriptor.
void BLERemoteDescriptor::writeValue(std::string newValue, bool response=false)
引数
- std::string
newValue
The data to send to the remote descriptor. - bool
response
True if we expect a response.
writeValue()¶
Write a byte value to the Descriptor.
void BLERemoteDescriptor::writeValue(uint8_t newValue, bool response=false)
引数
- uint8_t
newValue
- bool
response