Syntax
boolean getCharacteristicInfo(
    const LGATTUUID& serviceUUID, 
    boolean isPrimary, 
    LGATTUUID& characteristicUUID, 
    LGATT_CHAR_PROPERTIES& properties
);
ContentsIndex
PreviousUpNext
LGATTClient::getCharacteristicInfo Method
LGATTClient Class | Example
Syntax
boolean getCharacteristicInfo(
    const LGATTUUID& serviceUUID, 
    boolean isPrimary, 
    LGATTUUID& characteristicUUID, 
    LGATT_CHAR_PROPERTIES& properties
);
Description

This function gets the information of a characteristic.

Parameters
Parameters 
Description 
const LGATTUUID& serviceUUID 
The UUID of the service provided by a Bluetooth 4.0 device.
 
boolean isPrimary 
Specifies if this service is primary.
 
LGATTUUID& characteristicUUID 
The UUID of the characteristic.
 
LGATT_CHAR_PROPERTIES& properties 
The properties of the specified characteristic, please refer to LGATT_CHAR_PROPERTIES
Returns

true: Successful. 

false: Failed.

Example
None
File

LGATTClient.h

Class