Skip to content

Commit f18b1c0

Browse files
authored
Merge pull request #291 from SUI298/master
Update docs for BLECharacteristic constructor
2 parents b3a6a5b + e61315d commit f18b1c0

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docs/api.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -2632,7 +2632,8 @@ Create a new Bluetooth® Low Energy characteristic.
26322632
#### Syntax
26332633

26342634
```
2635-
BLECharacteristic(uuid, properties, value, valueSize)
2635+
BLECharacteristic(uuid, properties, valueSize)
2636+
BLECharacteristic(uuid, properties, valueSize, fixedLength)
26362637
BLECharacteristic(uuid, properties, stringValue)
26372638
26382639
BLEBoolCharacteristic(uuid, properties)
@@ -2656,6 +2657,7 @@ BLEDoubleCharacteristic(uuid, properties)
26562657
- **uuid**: 16-bit or 128-bit UUID in **String** format
26572658
- **properties**: mask of the properties (BLEBroadcast, BLERead, BLEWriteWithoutResponse, BLEWrite, BLENotify, BLEIndicate)
26582659
- **valueSize**: (maximum) size of characteristic value
2660+
- **fixedLength**: if true, size of characteristic value is fixed
26592661
- **stringValue**: value as a string
26602662

26612663
#### Returns

0 commit comments

Comments
 (0)