-
Notifications
You must be signed in to change notification settings - Fork 64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No Response on TCP connection. #24
Comments
I've not done much testing with TCP, but seems like many others are having issues as well. Recommend serial only for now. |
I'm going to leave TCP running on mine for today and see if I can get others nearby to give it a test run. |
I had success using Serial via TCP with a T3S3 but no luck using TCP with a Station G2 Nano. |
I'm using a WaveShare LoraWan Hat on a Raspberry Pi running Meshtasticd. The BBS is mostly working over TCP but of course there is not a Main help menu response to a direct message and only some of the commands work. I get Meshtastic API interface errors. It may have something to do with the pubsub topic. |
@Phlat try changing def receive_packet(packet) to def receive_packet(packet, interface) in server.py (Line 60). Seems like a bug there. |
Interesting that I no longer get that specific error however it does not fix the TCP issue. Still no reply to hello. I switched to a Heltec Lora32 on the usb port, changed configs. It does produce the hello menu as before, however there are more bugs. The F fortune always works however sending a Hello throws an error: 2024-06-29 14:29:53,455 - INFO - Received message from user '4TWO' to YBBS: F` |
Interesting as I've had no problems TCP to both a T-Beam, Portdruno, and Radio Master. |
+1 |
The WaveShare Hat on the Pi MeshtasticD is a portduino version and works
well. I think it's the way the config interface stuff is handled trying to
work with both serial and tcp devices. OR it may even be my linux distro,
API version and libraries on this Raspberry Pi. For now I've given up using
the TCP node and went with a USB serial Heltec, which seems to be holding
up. I realize this is open source and am grateful to have it. It will be
fun to see what others bring to the project. 73
…On Sat, Jun 29, 2024 at 4:07 PM typicalaimster ***@***.***> wrote:
Interesting as I've had no problems TCP to both a T-Beam, Portdruno, and
Radio Master.
—
Reply to this email directly, view it on GitHub
<#24 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AFYWUTT435J6M3FGICY6GCDZJ4435AVCNFSM6AAAAABKDBIZTGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOJYGM3DQOBUG4>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
--
-Chad
|
I just wanted to add that TCP works fine for me (Tested using an Ubuntu VM and on Docker). The only thing that breaks it is if you reboot your node, then it won't automatically reconnect. Maybe if that could be fixed then TCP would work just a bit better. Thanks |
I am having this problem, it might be related to this "Issue". |
Running on Docker with a node attached to wifi.
I can see the incoming messages but do not get a response on my Meshtastic node.
2024-06-29 08:45:39,997 - INFO - TC²-BBS is running on tcp interface...
2024-06-29 08:46:17,076 - INFO - Received message from user 'AsMo' to MDev: Hello
2024-06-29 08:47:06,939 - INFO - Received message from user 'AsMo' to MDev: ?
2024-06-29 08:48:21,796 - INFO - TC²-BBS is running on tcp interface...
2024-06-29 08:48:36,358 - INFO - Received message from user 'AsMo' to MDev: Check
2024-06-29 08:53:14,803 - INFO - Received message from user 'AsMo' to MDev: 1
2024-06-29 08:55:24,414 - INFO - Received message from user 'AsMo' to MDev: m
2024-06-29 08:55:31,128 - INFO - Received message from user 'AsMo' to MDev: M
2024-06-29 08:59:32,264 - INFO - Received message from user 'AsMo' to MDev: 0
2024-06-29 09:00:27,374 - INFO - Received message from user 'AsMo' to MDev: h
2024-06-29 09:00:37,591 - INFO - Received message from user 'AsMo' to MDev: H
2024-06-29 09:04:27,300 - INFO - Received message from user 'AsMo' to MDev: F
2024-06-29 09:04:34,586 - INFO - Received message from user 'AsMo' to MDev: W
I will keep tinkering but any guidance is welcomed.
The text was updated successfully, but these errors were encountered: