mirror of
https://github.com/meshtastic/meshtastic.git
synced 2025-03-05 21:00:08 -08:00
trunk fmt (#1522)
This commit is contained in:
parent
ba487d7eec
commit
44ee59ec7d
|
@ -14,7 +14,11 @@ This is an interface to talk to and control your Meshtastic device over a serial
|
|||
|
||||

|
||||
|
||||
<object data="https://www.youtube.com/embed/HdOiGKBtapw?autohide=1&autoplay=0" width="100%" height="400"></object>
|
||||
<object
|
||||
data="https://www.youtube.com/embed/HdOiGKBtapw?autohide=1&autoplay=0"
|
||||
width="100%"
|
||||
height="400"
|
||||
></object>
|
||||
|
||||
## Serial Module Config Values
|
||||
|
||||
|
@ -121,7 +125,7 @@ All serial module config options are available in the python CLI. Example comman
|
|||
:::
|
||||
|
||||
| Setting | Acceptable Values | Default |
|
||||
| :------------: | :----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | :----------------------------------: |
|
||||
| :---------------------------------: | :----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | :----------------------------------: |
|
||||
| serial.enabled | `true`, `false` | `false` |
|
||||
| serial.echo | `true`, `false` | `false` |
|
||||
| serial.mode | `DEFAULT` `SIMPLE` `PROTO` `TEXTMSG`, `NMEA`, `CALTOPO` | `DEFAULT` |
|
||||
|
@ -131,7 +135,6 @@ All serial module config options are available in the python CLI. Example comman
|
|||
| serial.timeout | `integer` (milli seconds) | Default of `0` corresponds to 250 ms |
|
||||
| serial.override_console_serial_port | `true`, `false` | `false` |
|
||||
|
||||
|
||||
:::tip
|
||||
|
||||
Because the device will reboot after each command is sent via CLI, it is recommended when setting multiple values in a config section that commands be chained together as one.
|
||||
|
@ -264,6 +267,7 @@ while True:
|
|||
```
|
||||
|
||||
#### Arduino Mini Pro BOM
|
||||
|
||||
- An Arduino Mini Pro with example sketch from below uploaded to it.
|
||||
- T-Beam V1.1 running Meshtastic
|
||||
- PIR Sensor ([Adafruit Breadboard Model](https://www.adafruit.com/product/4871))
|
||||
|
|
|
@ -164,7 +164,6 @@ Tap "Edit" to access the Channel Menu:
|
|||
5. Precise location (if position is enabled)
|
||||
6. Position precision (if precise location is disabled)
|
||||
|
||||
|
||||
</TabItem>
|
||||
|
||||
<TabItem value="apple">
|
||||
|
|
|
@ -6,10 +6,9 @@ sidebar_position: 2
|
|||
---
|
||||
|
||||
import PositionPrecision from "@site/docs/blocks/_position-precision.mdx";
|
||||
import Link from "@docusaurus/Link"
|
||||
import ThemedImage from '@theme/ThemedImage';
|
||||
import useBaseUrl from '@docusaurus/useBaseUrl';
|
||||
|
||||
import Link from "@docusaurus/Link";
|
||||
import ThemedImage from "@theme/ThemedImage";
|
||||
import useBaseUrl from "@docusaurus/useBaseUrl";
|
||||
|
||||
## Introduction
|
||||
|
||||
|
@ -42,40 +41,48 @@ To find devices to connect via Bluetooth click the "+" button on the bottom righ
|
|||
The cloud icon at the top right corner indicates if you are connected to a device. This currently has three states:
|
||||
|
||||
<center>
|
||||
<ThemedImage
|
||||
<ThemedImage
|
||||
alt="Not connected"
|
||||
className="max-h-14"
|
||||
sources={{
|
||||
light: useBaseUrl('/img/android/android-no-ack_lt.webp'),
|
||||
dark: useBaseUrl('/img/android/android-no-ack_dk.webp'),}}/>
|
||||
light: useBaseUrl("/img/android/android-no-ack_lt.webp"),
|
||||
dark: useBaseUrl("/img/android/android-no-ack_dk.webp"),
|
||||
}}
|
||||
/>
|
||||
</center>
|
||||
Cloud with a slash through it: No device connected to the application.
|
||||
|
||||
<center>
|
||||
<ThemedImage
|
||||
<ThemedImage
|
||||
alt="Connected"
|
||||
className="max-h-14"
|
||||
sources={{
|
||||
light: useBaseUrl('/img/android/android-imp-ack_lt.webp'),
|
||||
dark: useBaseUrl('/img/android/android-imp-ack_dk.webp'),}}/>
|
||||
light: useBaseUrl("/img/android/android-imp-ack_lt.webp"),
|
||||
dark: useBaseUrl("/img/android/android-imp-ack_dk.webp"),
|
||||
}}
|
||||
/>
|
||||
</center>
|
||||
Cloud with a check in it: Device connected to the application.
|
||||
|
||||
<center>
|
||||
<ThemedImage
|
||||
<ThemedImage
|
||||
alt="Sleeping"
|
||||
className="max-h-14"
|
||||
sources={{
|
||||
light: useBaseUrl('/img/android/android-waiting_lt.webp'),
|
||||
dark: useBaseUrl('/img/android/android-waiting_dk.webp'),}}/>
|
||||
light: useBaseUrl("/img/android/android-waiting_lt.webp"),
|
||||
dark: useBaseUrl("/img/android/android-waiting_dk.webp"),
|
||||
}}
|
||||
/>
|
||||
</center>
|
||||
Cloud with an up arrow in it: Device is connected, but currently sleeping or out of range.
|
||||
Cloud with an up arrow in it: Device is connected, but currently sleeping or out
|
||||
of range.
|
||||
|
||||
## Common tasks
|
||||
|
||||
### Set your region
|
||||
|
||||
In order to start communicating with your mesh, you must select a region. This setting controls which frequency range your device uses and should be set according to your location. See [Region Settings](https://meshtastic.org/docs/getting-started/initial-config#set-regional-settings) for a list of region codes and their meanings.
|
||||
|
||||
- Tap on the "Region" dropdown in the top-right corner and make the appropriate selection.
|
||||
|
||||
### Change your name
|
||||
|
@ -113,10 +120,11 @@ The app will generate a new QR code on the screen. This encodes the channel det
|
|||
2. If the channel is shared from a file or link using the `Share` button, you can click on the file or link and you need to choose "Open with Meshtastic".
|
||||
|
||||
:::info If a QR or URL opens a webpage instead of the APP or "Open with Meshtastic" is not an option:
|
||||
|
||||
1. Go to Android Settings > Apps > Default apps > Meshtastic > Opening links
|
||||
2. Make sure you have in "links/web address": www.meshtastic.org
|
||||
3. If you see the option "Open the supported links", make sure it is enabled.
|
||||
:::
|
||||
:::
|
||||
|
||||
[](/img/android/android-accept-channel.webp)
|
||||
|
||||
|
@ -134,6 +142,7 @@ You can test changing channels with the QR code shown below.
|
|||
### Adjust a channel
|
||||
|
||||
You can change the following settings by tapping on the name of an existing channel:
|
||||
|
||||
1. MQTT Uplink
|
||||
2. MQTT Downlink
|
||||
3. Position enabled
|
||||
|
@ -141,6 +150,7 @@ You can change the following settings by tapping on the name of an existing chan
|
|||
5. Position precision (if precise location is disabled)
|
||||
|
||||
#### Position Precision
|
||||
|
||||
The precision levels currently used in the app correspond the values in the table below. These can be thought of as the radius of a circle around a point (not your current location) which you are within.
|
||||
|
||||
<PositionPrecision />
|
||||
|
@ -157,54 +167,69 @@ The message window operates like most messaging apps. Note that your primary cha
|
|||
With LoRa (or any radio) there is some uncertainty that the message has been received, so there is a confirmation built-in to the protocol. There are small icons shown to the right of the messages you send:
|
||||
|
||||
<center>
|
||||
<ThemedImage
|
||||
<ThemedImage
|
||||
alt="cloud up"
|
||||
className="max-h-18"
|
||||
sources={{
|
||||
light: useBaseUrl('/img/android/android-waiting_lt.webp'),
|
||||
dark: useBaseUrl('/img/android/android-waiting_dk.webp'),}}/>
|
||||
light: useBaseUrl("/img/android/android-waiting_lt.webp"),
|
||||
dark: useBaseUrl("/img/android/android-waiting_dk.webp"),
|
||||
}}
|
||||
/>
|
||||
</center>
|
||||
Cloud with an up arrow: the message is queued in the app, waiting to be handed to the device.
|
||||
Cloud with an up arrow: the message is queued in the app, waiting to be handed
|
||||
to the device.
|
||||
|
||||
<center>
|
||||
<ThemedImage
|
||||
<ThemedImage
|
||||
alt="cloud only"
|
||||
className="max-h-18"
|
||||
sources={{
|
||||
light: useBaseUrl('/img/android/android-sent_lt.webp'),
|
||||
dark: useBaseUrl('/img/android/android-sent_dk.webp'),}}/>
|
||||
light: useBaseUrl("/img/android/android-sent_lt.webp"),
|
||||
dark: useBaseUrl("/img/android/android-sent_dk.webp"),
|
||||
}}
|
||||
/>
|
||||
</center>
|
||||
- Cloud only: the device received the message from the app, and it has been sent and transmitted via LoRa.
|
||||
- Cloud only: the device received the message from the app, and it has been sent
|
||||
and transmitted via LoRa.
|
||||
|
||||
<center>
|
||||
<ThemedImage
|
||||
<ThemedImage
|
||||
alt="Cloud with a check mark"
|
||||
className="max-h-18"
|
||||
sources={{
|
||||
light: useBaseUrl('/img/android/android-imp-ack_lt.webp'),
|
||||
dark: useBaseUrl('/img/android/android-imp-ack_dk.webp'),}}/>
|
||||
light: useBaseUrl("/img/android/android-imp-ack_lt.webp"),
|
||||
dark: useBaseUrl("/img/android/android-imp-ack_dk.webp"),
|
||||
}}
|
||||
/>
|
||||
</center>
|
||||
- Cloud with a check mark: received at least one node's acknowledgement response. Confirmations could be from any one device.
|
||||
- Cloud with a check mark: received at least one node's acknowledgement
|
||||
response. Confirmations could be from any one device.
|
||||
|
||||
<center>
|
||||
<ThemedImage
|
||||
<ThemedImage
|
||||
alt="Person with a check mark"
|
||||
className="max-h-18"
|
||||
sources={{
|
||||
light: useBaseUrl('/img/android/android-DM-ack_lt.webp'),
|
||||
dark: useBaseUrl('/img/android/android-DM-ack_dk.webp'),}}/>
|
||||
light: useBaseUrl("/img/android/android-DM-ack_lt.webp"),
|
||||
dark: useBaseUrl("/img/android/android-DM-ack_dk.webp"),
|
||||
}}
|
||||
/>
|
||||
</center>
|
||||
- Person with a check mark - The intended recipient node of your direct message acknowledged the message.
|
||||
- Person with a check mark - The intended recipient node of your direct message
|
||||
acknowledged the message.
|
||||
|
||||
<center>
|
||||
<ThemedImage
|
||||
<ThemedImage
|
||||
alt="Cloud crossed out"
|
||||
className="max-h-18"
|
||||
sources={{
|
||||
light: useBaseUrl('/img/android/android-no-ack_lt.webp'),
|
||||
dark: useBaseUrl('/img/android/android-no-ack_dk.webp'),}}/>
|
||||
light: useBaseUrl("/img/android/android-no-ack_lt.webp"),
|
||||
dark: useBaseUrl("/img/android/android-no-ack_dk.webp"),
|
||||
}}
|
||||
/>
|
||||
</center>
|
||||
- Cloud crossed out: the initial sender did not receive any confirmation within a certain timeout.
|
||||
- Cloud crossed out: the initial sender did not receive any confirmation within
|
||||
a certain timeout.
|
||||
|
||||
By default there is no long-term store-and-forward of messages, so messages not received during transmission are lost.
|
||||
|
||||
|
@ -225,7 +250,6 @@ The network list shows all the users (devices) that have connected to the same C
|
|||
|
||||
The Map tab will show a local map with an icon for each active mesh node that has a known position. The users names are shown above the icon.
|
||||
|
||||
|
||||
[](/img/android/android-map-layers.webp)
|
||||
|
||||
- Clicking the layers icon in the top-right will allow you to select the map type.
|
||||
|
@ -253,6 +277,7 @@ The debug panel allows you to see all packets sent between the application and t
|
|||
[](/img/android/android-radio-configuration.webp)
|
||||
|
||||
Radio Configuration opens a list of all radio and module configuration settings.
|
||||
|
||||
- See [Radio Config](/docs/configuration/radio) for radio settings.
|
||||
- See [Module Config](/docs/configuration/module) for module settings.
|
||||
- At the end of this list are buttons for Reboot, Shutdown, Factory reset, and NodeDB reset.
|
||||
|
|
Loading…
Reference in a new issue