Skip to content

Commit 54fd704

Browse files
authored
Merge pull request #467 from LitBomb/patch-14
Update faq.md
2 parents d04fd37 + 811ea17 commit 54fd704

File tree

1 file changed

+94
-58
lines changed

1 file changed

+94
-58
lines changed

docs/faq.md

Lines changed: 94 additions & 58 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,14 @@ author: https://github.com/LitBomb<!-- omit from toc -->
3131
- [4.2. Q: Why is my T-Deck Plus not getting any satellite lock?](#42-q-why-is-my-t-deck-plus-not-getting-any-satellite-lock)
3232
- [4.3. Q: Why is my OG (non-Plus) T-Deck not getting any satellite lock?](#43-q-why-is-my-og-non-plus-t-deck-not-getting-any-satellite-lock)
3333
- [4.4. Q: What size of SD card does the T-Deck support?](#44-q-what-size-of-sd-card-does-the-t-deck-support)
34-
- [4.5. Q: How do I get maps on T-Deck?](#45-q-how-do-i-get-maps-on-t-deck)
35-
- [4.6. Q: Where do the map tiles go?](#46-q-where-do-the-map-tiles-go)
36-
- [4.7. Q: How to unlock deeper map zoom and server management features on T-Deck?](#47-q-how-to-unlock-deeper-map-zoom-and-server-management-features-on-t-deck)
37-
- [4.8. Q: How to decipher the diagnostics screen on T-Deck?](#48-q-how-to-decipher-the-diagnostics-screen-on-t-deck)
38-
- [4.9. Q: The T-Deck sound is too loud?](#49-q-the-t-deck-sound-is-too-loud)
39-
- [4.10. Q: Can you customize the sound?](#410-q-can-you-customize-the-sound)
40-
- [4.11. Q: What is the 'Import from Clipboard' feature on the t-deck and is there a way to manually add nodes without having to receive adverts?](#411-q-what-is-the-import-from-clipboard-feature-on-the-t-deck-and-is-there-a-way-to-manually-add-nodes-without-having-to-receive-adverts)
34+
- [4.5. Q: What is the public key for the default public channel?](#45-q-what-is-the-public-key-for-the-default-public-channel)
35+
- [4.6. Q: How do I get maps on T-Deck?](#46-q-how-do-i-get-maps-on-t-deck)
36+
- [4.7. Q: Where do the map tiles go?](#47-q-where-do-the-map-tiles-go)
37+
- [4.8. Q: How to unlock deeper map zoom and server management features on T-Deck?](#48-q-how-to-unlock-deeper-map-zoom-and-server-management-features-on-t-deck)
38+
- [4.9. Q: How to decipher the diagnostics screen on T-Deck?](#49-q-how-to-decipher-the-diagnostics-screen-on-t-deck)
39+
- [4.10. Q: The T-Deck sound is too loud?](#410-q-the-t-deck-sound-is-too-loud)
40+
- [4.11. Q: Can you customize the sound?](#411-q-can-you-customize-the-sound)
41+
- [4.12. Q: What is the 'Import from Clipboard' feature on the t-deck and is there a way to manually add nodes without having to receive adverts?](#412-q-what-is-the-import-from-clipboard-feature-on-the-t-deck-and-is-there-a-way-to-manually-add-nodes-without-having-to-receive-adverts)
4142
- [5. General](#5-general)
4243
- [5.1. Q: What are BW, SF, and CR?](#51-q-what-are-bw-sf-and-cr)
4344
- [5.2. Q: Do MeshCore clients repeat?](#52-q-do-meshcore-clients-repeat)
@@ -65,18 +66,20 @@ author: https://github.com/LitBomb<!-- omit from toc -->
6566
- [6.4. Q: I can't connect via Bluetooth, what is the Bluetooth pairing code?](#64-q-i-cant-connect-via-bluetooth-what-is-the-bluetooth-pairing-code)
6667
- [6.5. Q: My Heltec V3 keeps disconnecting from my smartphone. It can't hold a solid Bluetooth connection.](#65-q-my-heltec-v3-keeps-disconnecting-from-my-smartphone--it-cant-hold-a-solid-bluetooth-connection)
6768
- [6.6. Q: My RAK/T1000-E/xiao\_nRF52 device seems to be corrupted, how do I wipe it clean to start fresh?](#66-q-my-rakt1000-exiao_nrf52-device-seems-to-be-corrupted-how-do-i-wipe-it-clean-to-start-fresh)
68-
- [6.7. Q: WebFlasher fails on Linux with failed to open](#67-q-webflasher-fails-on-Linux-with-failed-to-open)
69-
69+
- [6.7. Q: WebFlasher fails on Linux with failed to open](#67-q-webflasher-fails-on-linux-with-failed-to-open)
7070
- [7. Other Questions:](#7-other-questions)
7171
- [7.1 Q: How to update nRF (RAK, T114, Seed XIAO) repeater and room server firmware over the air using the new simpler DFU app?](#71-q-how-to-update-nrf-rak-t114-seed-xiao-repeater-and-room-server-firmware-over-the-air-using-the-new-simpler-dfu-app)
7272
- [7.2 Q: How to update ESP32-based devices over the air?](#72-q-how-to-update-esp32-based-devices-over-the-air)
7373
- [7.3 Q: Is there a way to lower the chance of a failed OTA device firmware update (DFU)?](#73-q-is-there-a-way-to-lower-the-chance-of-a-failed-ota-device-firmware-update-dfu)
74+
- [7.4 Q are the MeshCore logo and font available?](#74-q-are-the-meshcore-logo-and-font-available)
7475

7576
## 1. Introduction
7677

7778
### 1.1. Q: What is MeshCore?
7879

79-
**A:** MeshCore is free and open source
80+
**A:** MeshCore is a multi platform system for enabling secure text based communications utilising LoRa radio hardware. It can be used for Off-Grid Communication, Emergency Response & Disaster Recovery, Outdoor Activities, Tactical Security including law enforcement and private security and also IoT sensor networks. ([source](https://meshcore.co.uk/))
81+
82+
MeshCore is free and open source:
8083
* MeshCore is the routing and firmware etc, available on GitHub under MIT license
8184
* There are clients made by the community, such as the web clients, these are free to use, and some are open source too
8285
* The cross platform mobile app developed by [Liam Cottle](https://liamcottle.net) for Android/iOS/PC etc is free to download and use
@@ -276,7 +279,18 @@ GPS on T-Deck is always enabled. You can skip the "GPS clock sync" and the T-De
276279
### 4.4. Q: What size of SD card does the T-Deck support?
277280
**A:** Users have had no issues using 16GB or 32GB SD cards. Format the SD card to **FAT32**.
278281

279-
### 4.5. Q: How do I get maps on T-Deck?
282+
### 4.5. Q: what is the public key for the default public channel?
283+
**A:**
284+
T-Deck uses the same key the smartphone apps use but in base64
285+
`izOH6cXN6mrJ5e26oRXNcg==`
286+
The third character is the capital letter 'O', not zero `0`
287+
288+
The smartphone app key is in hex:
289+
` 8b3387e9c5cdea6ac9e5edbaa115cd72`
290+
291+
[Source](https://discord.com/channels/826570251612323860/1330643963501351004/1354194409213792388)
292+
293+
### 4.6. Q: How do I get maps on T-Deck?
280294
**A:** You need map tiles. You can get pre-downloaded map tiles here (a good way to support development):
281295
- <https://buymeacoffee.com/ripplebiz/e/342543> (Europe)
282296
- <https://buymeacoffee.com/ripplebiz/e/342542> (US)
@@ -290,14 +304,14 @@ There is also a modified script that adds additional error handling and parallel
290304
UK map tiles are available separately from Andy Kirby on his discord server:
291305
<https://discord.com/channels/826570251612323860/1330643963501351004/1331346597367386224>
292306

293-
### 4.6. Q: Where do the map tiles go?
307+
### 4.7. Q: Where do the map tiles go?
294308
Once you have the tiles downloaded, copy the `\tiles` folder to the root of your T-Deck's SD card.
295309

296-
### 4.7. Q: How to unlock deeper map zoom and server management features on T-Deck?
310+
### 4.8. Q: How to unlock deeper map zoom and server management features on T-Deck?
297311
**A:** You can download, install, and use the T-Deck firmware for free, but it has some features (map zoom, server administration) that are enabled if you purchase an unlock code for \$10 per T-Deck device.
298312
Unlock page: <https://buymeacoffee.com/ripplebiz/e/249834>
299313

300-
### 4.8. Q: How to decipher the diagnostics screen on T-Deck?
314+
### 4.9. Q: How to decipher the diagnostics screen on T-Deck?
301315

302316
**A: ** Space is tight on T-Deck's screen, so the information is a bit cryptic. The format is :
303317
`{hops} l:{packet-length}({payload-len}) t:{packet-type} snr:{n} rssi:{n}`
@@ -316,12 +330,12 @@ See here for packet-type: [https://github.com/ripplebiz/MeshCore/blob/main/src/P
316330

317331
[Source](https://discord.com/channels/1343693475589263471/1343693475589263474/1350611321040932966)
318332

319-
### 4.9. Q: The T-Deck sound is too loud?
320-
### 4.10. Q: Can you customize the sound?
333+
### 4.10. Q: The T-Deck sound is too loud?
334+
### 4.11. Q: Can you customize the sound?
321335

322336
**A:** You can customise the sounds on the T-Deck, just by placing `.mp3` files onto the `root` dir of the SD card. `startup.mp3`, `alert.mp3` and `new-advert.mp3`
323337

324-
### 4.11. Q: What is the 'Import from Clipboard' feature on the t-deck and is there a way to manually add nodes without having to receive adverts?
338+
### 4.12. Q: What is the 'Import from Clipboard' feature on the t-deck and is there a way to manually add nodes without having to receive adverts?
325339

326340
**A:** 'Import from Clipboard' is for importing a contact via a file named 'clipboard.txt' on the SD card. The opposite, is in the Identity screen, the 'Card to Clipboard' menu, which writes to 'clipboard.txt' so you can share yourself (call these 'biz cards', that start with "meshcore://...")
327341

@@ -450,45 +464,65 @@ This could change in the future if MeshCore develops a client firmware that repe
450464

451465
### 5.13. Q: Can I use a Raspberry Pi to update a MeshCore radio?
452466
** A:** Yes.
453-
You will need to install picocom on the pi.
454-
`sudo apt install picocom`
455-
456-
Then run the following commands to setup the repeater.
457-
```
458-
picocom -b 115200 /dev/ttyUSB0 --imap lfcrlf
459-
set name your_repeater_name
460-
time epoch_time
461-
password your_unique_password
462-
set advert.interval 240
463-
advert
464-
```
465-
Note: If using a RAK the path will most likely be /dev/ttyACM0
466-
467-
Epoch time comes from https://www.epochconverter.com/
468-
469-
You can also flash the repeater using esptool. You will need to install esptool with the following command...
470-
471-
`pip install esptool --break-system-packages`
472-
473-
Then to flash the firmware to Heltec, obtain the .bin file from https://flasher.meshcore.co.uk/ (download all firmware link)
474-
475-
For Heltec:
476-
`esptool.py -p /dev/ttyUSB0 --chip esp32-s3 write_flash 0x00000 firmware.bin`
477-
478-
If flashing a visual studio code build bin file, flash with the following offset:
479-
`esptool.py -p /dev/ttyUSB0 --chip esp32-s3 write_flash 0x10000 firmware.bin`
480-
481-
For Pi
482-
Download the zip from the online flasher website and use the following command:
483-
484-
Note: Requires adafruit-nrfutil command which can be installed as follows.
485-
`pip install adafruit-nrfutil --break-system-packages`
486-
487-
```
488-
adafruit-nrfutil --verbose dfu serial --package t1000_e_bootloader-0.9.1-5-g488711a_s140_7.3.0.zip -p /dev/ttyACM0 -b 115200 --singlebank --touch 1200
489-
```
467+
Below are the instructions to flash firmware onto a supported LoRa device using a Raspberry Pi over USB serial.
468+
469+
> Instructions for nRF devices like RAK, T1000-E, T114 are immediately after the ESP instructions
470+
471+
For ESP-based devices (e.g. Heltec V3) you need:
472+
- Download firmware file from flasher.meshcore.co.uk
473+
- Go to the web site on a browser, find the section that has the firmware up need
474+
- Click the Download button, right click on the file you need, for example,
475+
- `Heltec_V3_companion_radio_ble-v1.7.1-165fb33.bin`
476+
- Non-merged bin keeps the existing Bluetooth pairing database
477+
- `Heltec_v3_companion_radio_usb-v1.7.1-165fb33-merged.bin`
478+
- Merged bin overwrites everything including the bootloader, existing Bluetooth pairing database, but keeps configurations.
479+
- Right click on the file name and copy the link and note it for later use here is an example: `https://flasher.meshcore.dev/releases/download/companion-v1.7.1/Heltec_v3_companion_radio_ble-v1.7.1-165fb33.bin`
480+
- Run:
481+
- `wget https://flasher.meshcore.dev/releases/download/companion-v1.7.1/Heltec_v3_companion_radio_ble-v1.7.1-165fb33.bin` to download the firmware file for your device type. or the version you need - USB, BLE, Repeater, Room Server, merged bin or non-merged bin
482+
- If the above wget command only downloads a very small file (10K bytes instead of more than 100K byte, use this command instead:
483+
- `wget --user-agent="Mozilla/5.0" --content-disposition "https://flasher.meshcore.dev/releases/download/companion-v1.7.1/Heltec_v3_companion_radio_usb-v1.7.1-165fb33.bin"`
484+
- Confirm the `ttyXXXX` device path on your Raspberry Pi:
485+
- Go to `/dev` directory, run ls command to find confirm your device path
486+
- They are usually `/dev/ttyUSB0` for ESP devices
487+
- For ESP-based devices, install esptool from the shell:
488+
- `pip install esptool --break-system-packages`
489+
- To flash, use the following command:
490+
- For non-merged bin:
491+
- `esptool.py -p /dev/ttyUSB0 --chip esp32-s3 write_flash 0x10000 <non-merged_firmware>.bin`
492+
- For merged bin:
493+
- `esptool.py -p /dev/ttyUSB0 --chip esp32-s3 write_flash 0x00000 <merged_firmware>.bin`
494+
495+
496+
497+
**Instructions for nRF devices:**
498+
499+
For nRF devices (e.g. RAK, Heltec T114) you need the following:
500+
- Download firmware file from flasher.meshcore.co.uk
501+
- Go to the web site on a browser, find the section that has the firmware up need
502+
- You need the ZIP version for the adafruit flash tool (below)
503+
- Click the Download button, right click on the ZIP file, for example:
504+
- `RAK_4631_companion_radio_ble-v1.7.1-165fb33.zip`
505+
- Right click on the file name and copy the link and note it for later use here is an example: `https://flasher.meshcore.dev/releases/download/companion-v1.7.1/RAK_4631_companion_radio_ble-v1.7.1-165fb33.zip`
506+
- Run:
507+
- `wget https://flasher.meshcore.dev/releases/download/companion-v1.7.1/RAK_4631_companion_radio_ble-v1.7.1-165fb33.zip` to download the firmware file for your device type. or the version you need - USB, BLE, Repeater, Room Server, ZIP file only
508+
- Confirm the `ttyXXXX` device path on your Raspberry Pi:
509+
- Go to `/dev` directory, run ls command to find confirm your device path
510+
- They are usually `/dev/ttyACM0` for nRF devices
511+
- For nRF-based devices, install adafruit-nrfutil
512+
- `pip install adafruit-nrfutil --break-system-packages`
513+
- Use this command to flash the nRF device:
514+
- `adafruit-nrfutil --verbose dfu serial --package RAK_4631_companion_radio_usb-v1.7.1-165fb33.zip -p /dev/ttyACM0 -b 115200 --singlebank --touch 1200`
515+
516+
517+
To manage a repeater or room server connected to a Pi over USB serial using shell commands, you need to install `picocom`. To install `picocom`, run the following command:
518+
- `sudo apt install picocom`
519+
520+
To start managing your USB serial-connected device using picocom, use the following command:
521+
- `picocom -b 115200 /dev/ttyUSB0 --imap lfcrlf`
522+
523+
From here, reference repeater and room server command line commands on MeshCore github wiki here:
524+
- https://github.com/ripplebiz/MeshCore/wiki/Repeater-&-Room-Server-CLI-Reference
490525

491-
[Source](https://discord.com/channels/826570251612323860/1330643963501351004/1342120825251299388)
492526

493527
### 5.14. Q: Are there are projects built around MeshCore?
494528

@@ -541,9 +575,9 @@ You can get the epoch time on <https://www.epochconverter.com/> and use it to se
541575

542576
**A:**
543577
1. Connect USB-C cable to your device, per your device's instruction, get it to flash mode:
544-
- For RAK, double click its reset button
545-
- For T1000-e, quickly disconnect and reconnect the magnetic side of the cable from the device TWICE
546-
- For Heltec T114, click the reset button once (the bottom button)
578+
- For RAK, click the reset button **TWICE**
579+
- For T1000-e, quickly disconnect and reconnect the magnetic side of the cable from the device **TWICE**
580+
- For Heltec T114, click the reset button **TWICE** (the bottom button)
547581
- For Xiao nRF52, click the reset button once. If that doesn't work, quickly double click the reset button twice. If that doesn't work, disconnection the board from your PC and reconnect again ([seeed studio wiki](https://wiki.seeedstudio.com/XIAO_BLE/#access-the-swd-pins-for-debugging-and-reflashing-bootloader))
548582
5. A new folder will appear on your computer's desktop
549583
6. Download the `flash_erase*.uf2` file for your device on flasher.meshcore.co.uk
@@ -612,7 +646,9 @@ Currently, the following boards are supported:
612646
- Seeed Studio XIAO nRF52840 BLE SENSE
613647
- RAK 4631
614648

649+
### 7.4 Q are the MeshCore logo and font available?
615650

651+
**A:** Yes, it is on the MeshCore github repo here: https://github.com/ripplebiz/MeshCore/tree/main/logo
616652

617653

618654
---

0 commit comments

Comments
 (0)