mirror of
https://github.com/meshtastic/meshtastic.git
synced 2024-12-27 14:39:54 -08:00
Fix build & use absolute paths across the board
This commit is contained in:
parent
187e3cc9aa
commit
8ab2403549
|
@ -55,9 +55,9 @@ values={[
|
||||||
Firmware can be downloaded from the [Firmware](/firmware) page. Your initial installation has to happen over USB from your Mac, Windows or Linux PC. Once our software is installed, all future software updates happen over Bluetooth from your phone.
|
Firmware can be downloaded from the [Firmware](/firmware) page. Your initial installation has to happen over USB from your Mac, Windows or Linux PC. Once our software is installed, all future software updates happen over Bluetooth from your phone.
|
||||||
|
|
||||||
:::note
|
:::note
|
||||||
The [T-Beam 0.7](../hardware/supported/tbeam#t-beam---v07) board is an earlier version of the T-Beam board, and due to changes in the design in subsequent iterations this board uses a specific firmware file different from the other T-Beam boards.
|
The [T-Beam 0.7](/hardware/supported/tbeam#t-beam---v07) board is an earlier version of the T-Beam board, and due to changes in the design in subsequent iterations this board uses a specific firmware file different from the other T-Beam boards.
|
||||||
|
|
||||||
`firmware-tbeam0.7-1.x.x.bin` is the correct firmware. `firmware-tbeam-1.x.x.bin` is incompatible. For all other [T-Beam](../hardware/supported/tbeam) boards `firmware-tbeam-1.x.x.bin` is the correct selection.
|
`firmware-tbeam0.7-1.x.x.bin` is the correct firmware. `firmware-tbeam-1.x.x.bin` is incompatible. For all other [T-Beam](/hardware/supported/tbeam) boards `firmware-tbeam-1.x.x.bin` is the correct selection.
|
||||||
:::
|
:::
|
||||||
|
|
||||||
## Command Line Interface Instructions
|
## Command Line Interface Instructions
|
||||||
|
|
|
@ -15,7 +15,7 @@ Meshtastic uses LoRa for the long range communications and depending on settings
|
||||||
|
|
||||||
## Purchase a Radio
|
## Purchase a Radio
|
||||||
|
|
||||||
The easiest way is to [buy a device with the software already installed](https://www.aliexpress.com/item/4001178678568.html). Other devices are [available](/docs/hardware/supported/tbeam-hardware). In the Americas get the 915MHz version, in Europe the 868MHz, or Asia 923MHz. See this listing by [The Things Network](https://www.thethingsnetwork.org/docs/lorawan/frequencies-by-country.html) for frequencies by specific countries.
|
The easiest way is to [buy a device with the software already installed](https://www.aliexpress.com/item/4001178678568.html). Other devices are [available](/docs/hardware/supported/tbeam). In the Americas get the 915MHz version, in Europe the 868MHz, or Asia 923MHz. See this listing by [The Things Network](https://www.thethingsnetwork.org/docs/lorawan/frequencies-by-country.html) for frequencies by specific countries.
|
||||||
|
|
||||||
## Setup the Radio
|
## Setup the Radio
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,7 @@ sidebar_label: LILYGO® T-Echo
|
||||||
|
|
||||||
The T-Echo has been in development by LILYGO® over the past few months and has now been released.
|
The T-Echo has been in development by LILYGO® over the past few months and has now been released.
|
||||||
|
|
||||||
### See [Getting Started](../getting-started/flashing-nrf52)
|
### See [Getting Started](/getting-started/flashing-nrf52)
|
||||||
|
|
||||||
- firmware file: `firmware-t-echo-1.x.x.uf2`
|
- firmware file: `firmware-t-echo-1.x.x.uf2`
|
||||||
- [Purchase link](https://www.aliexpress.com/item/1005002842456390.html)
|
- [Purchase link](https://www.aliexpress.com/item/1005002842456390.html)
|
||||||
|
|
|
@ -11,6 +11,7 @@ This feature will allow you to use the multiple channels feature to enable remot
|
||||||
By default, nodes will **only** respond to administrative commands via the local USB/Bluetooth/TCP interface. This provides basic security to prevent unauthorized access and is how normal administration and settings changes work. The only difference for the remote case is that we are sending those commands over the mesh.
|
By default, nodes will **only** respond to administrative commands via the local USB/Bluetooth/TCP interface. This provides basic security to prevent unauthorized access and is how normal administration and settings changes work. The only difference for the remote case is that we are sending those commands over the mesh.
|
||||||
|
|
||||||
Before a node will allow remote admin access, it must have a primary channel:
|
Before a node will allow remote admin access, it must have a primary channel:
|
||||||
|
|
||||||
```bash title="Expected output"
|
```bash title="Expected output"
|
||||||
$ meshtastic --info
|
$ meshtastic --info
|
||||||
Connected to radio
|
Connected to radio
|
||||||
|
@ -33,6 +34,7 @@ The name of the channel is important and must be `admin`.
|
||||||
:::
|
:::
|
||||||
|
|
||||||
Your channels will now look like this:
|
Your channels will now look like this:
|
||||||
|
|
||||||
```bash title="Expected output"
|
```bash title="Expected output"
|
||||||
$ meshtastic --ch-add admin
|
$ meshtastic --ch-add admin
|
||||||
Connected to radio
|
Connected to radio
|
||||||
|
@ -59,9 +61,11 @@ For this step you need physical access to both the nodes.
|
||||||
2. Copy the "Complete URL" someplace for permanent reference/access.
|
2. Copy the "Complete URL" someplace for permanent reference/access.
|
||||||
3. Connect to the "remote node" over the USB port.
|
3. Connect to the "remote node" over the USB port.
|
||||||
4. For the "remote node" type
|
4. For the "remote node" type
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
meshtastic --seturl the-url-from-step-2
|
meshtastic --seturl the-url-from-step-2
|
||||||
```
|
```
|
||||||
|
|
||||||
5. Run `meshtastic --info` and confirm that the "Complete URL" is the same for both of the nodes.
|
5. Run `meshtastic --info` and confirm that the "Complete URL" is the same for both of the nodes.
|
||||||
|
|
||||||
At this point you can take your remote node and install it far away and still be able to change any of its settings.
|
At this point you can take your remote node and install it far away and still be able to change any of its settings.
|
||||||
|
@ -138,7 +142,7 @@ ls_secs: 301
|
||||||
Completed getting preferences
|
Completed getting preferences
|
||||||
```
|
```
|
||||||
|
|
||||||
For further reading, I recommend starting out with [Meshtastic-python](../python/python-cli) if you haven't already gone through this (hopefully you have since you are reading this). But for a full reference to the settings you can change, please see:
|
For further reading, I recommend starting out with [Meshtastic-python](/software/python/python-cli) if you haven't already gone through this (hopefully you have since you are reading this). But for a full reference to the settings you can change, please see:
|
||||||
|
|
||||||
[Settings Overview](/docs/settings)
|
[Settings Overview](/docs/settings)
|
||||||
[Complete list of user settings in Protobufs](https://meshtastic.org/docs/developers/protobufs/api#radioconfiguserpreferences)
|
[Complete list of user settings in Protobufs](https://meshtastic.org/docs/developers/protobufs/api#radioconfiguserpreferences)
|
||||||
|
|
|
@ -13,6 +13,7 @@ The `meshtastic` command is not run within python but is a script run from your
|
||||||
## Getting a list of User Preferences
|
## Getting a list of User Preferences
|
||||||
|
|
||||||
You can get a list of user preferences by running '--get' with an invalid attribute such as 'all'.
|
You can get a list of user preferences by running '--get' with an invalid attribute such as 'all'.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
meshtastic --get all
|
meshtastic --get all
|
||||||
```
|
```
|
||||||
|
@ -57,7 +58,7 @@ For a full list of preferences which can be set (and their documentation) can be
|
||||||
The channel settings can also be changed, either by using a standard (shareable) meshtastic URL or you can set particular channel parameter (for advanced users).
|
The channel settings can also be changed, either by using a standard (shareable) meshtastic URL or you can set particular channel parameter (for advanced users).
|
||||||
|
|
||||||
:::warning
|
:::warning
|
||||||
Meshtastic encodes the radio channel and PSK in the channel's URL. All nodes must connect to the channel again by using the URL provided after a change in this section by performing the `--info` switch. Please refer to [Multiple Channel Support](../device/device-channels).
|
Meshtastic encodes the radio channel and PSK in the channel's URL. All nodes must connect to the channel again by using the URL provided after a change in this section by performing the `--info` switch. Please refer to [Multiple Channel Support](/software/device/device-channels).
|
||||||
:::
|
:::
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
@ -110,7 +111,6 @@ Use "--ch-set psk default" to restore the standard 'default' (minimally secure,
|
||||||
|
|
||||||
All "ch-set" commands will default to the primary channel at index 0, but can be applied to other channels with the "ch-index" parameter.
|
All "ch-set" commands will default to the primary channel at index 0, but can be applied to other channels with the "ch-index" parameter.
|
||||||
|
|
||||||
|
|
||||||
## FAQ/common problems
|
## FAQ/common problems
|
||||||
|
|
||||||
This is a collection of common questions and answers from our friendly forum.
|
This is a collection of common questions and answers from our friendly forum.
|
||||||
|
|
|
@ -9,18 +9,19 @@ import TabItem from '@theme/TabItem';
|
||||||
|
|
||||||
## Overview
|
## Overview
|
||||||
|
|
||||||
Power settings on a Meshtastic device can be set like other user-define settings with the `--set` command see ([see Meshtastic-python](../python/python-cli)). Some of these options are implicit in other commands. For example, when you set the device to router mode using `is_router true`, it is implied that deep sleep is disabled and we want to constantly listen for messages. Below is a list of all user-definable settings and the acceptable values that these settings can use.
|
Power settings on a Meshtastic device can be set like other user-define settings with the `--set` command see ([see Meshtastic-python](/software/python/python-cli)). Some of these options are implicit in other commands. For example, when you set the device to router mode using `is_router true`, it is implied that deep sleep is disabled and we want to constantly listen for messages. Below is a list of all user-definable settings and the acceptable values that these settings can use.
|
||||||
|
|
||||||
For example, if we wanted to disable sleep mode, like when we put the device into router mode, we could use the command:
|
For example, if we wanted to disable sleep mode, like when we put the device into router mode, we could use the command:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
meshtastic --set mesh_sds_timeout_secs 4294967295
|
meshtastic --set mesh_sds_timeout_secs 4294967295
|
||||||
```
|
```
|
||||||
|
|
||||||
:::note
|
:::note
|
||||||
See MAXUINT from `mesh_sds_timeout_secs` below:
|
See MAXUINT from `mesh_sds_timeout_secs` below:
|
||||||
:::
|
:::
|
||||||
|
|
||||||
For a description and more information on what exactly all of these mean, please refer to [Power Management State Machine](../other/power)
|
For a description and more information on what exactly all of these mean, please refer to [Power Management State Machine](/software/other/power)
|
||||||
|
|
||||||
## Settings
|
## Settings
|
||||||
|
|
||||||
|
@ -32,7 +33,7 @@ For a description and more information on what exactly all of these mean, please
|
||||||
| ls_secs | `integer` (seconds) | `0` (see note) |
|
| ls_secs | `integer` (seconds) | `0` (see note) |
|
||||||
| mesh_sds_timeout_secs | `integer` (seconds) | `0` |
|
| mesh_sds_timeout_secs | `integer` (seconds) | `0` |
|
||||||
| min_wake_secs | `integer` (seconds) | `0` |
|
| min_wake_secs | `integer` (seconds) | `0` |
|
||||||
| phone_sds_timeout_sec | `integer` (seconds) | `0` | Power management state machine option. See the [power page](../other/power) for details. 0 for default of two hours, use the value of MAXUINT or 4294967295 to disable |
|
| phone_sds_timeout_sec | `integer` (seconds) | `0` | Power management state machine option. See the [power page](/software/other/power) for details. 0 for default of two hours, use the value of MAXUINT or 4294967295 to disable |
|
||||||
| phone_timeout_secs | `integer` (seconds) | `0` |
|
| phone_timeout_secs | `integer` (seconds) | `0` |
|
||||||
| screen_on_secs | `integer` (seconds) | `0` |
|
| screen_on_secs | `integer` (seconds) | `0` |
|
||||||
| sds_secs | `integer` (seconds) | `0` |
|
| sds_secs | `integer` (seconds) | `0` |
|
||||||
|
@ -66,31 +67,31 @@ Are we operating as a router. Changes behavior in the following ways: The device
|
||||||
|
|
||||||
### ls_secs
|
### ls_secs
|
||||||
|
|
||||||
Power management state machine option. See the [power page](../other/power) for details. 0 for default of 3600
|
Power management state machine option. See the [power page](/software/other/power) for details. 0 for default of 3600
|
||||||
|
|
||||||
### mesh_sds_timeout_secs
|
### mesh_sds_timeout_secs
|
||||||
|
|
||||||
Power management state machine option. See the [power page](../other/power) for details. 0 for default of two hours, use the MAXUINT or 4294967295 to disable
|
Power management state machine option. See the [power page](/software/other/power) for details. 0 for default of two hours, use the MAXUINT or 4294967295 to disable
|
||||||
|
|
||||||
### min_wake_secs
|
### min_wake_secs
|
||||||
|
|
||||||
Power management state machine option. See the [power page](../other/power)for details. 0 for default of 10 seconds
|
Power management state machine option. See the [power page](/software/other/power)for details. 0 for default of 10 seconds
|
||||||
|
|
||||||
### phone_sds_timeout_sec
|
### phone_sds_timeout_sec
|
||||||
|
|
||||||
Power management state machine option. See the [power page](../other/power) for details. 0 for default of two hours, use the MAXUINT or 4294967295 to disable
|
Power management state machine option. See the [power page](/software/other/power) for details. 0 for default of two hours, use the MAXUINT or 4294967295 to disable
|
||||||
|
|
||||||
### phone_timeout_secs
|
### phone_timeout_secs
|
||||||
|
|
||||||
Power management state machine option. See the [power page](../other/power) for details. 0 for default of 15 minutes
|
Power management state machine option. See the [power page](/software/other/power) for details. 0 for default of 15 minutes
|
||||||
|
|
||||||
### screen_on_secs
|
### screen_on_secs
|
||||||
|
|
||||||
Power management state machine option. See the [power page](../other/power) for details. 0 for default of one minute.
|
Power management state machine option. See the [power page](/software/other/power) for details. 0 for default of one minute.
|
||||||
|
|
||||||
### sds_secs
|
### sds_secs
|
||||||
|
|
||||||
Power management state machine option. See the [power page](../other/power) for details. 0 for default of one year
|
Power management state machine option. See the [power page](/software/other/power) for details. 0 for default of one year
|
||||||
|
|
||||||
### send_owner_interval
|
### send_owner_interval
|
||||||
|
|
||||||
|
@ -100,7 +101,7 @@ For instance the default interval of 4 will send the node owner information for
|
||||||
|
|
||||||
### wait_bluetooth_secs
|
### wait_bluetooth_secs
|
||||||
|
|
||||||
Wait number of seconds for Bluetooth - Power management state machine option. See the [power page](../other/power) for details. 0 for default of 1 minute
|
Wait number of seconds for Bluetooth - Power management state machine option. See the [power page](/software/other/power) for details. 0 for default of 1 minute
|
||||||
|
|
||||||
### is_always_powered
|
### is_always_powered
|
||||||
|
|
||||||
|
@ -122,6 +123,7 @@ meshtastic --set mesh_sds_timeout_secs 0
|
||||||
```
|
```
|
||||||
|
|
||||||
Note: Probably only want to set the wait_bluetooth_secs this high during testing:
|
Note: Probably only want to set the wait_bluetooth_secs this high during testing:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
meshtastic --set wait_bluetooth_secs 28800
|
meshtastic --set wait_bluetooth_secs 28800
|
||||||
```
|
```
|
||||||
|
|
|
@ -3,10 +3,10 @@ id: range-test-plugin
|
||||||
title: Range Test Plugin Settings
|
title: Range Test Plugin Settings
|
||||||
sidebar_label: Range Test Plugin
|
sidebar_label: Range Test Plugin
|
||||||
---
|
---
|
||||||
|
|
||||||
import Tabs from '@theme/Tabs';
|
import Tabs from '@theme/Tabs';
|
||||||
import TabItem from '@theme/TabItem';
|
import TabItem from '@theme/TabItem';
|
||||||
|
|
||||||
|
|
||||||
## Overview
|
## Overview
|
||||||
|
|
||||||
This plugin allows you to test the range of your Meshtastic nodes. It requires at least two nodes, a sender and a receiver. The receiving node then saves the messages along with the GPS coordinates at which they were received into a .csv file. This .csv file can then be integrated into [Google Earth](https://earth.google.com), [Google Maps - My Maps](https://mymaps.google.com), or any other program capable of processing .csv files. This can enable you to visualize your mesh.
|
This plugin allows you to test the range of your Meshtastic nodes. It requires at least two nodes, a sender and a receiver. The receiving node then saves the messages along with the GPS coordinates at which they were received into a .csv file. This .csv file can then be integrated into [Google Earth](https://earth.google.com), [Google Maps - My Maps](https://mymaps.google.com), or any other program capable of processing .csv files. This can enable you to visualize your mesh.
|
||||||
|
@ -18,7 +18,7 @@ Once settings are changed, a **reset** is required for them to take effect.
|
||||||
## Settings
|
## Settings
|
||||||
|
|
||||||
| Setting | Acceptable Values | Default |
|
| Setting | Acceptable Values | Default |
|
||||||
| :-----: | :---------------: | :-----: |
|
| :-----------------------: | :-----------------: | :-----: |
|
||||||
| range_test_plugin_enabled | `true`, `false` | `false` |
|
| range_test_plugin_enabled | `true`, `false` | `false` |
|
||||||
| range_test_plugin_save | `true`, `false` | `false` |
|
| range_test_plugin_save | `true`, `false` | `false` |
|
||||||
| range_test_plugin_sender | `integer` (Seconds) | `0` |
|
| range_test_plugin_sender | `integer` (Seconds) | `0` |
|
||||||
|
@ -44,7 +44,7 @@ Be sure to turn off either the plugin configured as a sender or the device where
|
||||||
Also be mindful of your space usage on the file system. It has protections from filling up the space but it's best to delete old range test results.
|
Also be mindful of your space usage on the file system. It has protections from filling up the space but it's best to delete old range test results.
|
||||||
|
|
||||||
:::note
|
:::note
|
||||||
Leaving this plugin on can slow down your mesh. Currently, the messages are sent using the same `TEXT_MESSAGE_APP` [port that all other messages](../../developers/protobufs/api#portnumsproto) are sent on.
|
Leaving this plugin on can slow down your mesh. Currently, the messages are sent using the same `TEXT_MESSAGE_APP` [port that all other messages](/developers/protobufs/api#portnumsproto) are sent on.
|
||||||
:::
|
:::
|
||||||
|
|
||||||
### Accessing your CSV
|
### Accessing your CSV
|
||||||
|
@ -68,6 +68,7 @@ http://198.168.0.X/static/rangetest.csv
|
||||||
## Examples
|
## Examples
|
||||||
|
|
||||||
### Sender Node
|
### Sender Node
|
||||||
|
|
||||||
<Tabs
|
<Tabs
|
||||||
groupId="settings"
|
groupId="settings"
|
||||||
defaultValue="cli"
|
defaultValue="cli"
|
||||||
|
@ -82,7 +83,6 @@ http://198.168.0.X/static/rangetest.csv
|
||||||
meshtastic --set range_test_plugin_sender 60
|
meshtastic --set range_test_plugin_sender 60
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
</TabItem>
|
</TabItem>
|
||||||
<TabItem value="android">
|
<TabItem value="android">
|
||||||
|
|
||||||
|
@ -92,6 +92,7 @@ http://198.168.0.X/static/rangetest.csv
|
||||||
</Tabs>
|
</Tabs>
|
||||||
|
|
||||||
### Receiver Node
|
### Receiver Node
|
||||||
|
|
||||||
<Tabs
|
<Tabs
|
||||||
groupId="settings"
|
groupId="settings"
|
||||||
defaultValue="cli"
|
defaultValue="cli"
|
||||||
|
|
Loading…
Reference in a new issue