Jump to content

Lora faketak: Difference between revisions

From ciappinopedia
Created page with " = https://meshtastic.org/ | https://github.com/meshtastic = === install meshtastic CLI https://meshtastic.org/docs/software/python/cli/ === <pre> pip3 install --upgrade pytap2 pip3 install --upgrade meshtastic </pre> === Show cose === https://meshtastic.org/docs/software/python/cli/usage/ <pre> meshtastic --port /dev/ttyACM0 --info meshtastic --seriallog meshtastic --get all meshtastic --debug </pre> === Initial conf lora === https://meshtastic.org/docs/getting-sta..."
 
No edit summary
 
(10 intermediate revisions by 2 users not shown)
Line 1: Line 1:
= Meshtastic =
https://meshtastic.org/ | https://github.com/meshtastic


= https://meshtastic.org/ | https://github.com/meshtastic =
= Hardware =


=== install meshtastic CLI https://meshtastic.org/docs/software/python/cli/ ===
=== Flash bootloader: ===
Scarica e flasha : https://github.com/adafruit/Adafruit_nRF52_Bootloader/releases


<pre>
=== Flash Firmware ===
 
* Scarica il firmware-nrf52840-x.x.xx.xxxxxxx.zip da https://github.com/meshtastic/firmware/releases/download/v2.6.11.60ec05e/
* Unzippalo in una cartella:
<syntaxhighlight lang='bash'>
unzip yourfile.zip -d nrf52_frmw
</syntaxhighlight>
* Fai partire in DFU mode:
** aaa
* quindi copia il firmware-nrf52840-X.X.X-xxxxxxx.uf2 all'intenro del device
 
 
 
 
= Software =
=== install meshtastic CLI ===
https://meshtastic.org/docs/software/python/cli/
<syntaxhighlight lang='bash'>
pip3 install --upgrade pytap2
pip3 install --upgrade pytap2
pip3 install --upgrade meshtastic
pip3 install --upgrade meshtastic
</pre>
</syntaxhighlight>


=== Show cose ===
==== show cose ====
https://meshtastic.org/docs/software/python/cli/usage/
https://meshtastic.org/docs/software/python/cli/usage/
 
<syntaxhighlight lang='bash'>
<pre>
meshtastic --port /dev/ttyACM0 --info
meshtastic --port /dev/ttyACM0 --info
meshtastic --seriallog
meshtastic --seriallog
meshtastic --get all
meshtastic --get-all
meshtastic --debug
meshtastic --debug
</pre>
</syntaxhighlight>


=== Initial conf lora ===
== CONF LORA ==
https://meshtastic.org/docs/getting-started/initial-config/
https://meshtastic.org/docs/getting-started/initial-config/


=== show conf ===
==== show conf ====
 
<syntaxhighlight lang='bash'>
 
<pre>
meshtastic --info
meshtastic --info
</pre>
</syntaxhighlight>


=== region ===
==== Conf inziale ====
 
https://meshtastic.org/docs/configuration/radio/lora/#lora-config-client-availability
<pre>
<syntaxhighlight lang='bash'>
# region
meshtastic --set lora.region EU_868
meshtastic --set lora.region EU_868
</pre>


=== modem https://meshtastic.org/docs/configuration/radio/lora/  ===
# modem  
 
 
<pre>
meshtastic --ch-medfast
meshtastic --ch-medfast
meshtastic --info | grep -i medium
meshtastic --info | grep -i medium
</pre>
=== altre conf ===
<pre>
meshtastic --set-owner 'Mario' --set-owner-short  'ciccio'
</pre>


=== show nodes a vista ===
# altre conf
meshtastic --set-owner 'Mario' --set-owner-short 'ciccio'
</syntaxhighlight>


<pre>
== SHOW NODES ==
<syntaxhighlight lang='bash'>
meshtastic --nodes
meshtastic --nodes
</pre>
</syntaxhighlight>
 
=== setup bluetooth | AndroidApp https://f-droid.org/packages/com.geeksville.mesh/ ===
 


<pre>
== SETUP BLUETOOTH ==
AndroidApp https://f-droid.org/packages/com.geeksville.mesh/
<syntaxhighlight lang='bash'>
meshtastic --ble-scan
meshtastic --ble-scan
</pre>
</syntaxhighlight>
 
=== pin bluetooth ===
 


<pre>
==== recuperare il pin bluetooth ====
meshtastic --info | grep -A3 bluetooth  
<syntaxhighlight lang='bash'>
# oppure
meshtastic --info | grep -A3 bluetooth  
meshtastic --set bluetooth.enabled true --set bluetooth.fixed_pin 111111
# oppure settarlo
</pre>
meshtastic --set bluetooth.enabled true --set bluetooth.fixed_pin 111111
</syntaxhighlight>

Latest revision as of 19:00, 7 August 2025

Meshtastic

[edit]

https://meshtastic.org/ | https://github.com/meshtastic

Hardware

[edit]

Flash bootloader:

[edit]

Scarica e flasha : https://github.com/adafruit/Adafruit_nRF52_Bootloader/releases

Flash Firmware

[edit]
unzip yourfile.zip -d nrf52_frmw
  • Fai partire in DFU mode:
    • aaa
  • quindi copia il firmware-nrf52840-X.X.X-xxxxxxx.uf2 all'intenro del device



Software

[edit]

install meshtastic CLI

[edit]

https://meshtastic.org/docs/software/python/cli/

pip3 install --upgrade pytap2
pip3 install --upgrade meshtastic

show cose

[edit]

https://meshtastic.org/docs/software/python/cli/usage/

meshtastic --port /dev/ttyACM0 --info
meshtastic --seriallog
meshtastic --get-all
meshtastic --debug

CONF LORA

[edit]

https://meshtastic.org/docs/getting-started/initial-config/

show conf

[edit]
meshtastic --info

Conf inziale

[edit]

https://meshtastic.org/docs/configuration/radio/lora/#lora-config-client-availability

# region 
meshtastic --set lora.region EU_868

# modem 
meshtastic --ch-medfast
meshtastic --info | grep -i medium

# altre conf 
meshtastic --set-owner 'Mario' --set-owner-short 'ciccio'

SHOW NODES

[edit]
meshtastic --nodes

SETUP BLUETOOTH

[edit]

AndroidApp https://f-droid.org/packages/com.geeksville.mesh/

meshtastic --ble-scan

recuperare il pin bluetooth

[edit]
meshtastic --info | grep -A3 bluetooth 
# oppure settarlo
meshtastic --set bluetooth.enabled true --set bluetooth.fixed_pin 111111