81 lines
1.3 KiB
Markdown
81 lines
1.3 KiB
Markdown
## 1\. Firmware Update
|
|
|
|
```bash
|
|
|
|
adafruit-nrfutil --verbose dfu serial --package firmware-rak4631-2.7.15.567b8ea-ota.zip --port /dev/ttyACM0 -b 115200 --singlebank --touch 1200
|
|
|
|
|
|
|
|
## 2\. Software Update
|
|
|
|
```bash
|
|
|
|
TMPDIR=/overlay/tmp/pip-tmp pip3 install meshtastic
|
|
|
|
python3 -m meshtastic --port /dev/ttyACM0 --info
|
|
|
|
|
|
|
|
## 3\. Config
|
|
|
|
```bash
|
|
|
|
meshtastic --set device.role CLIENT
|
|
|
|
meshtastic --set lora.region US
|
|
|
|
meshtastic --set lora.ok\_to\_mqtt true
|
|
|
|
meshtastic --set-owner "Michael Torrez" --set-owner-short "CUN7"
|
|
|
|
|
|
|
|
meshtastic --set device.serial\_proto PROTO
|
|
|
|
meshtastic --set device.serial\_disabled false
|
|
|
|
|
|
|
|
meshtastic --ch-index 0 --ch-set uplink\_enabled true
|
|
|
|
|
|
|
|
meshtastic --set position.gps\_force\_update true
|
|
|
|
meshtastic --set telemetry.device\_update\_now true
|
|
|
|
|
|
|
|
meshtastic --set mqtt.enabled true
|
|
|
|
meshtastic --set mqtt.proxy\_to\_client\_enabled true
|
|
|
|
meshtastic --set mqtt.json\_enabled true
|
|
|
|
meshtastic --set mqtt.map\_report\_settings.publish\_interval\_secs 300
|
|
|
|
|
|
|
|
meshtastic --set telemetry.device\_update\_interval 300
|
|
|
|
meshtastic --set neighbor\_info.transmit\_over\_lora true
|
|
|
|
|
|
|
|
meshtastic --set external\_notification.enabled false
|
|
|
|
|
|
|
|
meshtastic --get lora.ok\_to\_mqtt
|
|
|
|
meshtastic --ch-index 0 --ch-get uplink\_enabled
|
|
|
|
|
|
|
|
## 4\. Test
|
|
|
|
```bash
|
|
|
|
python3 /usr/bin/uplink.py
|
|
|