Skip to content

Commit

Permalink
Merge pull request #1154 from onooma/fix-documentation-typo
Browse files Browse the repository at this point in the history
Fix documentation typo
  • Loading branch information
marcosinigaglia authored Jan 16, 2024
2 parents 5301699 + 79f57e9 commit a7304c8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/methods.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -759,15 +759,15 @@ BleManager.getMaximumWriteValueLengthForWithoutResponse(

---

## getMaximumWriteValueLengthForWitResponse(peripheralId) [iOS only]
## getMaximumWriteValueLengthForWithResponse(peripheralId) [iOS only]

Return the maximum value length for WriteWithResponse.
Returns a `Promise` object.

**Examples**

```js
BleManager.getMaximumWriteValueLengthForWitResponse(
BleManager.getMaximumWriteValueLengthForWithResponse(
"XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX"
).then((maxValue) => {
console.log("Maximum length for WriteWithResponse: " + maxValue);
Expand Down

0 comments on commit a7304c8

Please sign in to comment.