Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Unable to receive messages but SDK works otherwise #906

Copy link
Copy link
@mjs

Description

@mjs
Issue body actions

Using the following dead simple code based on countless examples, fails for me when using the Meshtastic Python SDK and the Seeed Wio Tracker L1 Pro.

import time
import meshtastic
import meshtastic.serial_interface
from pubsub import pub


def on_receive(packet, interface):
    print(packet)

pub.subscribe(on_receive, "meshtastic.receive")

interface = meshtastic.serial_interface.SerialInterface()

print("Waiting for messages...")
while True:
    time.sleep(5)

This will report occasional telemetry and position messages from various nodes but never any messages sent to the node. Received messages appear on the node's screen and can be read there but are never reported via the receiver hook. The node is connected by USB.

Note that I can retrieve the node list, send messages and interact with the node config via the Python SDK - I just can't seem to receive messages.

Things I've tried:

  • Various meshtastic SDK versions in the 2.6.x and 2.7.x series
  • Python versions 3.11, 3.12 and 3.13.
  • Tried with both L1 Pros I have
  • Firmware versions 2.715 and 2.7.19 (no difference)
  • Usiing pypubsub's snoop feature to see all events - there are just none for incoming text messages.

I feel like I must be missing something. Any pointers on how to troubleshoot this?

Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.