I checked my earlier file modifications and found that a problem with my editing. I have been able to enter the enum values now.
1 = manual mode, 2 = auto, 3 = mdi.
I need to check on this value further: (read 35 bytes from 4) in the below responses
.
Manual Mode
(time=1566803508.455991,pid=14498): Socket opened by host with IP address 10.10.20.1.
(time=1566803519.480054,pid=14498): read 20 bytes from 4
(time=1566803519.480080,pid=14498): TCPSVR request received: fd = 4, serial_number=1, request_type=2, buffer_number=1
(time=1566803522.060326,pid=14498): read 35 bytes from 4
(time=1566803522.060359,pid=14498): rcs_sem_post(6750208) called.
(time=1566803522.060391,pid=14498): wrote 12 bytes to 4
Issuing EMC_TASK_SET_MODE -- ( +504,+24, +3, +1,)
Auto Mode
(time=1566803618.732544,pid=14498): Socket opened by host with IP address 10.10.20.1.
(time=1566803622.541164,pid=14498): read 20 bytes from 4
(time=1566803622.541190,pid=14498): TCPSVR request received: fd = 4, serial_number=1, request_type=2, buffer_number=1
(time=1566803626.041421,pid=14498): read 35 bytes from 4
(time=1566803626.041455,pid=14498): rcs_sem_post(6750208) called.
(time=1566803626.041488,pid=14498): wrote 12 bytes to 4
Issuing EMC_TASK_SET_MODE -- ( +504,+24, +4, +2,)
MDI Mode
(time=1566803813.570980,pid=14498): Socket opened by host with IP address 10.10.20.1.
(time=1566803818.783676,pid=14498): read 20 bytes from 4
(time=1566803818.783711,pid=14498): TCPSVR request received: fd = 4, serial_number=1, request_type=2, buffer_number=1
(time=1566803822.563868,pid=14498): read 35 bytes from 4
(time=1566803822.563901,pid=14498): rcs_sem_post(6750208) called.
Issuing EMC_TASK_SET_MODE -- ( +504,+24, +8, +3,)
in the above: the +505 is NMLType, +24 is bytes for the task, +8 is serial number, +3 is enum selection value