PPP-Interface , NL115 and Routing_Campbellsci论坛问答

Hi all.

I am using a CR1000 with a NL115 and a modem.
When deployed the system does not use the ethernet port of the NL115 but goes online via the GPRS-modem.
But while developing i really like the NL115 for debugging as i often have the RS232 port of the logger in use.
Now my question is, how does the logger know "which interface has to be used/queried" if there are multiple "ways out".
For example:
The logger has received a IP via the NL115 (DHCP)
Also the logger has received a IP via the the modem (pppOpen).
Now when i drop a TCPOpen() in code and get a valid socket, how does the logger decide for which interface the socket is valid?
Same question for the Route() function. Any way to distinguish the relevant interface?

PPP-Interface , NL115 and Routing_Campbellsci论坛问答

thanks in advance.

新对话如下:

A brief answer. You can use RS232 and both IP interfaces at the same time.

For incoming messages the logger keeps track of which interface the message came from. For outgoing messages, see the IPRoute command for more information. This was introduced relatively recently.

BTW: Make sure though that you do not try to have two versions of Loggernet or nay device with the same Pakbus address try to talk to the logger - the Pakbus addresses have to be unique.

新对话如下:

When deployed the system does not use the ethernet port of the NL115 but goes online via the GPRS-modem.

Since you are not using the Ethernet port when deployed you might also look at the "EthernetPower" instruction. This would be for power consumption considerations.

* Last updated by: Sam on 1/17/2010 @ 8:18 PM *

新对话如下:

hi,

thanks a lot.
Those instructions are quite useful.

分享到:

原文链接:,转发请注明来源!
海洋仪器网 仪器使用 PPP-Interface , NL115 and Routing_Campbellsci论坛问答
「PPP-Interface , NL115 and Routing_Campbellsci论坛问答」评论列表

发表评论