Lora faketak: Difference between revisions
Appearance
No edit summary |
|||
Line 3: | Line 3: | ||
=== install meshtastic CLI https://meshtastic.org/docs/software/python/cli/ === | === 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 | ||
</ | </syntaxhighlight> | ||
==== show cose ==== | ==== show cose ==== | ||
https://meshtastic.org/docs/software/python/cli/usage/ | https://meshtastic.org/docs/software/python/cli/usage/ | ||
< | <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 | ||
</ | </syntaxhighlight> | ||
== CONF LORA == | == CONF LORA == | ||
Line 21: | Line 21: | ||
==== show conf ==== | ==== show conf ==== | ||
< | <syntaxhighlight lang='bash'> | ||
meshtastic --info | meshtastic --info | ||
</ | </syntaxhighlight> | ||
==== Conf inziale ==== | ==== Conf inziale ==== | ||
< | <syntaxhighlight lang='bash'> | ||
# region | # region | ||
meshtastic --set lora.region EU_868 | meshtastic --set lora.region EU_868 | ||
Line 36: | Line 36: | ||
# altre conf | # altre conf | ||
meshtastic --set-owner 'Mario' --set-owner-short 'ciccio' | meshtastic --set-owner 'Mario' --set-owner-short 'ciccio' | ||
</ | </syntaxhighlight> | ||
== SHOW NODES == | == SHOW NODES == | ||
< | <syntaxhighlight lang='bash'> | ||
meshtastic --nodes | meshtastic --nodes | ||
</ | </syntaxhighlight> | ||
== SETUP BLUETOOTH | AndroidApp https://f-droid.org/packages/com.geeksville.mesh/ == | == SETUP BLUETOOTH | AndroidApp https://f-droid.org/packages/com.geeksville.mesh/ == | ||
< | <syntaxhighlight lang='bash'> | ||
meshtastic --ble-scan | meshtastic --ble-scan | ||
</ | </syntaxhighlight> | ||
==== reuperare il pin bluetooth ==== | ==== reuperare il pin bluetooth ==== | ||
< | <syntaxhighlight lang='bash'> | ||
meshtastic --info | grep -A3 bluetooth | meshtastic --info | grep -A3 bluetooth | ||
# oppure settarlo | # oppure settarlo | ||
meshtastic --set bluetooth.enabled true | meshtastic --set bluetooth.enabled true --set bluetooth.fixed_pin 111111 | ||
</ | </syntaxhighlight> |
Revision as of 18:07, 3 August 2025
Meshtastic
https://meshtastic.org/ | https://github.com/meshtastic
install meshtastic CLI https://meshtastic.org/docs/software/python/cli/
pip3 install --upgrade pytap2
pip3 install --upgrade meshtastic
show cose
https://meshtastic.org/docs/software/python/cli/usage/
meshtastic --port /dev/ttyACM0 --info
meshtastic --seriallog
meshtastic --get-all
meshtastic --debug
CONF LORA
https://meshtastic.org/docs/getting-started/initial-config/
show conf
meshtastic --info
Conf inziale
# region
meshtastic --set lora.region EU_868
# modem https://meshtastic.org/docs/configuration/radio/lora/
meshtastic --ch-medfast
meshtastic --info | grep -i medium
# altre conf
meshtastic --set-owner 'Mario' --set-owner-short 'ciccio'
SHOW NODES
meshtastic --nodes
SETUP BLUETOOTH | AndroidApp https://f-droid.org/packages/com.geeksville.mesh/
meshtastic --ble-scan
reuperare il pin bluetooth
meshtastic --info | grep -A3 bluetooth
# oppure settarlo
meshtastic --set bluetooth.enabled true --set bluetooth.fixed_pin 111111