Skip to content

Commit 4e786dd

Browse files
authored
Merge pull request #104 from karlsoderby/karlsoderby/docs-changeband
Add changeBand to docs
2 parents b9fcfed + c85eb5f commit 4e786dd

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

docs/api.md

+23
Original file line numberDiff line numberDiff line change
@@ -1388,3 +1388,26 @@ void loop() {
13881388
}
13891389
Serial.println();
13901390
}
1391+
```
1392+
1393+
### `modem.changeBand()`
1394+
1395+
#### Description
1396+
Change the LoRaWAN module band
1397+
1398+
#### Syntax
1399+
modem.changeBand(band);
1400+
1401+
#### Parameters
1402+
1403+
**band:** the chosen band. Can be one between:
1404+
- AS923
1405+
- AU915
1406+
- EU868 (default value)
1407+
- KR920
1408+
- IN865
1409+
- US915
1410+
- US915_HYBRID
1411+
1412+
#### Returns
1413+
true if correctly configured, false otherwise

0 commit comments

Comments
 (0)