Jump to content

Lora faketak: Difference between revisions

From ciappinopedia
No edit summary
 
(5 intermediate revisions by 2 users not shown)
Line 2: Line 2:
https://meshtastic.org/ | https://github.com/meshtastic  
https://meshtastic.org/ | https://github.com/meshtastic  


=== install meshtastic CLI https://meshtastic.org/docs/software/python/cli/ ===
= Hardware =
<pre>
 
=== Flash bootloader: ===
Scarica e flasha : https://github.com/adafruit/Adafruit_nRF52_Bootloader/releases
 
=== 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/
<pre>
<syntaxhighlight lang='bash'>
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>


== CONF LORA ==
== CONF LORA ==
Line 21: Line 42:


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


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


# modem https://meshtastic.org/docs/configuration/radio/lora/
# modem  
meshtastic --ch-medfast
meshtastic --ch-medfast
meshtastic --info | grep -i medium
meshtastic --info | grep -i medium


# altre conf  
# altre conf  
meshtastic --set-owner 'Mario' --set-owner-short 'ciccio'
meshtastic --set-owner 'Mario' --set-owner-short 'ciccio'
</pre>
</syntaxhighlight>


== SHOW NODES ==
== SHOW NODES ==
<pre>
<syntaxhighlight lang='bash'>
meshtastic --nodes
meshtastic --nodes
</pre>
</syntaxhighlight>


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


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