This commit is contained in:
commit
8e6ee952bf
3 files changed
+30
-2
No files matched your search
+14
-1
@@ -262,6 +262,10 @@ Flags stay set until the node reboots or `clear stats` is run.
|
||||
|
||||
**Note:** Requires reboot to apply
|
||||
|
||||
**Notes:** These settings control the setup of the radio parameters.
|
||||
Refer to the node's manual for the correct settings to use.
|
||||
**Setting a value too high or too low may violate the laws in your country.**
|
||||
|
||||
---
|
||||
|
||||
#### View or change this node's transmit power
|
||||
@@ -276,7 +280,9 @@ Flags stay set until the node reboots or `clear stats` is run.
|
||||
|
||||
**Default:** Varies by board
|
||||
|
||||
**Notes:** This setting only controls the power level of the LoRa chip. Some nodes have an additional power amplifier stage which increases the total output. Refer to the node's manual for the correct setting to use. **Setting a value too high may violate the laws in your country.**
|
||||
**Notes:** This setting only controls the power level of the LoRa chip. Some nodes have an additional power amplifier stage which increases the total output.
|
||||
Refer to the node's manual for the correct setting to use.
|
||||
**Setting a value too high may violate the laws in your country.**
|
||||
|
||||
---
|
||||
|
||||
@@ -291,6 +297,10 @@ Flags stay set until the node reboots or `clear stats` is run.
|
||||
- `cr`: Coding rate (5-8)
|
||||
- `timeout_mins`: Duration in minutes (must be > 0)
|
||||
|
||||
**Notes:** These settings control the setup of the radio parameters.
|
||||
Refer to the node's manual for the correct settings to use.
|
||||
**Setting a value too high or too low may violate the laws in your country.**
|
||||
|
||||
**Note:** This is not saved to preferences and will clear on reboot
|
||||
|
||||
---
|
||||
@@ -710,6 +720,9 @@ also runs in continuous RX.
|
||||
|
||||
> **Note:** Added in firmware v1.15.0
|
||||
|
||||
**Notes:** Refer to the node's manual for the correct settings to use.
|
||||
**Setting a value too high may violate the laws in your country.**
|
||||
|
||||
---
|
||||
|
||||
#### View or change the airtime factor (duty cycle limit)
|
||||
|
||||
@@ -80,6 +80,20 @@ Since version 1.18 meshcore companion radio firmware has a CLI interface, which
|
||||
|
||||
---
|
||||
|
||||
#### View or change the buzzer state
|
||||
**Usage:**
|
||||
- `get buzzer`
|
||||
- `set buzzer <state>`
|
||||
|
||||
**Parameters:**
|
||||
- `state`: `on`|`off`
|
||||
|
||||
**Default:** `on`
|
||||
|
||||
**Note:** Only available on boards with a buzzer (`PIN_BUZZER`). This is the same setting as the buzzer toggle in the device UI.
|
||||
|
||||
---
|
||||
|
||||
### Radio
|
||||
|
||||
Radio parameters are common to all roles and handled by `CommonRadioPrefs`.
|
||||
|
||||
@@ -385,12 +385,13 @@ void BaseChatMesh::onAckRecv(mesh::Packet* packet, uint32_t ack_crc) {
|
||||
ContactInfo* from;
|
||||
if ((from = processAck((uint8_t *)&ack_crc)) != NULL) {
|
||||
txt_send_timeout = 0; // matched one we're waiting for, cancel timeout timer
|
||||
packet->markDoNotRetransmit(); // ACK was for this node, so don't retransmit
|
||||
|
||||
if (packet->isRouteFlood() && from->out_path_len != OUT_PATH_UNKNOWN) {
|
||||
// we have direct path, but other node is still sending flood, so maybe they didn't receive reciprocal path properly(?)
|
||||
handleReturnPathRetry(*from, packet->path, packet->path_len);
|
||||
}
|
||||
// NOTE: must come after the isRouteFlood() test, as it overwrites the header
|
||||
packet->markDoNotRetransmit(); // ACK was for this node, so don't retransmit
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user