We have developed a local TCP service for testing; it is simple service that echoes string sent to it and appends ' -received'
Service is hosted on same server and using port 5009. Using telnet, it works properly.
However, using below code, it errors on rxmsg, specifically showing "Interface Not Active".
It reaches up to "sent to - press esc" but errors on getrxmsg; it does not reach "finished - press esc" anymore.
Error shows "Interface Not Active"; I am not sure what that means. Does it reach the TCP but TCP fails to reply? Does TCP service need to reply in a specific format?
I tried to look at 3700d.log with verbosity set to 10 but doesn't include any information. Also tried network IP address instead of 127.0.0.1 but still same result.
Is there a way to debug easily what is wrong or is there something wrong with my configuration? Below is my configuration:
Set up a Network Node pointed to the Server:
1. Computer Name = <Server Name>
2. IP Address = <IP Address from IP config>
3. Subnet Mask = <IP Address from Subnet Mask>
And set up an Interface using following settings:
1. Outgoing Message Name = SIM
2. Network Node = <server configured above>
3. Number ID Digits = 2
4. Interface Type = TCP
5. Sim Interface ENABLED
6. TCP Server Name = 127.0.0.1
7. Port = 5009
Thank you!
Service is hosted on same server and using port 5009. Using telnet, it works properly.
However, using below code, it errors on rxmsg, specifically showing "Interface Not Active".
Code:
waitforclear "testing - press esc"
txmsg "test" //Format message to transmit
waitforclear "sent to - press esc" // for response
getrxmsg "requesting from SIM" //Transmit message and wait
waitforclear "finshed - press esc" // for response
It reaches up to "sent to - press esc" but errors on getrxmsg; it does not reach "finished - press esc" anymore.
Error shows "Interface Not Active"; I am not sure what that means. Does it reach the TCP but TCP fails to reply? Does TCP service need to reply in a specific format?
I tried to look at 3700d.log with verbosity set to 10 but doesn't include any information. Also tried network IP address instead of 127.0.0.1 but still same result.
Is there a way to debug easily what is wrong or is there something wrong with my configuration? Below is my configuration:
Set up a Network Node pointed to the Server:
1. Computer Name = <Server Name>
2. IP Address = <IP Address from IP config>
3. Subnet Mask = <IP Address from Subnet Mask>
And set up an Interface using following settings:
1. Outgoing Message Name = SIM
2. Network Node = <server configured above>
3. Number ID Digits = 2
4. Interface Type = TCP
5. Sim Interface ENABLED
6. TCP Server Name = 127.0.0.1
7. Port = 5009
Thank you!