Skip to content

juergs/W600_Tcp_To_Serial_Bridge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

72 Commits
 
 
 
 
 
 
 
 

Repository files navigation

W600_Tcp_To_Serial_Bridge

See: Wiki for more informations.

Unresolved Solved: blocking connection.recv(255) doesn't allow asynchronous serial send/ tcp receive.

socket.accept() returns a tuple, consisting of the a socket and an address. So in your script, the variable connection is of type "socket". Which can set to non-blocking mode by connection.setblocking(False).

The Script connect_jsi_main.py serves as initializer on setup (main.py) to establish a WLAN-connection before opening a socket server by executing of script Serial_Bridge_ok.py.

See: select with socket and how can non-blocking socket instances be implemented

About

TCP-Server for serial bridging over WLAN for WEMOS W600 or Air602 module board

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages