gatewayIP()


Description

Returns the gateway IP address for the device.

Syntax

Phpoc.gatewayIP()

Parameters

none

Returns

the gateway IP address for the device (IPAddress).

Example

#include <SPI.h>
#include <Phpoc.h>

void setup()
{
  Serial.begin(9600);

  if(Phpoc.begin() == 0)
  {
    Serial.println("Failed to initialize Network");
    for(;;)
      ;
  }
  Serial.println(Phpoc.gatewayIP());
}

void loop()
{
}