diff --git a/_h_i_d_keyboard_types_8h_source.html b/_h_i_d_keyboard_types_8h_source.html index 2946defd..f4fff5f3 100644 --- a/_h_i_d_keyboard_types_8h_source.html +++ b/_h_i_d_keyboard_types_8h_source.html @@ -25,7 +25,7 @@
This will create the characteristic if not already created.
@@ -407,11 +409,13 @@[in] | reportId | input report ID, the same as in report map for input object related to the characteristic. |
[in] | reportId | Input report ID, the same as in report map for input object related to the characteristic. |
This will create the characteristic if not already created.
@@ -439,8 +443,10 @@This will create the characteristic if not already created.
This will create the characteristic if not already created.
diff --git a/class_nim_b_l_e_local_attribute-members.html b/class_nim_b_l_e_local_attribute-members.html index 74704b28..093375af 100644 --- a/class_nim_b_l_e_local_attribute-members.html +++ b/class_nim_b_l_e_local_attribute-members.html @@ -25,7 +25,7 @@All notable changes to this project will be documented in this file.
+NimBLEHIDDevice
can now create more than one in/out/feature report map.NimBLEHIDDevice::getOutputReport
will now return the correct characteristic.NimBLEServer
has no member named m_pClient
.NimBLEConnInfo
and NimBLEUtils
to NimBLEDevice.h
.-
NimBLEScanCallbacks::onScanEnd, replaces the scanEnded callback passed to
NimBLEScan::startand now takes a
const NimBLEScanResults&and
int reasonparameter.
-
NimBLEScanCallbacks::onDiscovered, This is called immediately when a device is first scanned, before any scan response data is available and takes a
const NimBLEAdvertisedDevice*parameter. -
NimBLEScan::stopwill no longer call the
onScanEndcallback as the caller should know its been stopped when this is called. -
NimBLEScan::clearDuplicateCachehas been removed as it was problematic and only for the esp32. Stop and start the scanner for the same effect. -
NimBLEScanResults::getDevicemethods now return
const NimBLEAdvertisedDevice*. -
NimBLEScanResultsiterators are now
const_iterator. -
NimBLEAdvertisedDevice::hasRSSIremoved as redundant, RSSI is always available. -
NimBLEAdvertisedDevice::getPayloadnow returns
const std::vector<uint8_t>instead of a pointer to internal memory. -
NimBLEAdvertisedDeviceTimestamp removed, if needed then the app should track the time from the callback. -
NimBLECharacteristic::notifyno longer takes a
bool is_notificationparameter, instead
indicate()should be called to send indications. -
NimBLECharacteristicCallbacks::onNotifyremoved as unnecessary, the library does not call notify without app input. -
NimBLECharacteristicCallbacks::onStatusNo longer takes a
statusparameter, refer to the return code for success/failure. -
NimBLERemoteCharacteristic::getRemoteServicenow returns a
const NimBLERemoteService*instead of non-const. -
NimBLERemoteCharacteristic::readUInt32Has been removed. -
NimBLERemoteCharacteristic::readUInt16Has been removed. -
NimBLERemoteCharacteristic::readUInt8Has been removed. -
NimBLERemoteCharacteristic::readFloatHas been removed. -
NimBLERemoteCharacteristic::registerForNotifyHas been removed. -
NimBLERemoteService::getCharacteristicsnow returns a
const std::vector<NimBLERemoteCharacteristic*>&instead of non-const
std::vector<NimBLERemoteCharacteristic*>*. -
NimBLERemoteService::getValuenow returns
NimBLEAttValueinstead of
std::string. -
NimBLEService::getCharacteristicsnow returns a
const std::vector<NimBLECharacteristic*>&instead of std::vector<NimBLECharacteristic *>. -
NimBLEUUID::getNativemethod replaced with
NimBLEUUID::getBasewhich returns a read-only pointer to the underlying
ble_uuid_tstruct. -
NimBLEUUID;
msbFirstparameter has been removed from constructor, caller should reverse the data first or call the new
reverseByteOrdermethod after. -
NimBLEAddressconstructor; default value for the
typeparameter removed, caller should know the address type and specify it. -
NimBLEAddress::getNativereplaced with
NimBLEAddress::getBaseand now returns a pointer to
const ble_addr_tinstead of a pointer to the address value. -
NimBLEAddress::equalsmethod and
NimBLEAddress::== operatorwill now also test if the address types are the same. -
NimBLEUtils::dumpGapEventfunction removed. -
NimBLEUtils::buildHexDatareplaced with
NimBLEUtils::dataToHexString, which returns a
std::stringcontaining the hex string. -
NimBLEEddystoneTLM::setTempnow takes an
int16_tparameter instead of float to be friendly to devices without floating point support. -
NimBLEEddystoneTLM::getTempnow returns
int16_tto work with devices that don't have floating point support. -
NimBLEEddystoneTLM::setDatanow takes a reference to *
NimBLEEddystoneTLM::BeaconDatainstead of
std::string. -
NimBLEEddystoneTLM::getDatanow returns a reference to *
NimBLEEddystoneTLM::BeaconDatainstead of
std::string. -
NimBLEBeacon::setDatanow takes
const NimBLEBeacon::BeaconData&instead of
std::string. -
NimBLEBeacon::getDatanow returns
const NimBLEBeacon::BeaconData&instead of
std::string. -
NimBLEHIDDevice::reportMaprenamed to
NimBLEHIDDevice::getReportMap. -
NimBLEHIDDevice::hidControlrenamed to
NimBLEHIDDevice::getHidControl. -
NimBLEHIDDevice::inputReportrenamed to
NimBLEHIDDevice::getInputReport. -
NimBLEHIDDevice::outputReportrenamed to
NimBLEHIDDevice::getOutputReport. -
NimBLEHIDDevice::featureReportrenamed to
NimBLEHIDDevice::getFeatureReport. -
NimBLEHIDDevice::protocolModerenamed to
NimBLEHIDDevice::getProtocolMode. -
NimBLEHIDDevice::bootOutputrenamed to
NimBLEHIDDevice::getBootOutput. -
NimBLEHIDDevice::pnprenamed to
NimBLEHIDDevice::setPnp. -
NimBLEHIDDevice::hidInforenamed to
NimBLEHIDDevice::setHidInfo. -
NimBLEHIDDevice::deviceInforenamed to
NimBLEHIDDevice::getDeviceInfoService. -
NimBLEHIDDevice::hidServicerenamed to
NimBLEHIDDevice::getHidService. -
NimBLEHIDDevice::batteryServicerenamed to
NimBLEHIDDevice::getBatteryService`.NimBLEDevice::getPower
and NimBLEDevice::getPowerLevel
bug worked around for the esp32s3 and esp32c3.NimBLEClient::secureConnection
now takes an additional parameter bool async
, if true, will send the secure command and return immediately with a true value for successfully sending the command, else false. This allows for asynchronously securing a connection.NimBLEClient::setDataLen
and NimBLEServer::setDataLen
: Data length extension support (IDF version >= 4.3.2 only)portMUX_TYPE
variable in the class definitions.btInUse
.NimBLEConnInfo
.NimBLEScan::clearDuplicateCache
: This can be used to reset the cache of advertised devices so they will be immediately discovered again.NimBLECharacteristicCallbacks::onSubscribe
Is now called after the connection is added to the vector.nimconfig.h
(Arduino) is now easier to use.NimBLEScan
Now uses the controller duplicate filter.NimBLEAdvertisedDevice
Has been refactored to store the complete advertisement payload and no longer parses the data from each advertisement. Instead the data will be parsed on-demand when the user application asks for specific data.NimBLEHIDDevice
Characteristics now use encryption, this resolves an issue with communicating with devices requiring encryption for HID devices.NimBLEServerCallbacks::onDisconnect
overloaded callback added to provide a ble_gap_conn_desc parameter for the application to obtain information about the disconnected client.nimconfig.h
for command line defined macros to support platformio config settings.NimBLEAdvertising::start
now returns a bool value to indicate success/failure.NimBLEScan
When the scan ends the scan stopped flag is now set before calling the scan complete callback (if used) this allows the starting of a new scan from the callback function.NimBLEClient::connect
would hang on the task block if no event arrived to unblock. A time limit has been added to timeout appropriately.NimBLEAdvertising::start
Now takes 2 optional parameters, the first is the duration to advertise for (in seconds), the second is a callback that is invoked when advertising ends and takes a pointer to a NimBLEAdvertising
object (similar to the NimBLEScan::start
API).NimBLEAddress
constructor: NimBLEAddress()
produces an address of 00:00:00:00:00:00 type 0.