My request would be full protocol details. Which port to talk to it on, any commands it understands and details of the numbers it puts out.
What you've said so far suggests that all it does is write out CSV data. However for doing that over ethernet it needs to use some sort of protocol to encapsulate that data. telnet?
nmapping your IP finds two accessible ports: 80 and 9999
port 80 gives:
port 9999 gives:
MAC address 00204A92ECAE
Software version V6.1.0.0 (051122) XPTEXE
AES library version 1.8.2.1
Press Enter for Setup Mode
*** basic parameters
Hardware: Ethernet TPI
IP addr 192.168.0.50, no gateway set,netmask 255.255.255.0
*** Security
SNMP is enabled
SNMP Community Name: public
Telnet Setup is enabled
TFTP Download is enabled
Port 77FEh is enabled
Web Server is enabled
Web Setup is enabled
ECHO is disabled
Encryption is disabled
Enhanced Password is disabled
Port 77F0h is enabled
*** Channel 1
Baudrate 115200, I/F Mode 4C, Flow 00
Port 10001
Connect Mode : C0
Send '+++' in Modem Mode enabled
Auto increment source port disabled
Remote IP Adr: --- none ---, Port 00000
Disconn Mode : 00
Flush Mode : 44
*** Expert
TCP Keepalive : 45s
ARP cache timeout: 600s
High CPU performance: disabled
Monitor Mode @ bootup : enabled
HTTP Port Number : 80
SMTP Port Number : 25
MTU Size: 1400
Alternate MAC: disabled
and somemore guff. Not sure if this is the router, webcam or TDC3-e, but the lantronix page talks about channel1 and the MAC adress matches, so I guess the answer is 'yes' I can talk to your TDC3-e :-)
I also appear to be able to reconfigure it from here, which may not be what you want :-)
As you say, you need to distinguish between the webcam and the TDC3-e in the router forwarding config. For now it would be easiest to disable the webcam forwarding until we have worked out (or Sorel have told you) which ports on the TDC3-e are actually available. port 9999 seems a good bet, and the config says that channel1 (the serial stream) is using port 10001, so make that accessible too. It offers to auto-increment the port (currently turned off), so we may need a range (manual says 50,000-59,999 would be used).
If I connect to port 10001 nothing happens. maybe it needs to be sent a command in order to start sending data? Clarifying this with Sorel would be very helpful.
ports 10000 and 10002 are refused a connection, so the silent, but successful connection on 10001 seems promising.
For getting data from the TDC3-e to the outside world (e.g. AMEE) there are two basic approaches. AndyC has given good details on much of this. But essentially either the TDC3 knows about the router address (which it should get by DHCP) and then makes an outward connection to somewhere on the net and sends data, or you set up forwarding as you have done and then a connection can be made from outside. The former is simpler except that the box will not get return packets telling it that packets arrived (without the router forwarding). I don't know if it can be set up to just blast UDP out into the ether without worrying about ACKs or not. If it can then that might be neatest, although you will also need some ID (the MAC?) in order to match data to a particular box/account.
The xport manual
http://www.lantronix.com/pdf/XPort_UG.pdf says it can do UDP.
OK. Having read the lantronix manual (mostly) I'm reasonably sure I connected to the serial channel on port 10001 and it is set to plausible settings 115200, 8N1, no flow control, always connect. (It makes sensethat Sorel set this stuff up). So we just need to know what the serial comms protocol is then we can use that over telnet. I tried typing all keys a load of control codes and got no output. I've closed the connection so it doesn't interfere wth anyone else.
Bedtime.