Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions API.md
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,12 @@ Choice of:
or

* value - string value (max: 20 characters on nRF8001 and nRF51822)

Please take note that in order to initialise a characteristic containing one or more 0's (i.e. not a real string) you should use a combination of
```
BLECharacteristic(const char* uuid, unsigned char properties, sizeof(value));
BLECharacteristic.setValue((unsigned char*)value, sizeof(value));
```

## Get value
```c
Expand Down