jaredly / jaredly/pydbgp

serial data interrupted

Open
#5 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
36
Forks
7
PR merge metrics
No merged PRs in 30d

Description

Hi i have a little issue....
i'm trying to use your code for listenting an usb to serial dongle... and forwarding the traffic to a tcp server....

the script listens correctly, but forwards only a portion of what it has received

here is a small portion of the log

`Waiting for serial data on /dev/ttyUSB0
Received serial data on /dev/ttyUSB0
data [‘\r’]
serial data [‘\r’]
Connecting to IDE at [‘xxx.xxx.xxx.xxx’, 2102]
serial data [‘\n16:25 16.03.18\r\n31B\r\n\r\n\x00\r\n16:25 16.03.18\r\n31B\r\n\r\n\x00’]
socket data [‘\r’]`

the server receive only "\r"

can you help me?

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the USB-to-serial forwarding case described in the log, using the /dev/ttyUSB0 input and TCP server endpoint on port 2102. Trace how the received serial data becomes socket data and compare the transmitted value with the full logged payload; done means the server receives the complete payload rather than only "\r".

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
networking
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.