boolean sendIndication( const LGATTAttributeValue & value, uint16_t attr_handle, boolean needConfirm );
boolean sendIndication( const LGATTAttributeValue & value, uint16_t attr_handle, boolean needConfirm );
This function sends notifications or indications to the central device.
|
Parameters |
Description |
|
const LGATTAttributeValue & value |
The attribute value, refer to LGATTAttributeValue. |
|
uint16_t attr_handle | |
|
boolean needConfirm |
The request for response from central device. To the Bluetooth protocol, if it's set to true, it means indication; if it's set to false, it means notification. // |
true: Successful.
false: Failed.
LGATTServer.h