Skip to content
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

can send data but not receive #1

Open
frankdunn opened this issue Jun 3, 2016 · 2 comments
Open

can send data but not receive #1

frankdunn opened this issue Jun 3, 2016 · 2 comments

Comments

@frankdunn
Copy link

hi
I am using your code with a nodemcu module .The tcp master is a simulator and a the rtu slave is a simulator . the tcp master sends a funcion 3 message and the rtu slave will receive and respond , but my tcp master never receives the reply from the rtu slave . The rx and tx for the softwareserial is working , I have tested this with softwareSerial example .
capture1

@frankdunn
Copy link
Author

hi
ng
I have it working now , i had to edit "else if (micros() < _timeToReceive) {" to "else if (micros() > _timeToReceive) {" . timeout on no response is still working .

@graham22
Copy link
Member

graham22 commented Jun 4, 2016

Thanks, I'll make sure I update that.

Graham.
On Jun 4, 2016 1:56 PM, "frankdunn" [email protected] wrote:

hi
ng
I have it working now , i had to edit "else if (micros() < _timeToReceive)
{" to "else if (micros() > _timeToReceive) {" . timeout on no response is
still working .


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#1 (comment),
or mute the thread
https://github.com/notifications/unsubscribe/AFGATV_nWy8Y1Q5l8oZr8THZcnm36EQHks5qIbxBgaJpZM4It0vW
.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants