Title: Clarification needed: Does sendData() generate a local receive event?
Environment:
- Meshtastic Python library (current version)
- TCPInterface
- Single node test
- Channel 0
- PRIVATE_APP (port 256)
Test:
packet = iface.sendData(
b"BP26TEST",
destinationId="!1de91aa0",
portNum=256,
wantAck=True,
)
Observed behavior:
- sendData() returns successfully
- Packet ID is returned
- ROUTING_APP ACK is received
- requestId matches the packet ID
- errorReason = NONE
However, no PRIVATE_APP receive event is observed.
The same result occurs when sending to:
- the node itself
- broadcast (^all)
Questions:
- Is a locally generated PRIVATE_APP packet expected to appear in "meshtastic.receive" events?
- Is self-receive intentionally suppressed?
- Is broadcast self-receive intentionally suppressed?
- What is the recommended minimal test to verify reception of custom payload bytes sent with "sendData()"?
Expected outcome:
A documented minimal example that demonstrates successful transmission and reception of arbitrary application bytes using "sendData()".
Title: Clarification needed: Does sendData() generate a local receive event?
Environment:
Test:
packet = iface.sendData(
b"BP26TEST",
destinationId="!1de91aa0",
portNum=256,
wantAck=True,
)
Observed behavior:
However, no PRIVATE_APP receive event is observed.
The same result occurs when sending to:
Questions:
Expected outcome:
A documented minimal example that demonstrates successful transmission and reception of arbitrary application bytes using "sendData()".