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

Missing Polling #3

Open
UHaider opened this issue Apr 9, 2021 · 6 comments
Open

Missing Polling #3

UHaider opened this issue Apr 9, 2021 · 6 comments

Comments

@UHaider
Copy link

UHaider commented Apr 9, 2021

ESPA 4.4.4 protocol defines polling mechanism for server stations

Polling

As this library allows to create servers does this library implement polling?

@digimat
Copy link
Owner

digimat commented Apr 9, 2021 via email

@UHaider
Copy link
Author

UHaider commented Apr 9, 2021

Thanks for the reply. But when I start the server

link = LinkSerial ('ts940', 'COM2', 9600, 'N', 8, 1) servers.add (Server (link)) servers.run ()

I don't see any data being sent on COM2. The server should poll for example 2. No?

@digimat
Copy link
Owner

digimat commented Apr 9, 2021 via email

@UHaider
Copy link
Author

UHaider commented Apr 9, 2021

The above code it exactly what I am trying. On the client side I have the client running which is listening on the serial port for 2<ENQ> But nothing on serial port.

@digimat
Copy link
Owner

digimat commented Apr 10, 2021 via email

@UHaider
Copy link
Author

UHaider commented Apr 11, 2021

Thanks for confirmation.

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