mirror of https://github.com/ARMmbed/mbed-os.git
Use general name for POD
parent
d42c0a7269
commit
aaf9435f87
|
@ -444,11 +444,11 @@ struct GattDataSentCallbackParams {
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Gatt Updates Enabled Attribute related events
|
* Gatt Updates Changed Attribute related events
|
||||||
*
|
*
|
||||||
* Used by `onUpdatesEnabled`
|
* Used by `onUpdatesEnabled` and 'onUpdatesDisabled'
|
||||||
*/
|
*/
|
||||||
struct GattUpdatesEnabledCallbackParams {
|
struct GattUpdatesChangedCallbackParams {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The handle of the connection that triggered the event.
|
* The handle of the connection that triggered the event.
|
||||||
|
@ -461,13 +461,14 @@ struct GattUpdatesEnabledCallbackParams {
|
||||||
GattAttribute::Handle_t attHandle;
|
GattAttribute::Handle_t attHandle;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The handle of the characteristic containing the CCCD
|
* The value handle of the characteristic containing the CCCD
|
||||||
*/
|
*/
|
||||||
GattAttribute::Handle_t charHandle;
|
GattAttribute::Handle_t charHandle;
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
using GattUpdatesDisabledCallbackParams = GattUpdatesEnabledCallbackParams;
|
using GattUpdatesEnabledCallbackParams = GattUpdatesChangedCallbackParams;
|
||||||
|
using GattUpdatesDisabledCallbackParams = GattUpdatesChangedCallbackParams;
|
||||||
using GattConfirmationReceivedCallbackParams = GattDataSentCallbackParams;
|
using GattConfirmationReceivedCallbackParams = GattDataSentCallbackParams;
|
||||||
|
|
||||||
namespace ble {
|
namespace ble {
|
||||||
|
|
Loading…
Reference in New Issue