Merge branch 'master' into index_link_fixes

This commit is contained in:
Garth Vander Houwen 2022-10-28 19:48:36 -07:00 committed by GitHub
commit 31443ad8b6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 22 additions and 19 deletions

View file

@ -33,23 +33,23 @@ The build system is modular. Adding a new board variant for an already supported
### Building for your own DIY hardware or mod that you don't want to distribute ### Building for your own DIY hardware or mod that you don't want to distribute
1. go to the `variants` folder in the Meshtastic-device sourcecode and make a new directory for your hardware, let's call it `m5stack_core` and copy an existing configuration you wanna modify 1. go to the `variants` folder in the Meshtastic-device sourcecode and make a new directory for your hardware, let's call it `m5stack_atom` and copy an existing configuration you wanna modify
```shell ```shell
cd variants; mkdir m5stack_core cd variants; mkdir m5stack_atom
cp heltec_v1/* m5stack_core cp heltec_v1/* m5stack_atom
cd m5stack_core cd m5stack_atom
``` ```
2. modify the `platformio.ini` _in this subdirectory_ from the canonical define of the hardware variant (`HELTEC_V1` in this case) to `PRIVATE_HW` and make the `-I` on the `build_flags` point to the newly created dir. 2. modify the `platformio.ini` _in this subdirectory_ from the canonical define of the hardware variant (`HELTEC_V1` in this case) to `PRIVATE_HW` and make the `-I` on the `build_flags` point to the newly created dir.
```shell ```shell
[env:m5stack-core] [env:m5stack-atom]
extends = esp32_base extends = esp32_base
board = m5stack-core-esp32 board = m5stack-atom
monitor_filters = esp32_exception_decoder monitor_filters = esp32_exception_decoder
build_flags = build_flags =
${esp32_base.build_flags} -D PRIVATE_HW -I variants/m5stack_core ${esp32_base.build_flags} -D PRIVATE_HW -I variants/m5stack_atom
lib_deps = lib_deps =
${esp32_base.lib_deps} ${esp32_base.lib_deps}
``` ```

View file

@ -109,8 +109,8 @@ All Position config commands are available in the python CLI. Example commands a
| position.gps_update_interval | `integer` (seconds) | Default `0` is 30 Seconds | | position.gps_update_interval | `integer` (seconds) | Default `0` is 30 Seconds |
| position.gps_attempt_time | `integer` (seconds) | Default of `0` is 30 Seconds | | position.gps_attempt_time | `integer` (seconds) | Default of `0` is 30 Seconds |
| position.fixed_position | `true`, `false` | `false` | | position.fixed_position | `true`, `false` | `false` |
| position.broadcast_smart_enabled | `true`, `false` | `true` | | position.position_broadcast_smart_enabled | `true`, `false` | `true` |
| position.broadcast_secs | `integer` (seconds) | Default of `0` is 15 Minutes | | position.position_broadcast_secs | `integer` (seconds) | Default of `0` is 15 Minutes |
| position.flags | `UNSET`, `ALTITUDE`, `ALTITUDE_MSL`, `GEOIDAL_SEPARATION`, `DOP`, `HVDOP`, `PDOP`, `SATINVIEW`, `SEQ_NO`, `TIMESTAMP`, `HEADING`, `SPEED` | `UNSET` | | position.flags | `UNSET`, `ALTITUDE`, `ALTITUDE_MSL`, `GEOIDAL_SEPARATION`, `DOP`, `HVDOP`, `PDOP`, `SATINVIEW`, `SEQ_NO`, `TIMESTAMP`, `HEADING`, `SPEED` | `UNSET` |

View file

@ -21,3 +21,5 @@ This table is derived from the [protobufs](/docs/developers/protobufs/api#critic
| InvalidRadioSetting | 7 | The channel tried to set a radio setting which is not supported by this chipset, radio comms settings are now undefined | | InvalidRadioSetting | 7 | The channel tried to set a radio setting which is not supported by this chipset, radio comms settings are now undefined |
| TransmitFailed | 8 | Radio transmit hardware failure. We sent data to the radio chip, but it did not reply with an interrupt | | TransmitFailed | 8 | Radio transmit hardware failure. We sent data to the radio chip, but it did not reply with an interrupt |
| Brownout | 9 | We detected that the main CPU voltage dropped below the minimum acceptable value | | Brownout | 9 | We detected that the main CPU voltage dropped below the minimum acceptable value |
| SX1262Failure | 10 | Selftest of SX1262 radio chip failed |
| RadioSpiBug | 11 | A (likely software but possibly hardware) failure was detected while trying to send packets. If this occurs on your board, please post in the forum so that we can ask you to collect some information to allow fixing this bug |

View file

@ -87,6 +87,7 @@ Connected to radio
``` ```
Using the node ID from that list, send a message through the mesh telling that node to change its owner name. Using the node ID from that list, send a message through the mesh telling that node to change its owner name.
The --dest argument value must be in single quotes for linux/mac '!28979058', no quotes for Windows !28979058.
```shell title="Expected output" ```shell title="Expected output"
$ meshtastic --dest '!28979058' --set-owner "Im Remote" $ meshtastic --dest '!28979058' --set-owner "Im Remote"