Skip to content

Commit

Permalink
Update api.md
Browse files Browse the repository at this point in the history
  • Loading branch information
SUI298 authored Mar 13, 2023
1 parent 289d3d6 commit e61315d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -2672,7 +2672,8 @@ Create a new Bluetooth® Low Energy characteristic.
#### Syntax

```
BLECharacteristic(uuid, properties, value, valueSize)
BLECharacteristic(uuid, properties, valueSize)
BLECharacteristic(uuid, properties, valueSize, fixedLength)
BLECharacteristic(uuid, properties, stringValue)
BLEBoolCharacteristic(uuid, properties)
Expand All @@ -2696,6 +2697,7 @@ BLEDoubleCharacteristic(uuid, properties)
- **uuid**: 16-bit or 128-bit UUID in **String** format
- **properties**: mask of the properties (BLEBroadcast, BLERead, BLEWriteWithoutResponse, BLEWrite, BLENotify, BLEIndicate)
- **valueSize**: (maximum) size of characteristic value
- **fixedLength**: if true, size of characteristic value is fixed
- **stringValue**: value as a string

#### Returns
Expand Down

0 comments on commit e61315d

Please sign in to comment.