You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Feature added:
For Central mode, added the support for processing
BLE descriptor from a connected Peripheral. Enable
the user sketch to access to descriptor value,
length info.
Code modifications:
1. peripheral_explorer.ino:
- Example sketch with added descriptor processing.
2. BLECharacteristic.cpp:
- Bug fixed in handling multi-descriptors.
3. BLEDescriptor.cpp:
- For constructors, added initialization of
descriptor storage and info.
- For copy constructor and assignment, take into
the account of descripter value and info.
- Added API's for readning and returning descriptor
info, eg. value, size.
4. BLEDescriptor.h:
- Prototyping.
5. BLEDevice.h:
- Added descriptor storage declaration.
6. BLECallbacks.cpp:
- Added call back event for decriptor arrival.
7. BLECallbacks.h:
- Prototyping.
8. BLECharacteristicImp.cpp:
- The processing of the descriptor.
9. BLECharacteristicImp.h:
- Prototyping.
10. BLEServiceImp.cpp:
- Added descriptor info to constructor.
- Made copy constructor to be aware of descriptor info.
11. BLEServiceImp.h:
- Prototyping.
0 commit comments