Our full technical support staff does not monitor this forum. If you need assistance from a member of our staff, please submit your question from the Ask a Question page.


Log in or register to post/reply in the forum.

PPP-Interface , NL115 and Routing


artmann Jan 14, 2010 05:06 PM

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?

thanks in advance.


aps Jan 16, 2010 09:19 AM

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.


Sam Jan 18, 2010 03:17 AM

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 *


artmann Jan 22, 2010 12:30 PM

hi,

thanks a lot.
Those instructions are quite useful.

Log in or register to post/reply in the forum.