I found out that plugin has command to send message back to client ser2netclientsend,"Message"
Maybe it's the one of the steps to solve my problem, but unfortunately I can't catch Serial EVENT
to recieve data back to client, or do something else.
Tried to set many different options in Ser2Net Plugin
Tried to send data though network port and quickly (before RX Receive Timeout
would expire) sendback data via Serial Monitor (UART), but no bata get back to network port.
Tried to turn OFF Serial port in the unit settings and use Ser2Net only, but it didn't help.
Tried to use second HW Uart, but it didn't help too.
But some circumstances gave me opportunity to view Serial EVENT
Code: Select all
923178: EVENT: TaskInit#Ser2Net=1,1
923236: RuleDebug: 011: !serial do
923238: RuleDebug: 010: logentry,'seeeeerial'
923239: EVENT: TaskInit#Ser2Net=1,1 Processing time:61 milliSeconds
928417: sendcontent free: 20824 chunk size:398
928421: sendcontent free: 20208 chunk size:292
928422: sendcontent free: 19536 chunk size:0
933604: sendcontent free: 20368 chunk size:0
933653: EVENT: !Serial#
933656: RuleDebug: 001: !serial do
933658: RuleDebug: 000: logentry,'seeeeerial'
933658: ACT : LogEntry,'SEEEEERIAL'
933660: Command: LogEntry
933660: Par1: 1162167552 Par2: 0 Par3: 0 Par4: 0 Par5: 0
933662: EVENT: !Serial#
During all this time I got two Serial EVENTS and I don't know how to reproduce it.