Skip to content

Commit e61315d

Browse files
authored
Update api.md
1 parent 289d3d6 commit e61315d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Diff for: docs/api.md

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

26742674
```
2675-
BLECharacteristic(uuid, properties, value, valueSize)
2675+
BLECharacteristic(uuid, properties, valueSize)
2676+
BLECharacteristic(uuid, properties, valueSize, fixedLength)
26762677
BLECharacteristic(uuid, properties, stringValue)
26772678
26782679
BLEBoolCharacteristic(uuid, properties)
@@ -2696,6 +2697,7 @@ BLEDoubleCharacteristic(uuid, properties)
26962697
- **uuid**: 16-bit or 128-bit UUID in **String** format
26972698
- **properties**: mask of the properties (BLEBroadcast, BLERead, BLEWriteWithoutResponse, BLEWrite, BLENotify, BLEIndicate)
26982699
- **valueSize**: (maximum) size of characteristic value
2700+
- **fixedLength**: if true, size of characteristic value is fixed
26992701
- **stringValue**: value as a string
27002702

27012703
#### Returns

0 commit comments

Comments
 (0)