mirror of
https://github.com/sascha-hemi/pycom-documentation.git
synced 2026-03-21 06:06:03 +01:00
added info about lora classes
This commit is contained in:
@@ -63,7 +63,7 @@ The arguments are:
|
||||
* `adr` enables Adaptive Data Rate.
|
||||
* `public` selects between the public and private sync word.
|
||||
* `tx_retries` sets the number of TX retries in `LoRa.LORAWAN` mode.
|
||||
* `device_class` sets the LoRaWAN device class. Can be either:
|
||||
* `device_class` sets the LoRaWAN device class. Go [here](https://www.thethingsnetwork.org/docs/lorawan/classes.html) to learn more about the LoRa device classes. Can be either:
|
||||
* `LoRa.CLASS_A`
|
||||
* `LoRa.CLASS_C`
|
||||
|
||||
@@ -137,6 +137,8 @@ Where:
|
||||
* `tx_counter` is the number of packets transmitted.
|
||||
* `tx_frequency` is the frequency used for the last transmission.
|
||||
|
||||
> Note that the tuple will only contain the respective information after receiver and/or sending LoRa packets.
|
||||
|
||||
### lora.has_joined()
|
||||
|
||||
Returns `True` if a LoRaWAN network has been joined. `False` otherwise.
|
||||
|
||||
Reference in New Issue
Block a user