mirror of
https://github.com/meshtastic/python.git
synced 2026-01-01 12:27:59 -05:00
receive messages publish works
This commit is contained in:
1
TODO.md
1
TODO.md
@@ -2,6 +2,7 @@
|
||||
|
||||
## Before initial release
|
||||
|
||||
- add fromId and toId to received messages dictionaries
|
||||
- make docs decent
|
||||
- document properties/fields
|
||||
- include examples in readme. hello.py, textchat.py, replymessage.py
|
||||
|
||||
@@ -117,7 +117,7 @@ class MeshInterface:
|
||||
# we ignore the config_complete_id, it is unneeded for our stream API fromRadio.config_complete_id
|
||||
pub.sendMessage("meshtastic.connection.established")
|
||||
elif fromRadio.HasField("packet"):
|
||||
self._handlePacketFromRadio(self, fromRadio.packet)
|
||||
self._handlePacketFromRadio(fromRadio.packet)
|
||||
else:
|
||||
logging.warn("Unexpected FromRadio payload")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user