We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
使用环境场景: 通过IICOM建立TCP服务端,实现自动收发消息回应客户端。
通过LUA脚本或者其他方式实现功能
1.当TCP客户端连接服务端时,脚本自动发送指定的消息给到客户端。 2.当客户端主动向服务端发送消息时,服务端根据客户端发的消息自动回应对应的消息。
如果能做到的话,甚至自动收发串口消息。
The text was updated successfully, but these errors were encountered:
除当客户端连接/断开事件接口未添加
当客户端连接/断开事件接口
其他所需功能的接口皆满足,可自行编写功能脚本
Sorry, something went wrong.
2ee5f66
apiSetCb("netlab",function (data) log.info( "netlab received", data.client, data.data) if data.client == "connected" then apiSend("netlab",nil, { client = data.data, data = "hello" }) else --处理别的 apiSend("netlab",nil, { client = data.client, data = "hello" }) end end)
No branches or pull requests
您的功能请求是否与解决某些问题有关?请描述一下。/ Is your feature request related to a problem? Please describe.
使用环境场景:
通过IICOM建立TCP服务端,实现自动收发消息回应客户端。
描述您想要的解决方案 / Describe the solution you'd like
通过LUA脚本或者其他方式实现功能
描述您想要的详细使用步骤描述 / Describe the solution you'd like to use in what way
1.当TCP客户端连接服务端时,脚本自动发送指定的消息给到客户端。
2.当客户端主动向服务端发送消息时,服务端根据客户端发的消息自动回应对应的消息。
其他备注信息或截图 / Add any other context or screenshots about the feature request here
如果能做到的话,甚至自动收发串口消息。
The text was updated successfully, but these errors were encountered: