Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ehong-tl committed Sep 13, 2024
1 parent f2692cd commit 3454da8
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,13 @@ void setOptions(int keepAlive, bool cleanSession, int timeout);
- The `cleanSession` option controls the session retention on the broker side (default: true).
- The `timeout` option controls the default timeout for all commands in milliseconds (default: 1000).
```c++
void setPartialWriteSettings(size_t maxPartialWriteLength, uint32_t partialWriteDelayms);
```

- The `maxPartialWriteLength` option controls maximum partial write length for each successive client write into network buffer (default: 512).
- The `partialWriteDelayms` option controls delay in ms for each successive partial client write into network buffer (default: 0).

Set a custom clock source "custom millis" callback to enable deep sleep applications:

```c++
Expand Down

0 comments on commit 3454da8

Please sign in to comment.