mirror of
https://github.com/pdxlocations/contact.git
synced 2026-03-28 17:12:35 +01:00
Compare commits
3 Commits
1.3.4
...
client-dev
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1f270b5ba5 | ||
|
|
4abe9611e3 | ||
|
|
4d20df17fe |
@@ -11,7 +11,7 @@ This Python curses client for Meshtastic is a terminal-based client designed to
|
|||||||
<br><br>
|
<br><br>
|
||||||
The settings dialogue can be accessed within the client or may be run standalone to configure your node by launching `contact --settings` or `contact -c`
|
The settings dialogue can be accessed within the client or may be run standalone to configure your node by launching `contact --settings` or `contact -c`
|
||||||
|
|
||||||
<img width="441" alt="Contact - Settings Dialogue" src="https://github.com/user-attachments/assets/dd47f52a-d4d8-4e40-8001-9ea53d87f816" />
|
<img width="573" alt="Contact - Settings Dialogue" src="https://github.com/user-attachments/assets/dbe1287b-5558-407c-84b8-2a1bc913dec8" />
|
||||||
|
|
||||||
## Message Persistence
|
## Message Persistence
|
||||||
|
|
||||||
@@ -62,4 +62,4 @@ contact --ble BlAddressOfDevice
|
|||||||
To quickly connect to localhost, use:
|
To quickly connect to localhost, use:
|
||||||
```sh
|
```sh
|
||||||
contact -t
|
contact -t
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -10,14 +10,15 @@ def initialize_interface(args):
|
|||||||
return meshtastic.tcp_interface.TCPInterface(args.host)
|
return meshtastic.tcp_interface.TCPInterface(args.host)
|
||||||
else:
|
else:
|
||||||
try:
|
try:
|
||||||
return meshtastic.serial_interface.SerialInterface(args.port)
|
client = meshtastic.serial_interface.SerialInterface(args.port)
|
||||||
except PermissionError as ex:
|
except PermissionError as ex:
|
||||||
logging.error(f"You probably need to add yourself to the `dialout` group to use a serial connection. {ex}")
|
logging.error(f"You probably need to add yourself to the `dialout` group to use a serial connection. {ex}")
|
||||||
except Exception as ex:
|
except Exception as ex:
|
||||||
logging.error(f"Unexpected error initializing interface: {ex}")
|
logging.error(f"Unexpected error initializing interface: {ex}")
|
||||||
if globals.interface.devPath is None:
|
if client.devPath is None:
|
||||||
return meshtastic.tcp_interface.TCPInterface("localhost")
|
client = meshtastic.tcp_interface.TCPInterface("localhost")
|
||||||
|
|
||||||
|
return client
|
||||||
except Exception as ex:
|
except Exception as ex:
|
||||||
logging.critical(f"Fatal error initializing interface: {ex}")
|
logging.critical(f"Fatal error initializing interface: {ex}")
|
||||||
|
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
[project]
|
[project]
|
||||||
name = "contact"
|
name = "contact"
|
||||||
version = "1.3.3"
|
version = "1.3.4"
|
||||||
description = "This Python curses client for Meshtastic is a terminal-based client designed to manage device settings, enable mesh chat communication, and handle configuration backups and restores."
|
description = "This Python curses client for Meshtastic is a terminal-based client designed to manage device settings, enable mesh chat communication, and handle configuration backups and restores."
|
||||||
authors = [
|
authors = [
|
||||||
{name = "Ben Lipsey",email = "ben@pdxlocations.com"}
|
{name = "Ben Lipsey",email = "ben@pdxlocations.com"}
|
||||||
|
|||||||
Reference in New Issue
Block a user