Skip to content

Commit 33cfca6

Browse files
authored
Merge pull request #4 from zizi4n5/fix/typo
fix: typo
2 parents f566218 + 338044f commit 33cfca6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ $ npm install node-switchbot
4646
* [`Switchbot` object](#Switchbot-object)
4747
* [`discover()` method](#Switchbot-discover-method)
4848
* [`ondiscover` event handler](#Switchbot-ondiscover-event-handler)
49-
* [`scartScan()` method](#Switchbot-startScan-method)
49+
* [`startScan()` method](#Switchbot-startScan-method)
5050
* [`stopScan()` method](#Switchbot-stopScan-method)
5151
* [`onadvertisement` event handler](#Switchbot-onadvertisement-event-handler)
5252
* [`wait()` method](#Switchbot-wait-method)
@@ -292,7 +292,7 @@ c12e453e2008 (WoHand)
292292
The discovery process was finished.
293293
```
294294

295-
### <a id="Switchbot-startScan-method">`scartScan()` method</a>
295+
### <a id="Switchbot-startScan-method">`startScan()` method</a>
296296

297297
The `startScan()` method starts to scan advertising packets coming from devices. This method takes an argument which is a hash object containing the parameters as follows:
298298

0 commit comments

Comments
 (0)