mirror of
https://github.com/sascha-hemi/pycom-documentation.git
synced 2026-03-21 06:06:03 +01:00
recommended changes
This commit is contained in:
@@ -20,7 +20,7 @@ The datasheet of the Expansion Board is available as a [PDF File](/gitbook/asset
|
||||
|
||||
The pinout of the Expansion Board is available as a [PDF File](/gitbook/assets/expansion3-pinout.pdf)
|
||||
|
||||
The expansion board contains 6 jumpers labeled:
|
||||
The expansion board contains 7 jumpers labeled:
|
||||
- TX: TX UART (GPIO1) communication of the development board to the Expansionboard
|
||||
- RTS: Can be used for UART flow control. Connected to GPIO7.
|
||||
- RX: RX UART (GPIO2() communication of the development board to the Expansionboard
|
||||
|
||||
@@ -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. Go [here](https://www.thethingsnetwork.org/docs/lorawan/classes.html) to learn more about the LoRa device classes. Can be either:
|
||||
* `device_class` sets the LoRaWAN device class. Visit the [TTN Website](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,7 +137,7 @@ 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.
|
||||
> Note that the tuple will only contain the respective information after receiving and/or sending LoRa packets.
|
||||
|
||||
### lora.has_joined()
|
||||
|
||||
|
||||
@@ -118,7 +118,7 @@ Returns `True` if there is an active LTE data session and IP address has been ob
|
||||
|
||||
End the data session with the network.
|
||||
|
||||
### lte.send_at_cmd(cmd)
|
||||
### lte.send_at_cmd(cmd, [delay=10000])
|
||||
|
||||
Send an AT command directly to the modem. Returns the raw response from the modem as a string object. You can find the possible AT commands [here](/gitbook/assets/Monarch-LR5110-ATCmdRefMan-rev6_noConfidential.pdf).
|
||||
|
||||
|
||||
Reference in New Issue
Block a user