Skip to content

Commit 87a2b5b

Browse files
committed
Fix documentation of BLE GattCharacteristic
The constructor doc incorrectly suggested that only short (16-bit) UUIDs were accepted. The same doc also referred to properties instead of characteristics. (And to "value length", which seemed to be completely out of place in the context of the current code.)
1 parent 373e6ab commit 87a2b5b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

features/FEATURE_BLE/ble/GattService.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,7 @@ class GattService {
4646

4747
public:
4848
/**
49-
* @brief Creates a new GattService using the specified 16-bit
50-
* UUID, value length, and properties.
49+
* @brief Creates a new GattService using the specified UUID and characteristics.
5150
*
5251
* @note The UUID value must be unique and is normally >1.
5352
*

0 commit comments

Comments
 (0)