Syntax
boolean sendIndication(
    const LGATTAttributeValue & value, 
    uint16_t attr_handle, 
    boolean needConfirm
);
ContentsIndex
PreviousUpNext
LGATTService::sendIndication Method
LGATTService Class
Syntax
boolean sendIndication(
    const LGATTAttributeValue & value, 
    uint16_t attr_handle, 
    boolean needConfirm
);
Description

This function sends notifications or indications to the central device.

Parameters
Parameters 
Description 
const LGATTAttributeValue & value 
The attribute value, refer to LGATTAttributeValue.
 
uint16_t attr_handle 
The attribute handle that is passed from
onCharacteristicAdded().
 
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. //
 
Returns

true: Successful. 

false: Failed.

File

LGATTServer.h

Class