Returns the gateway IP address for the device.
Phpoc.gatewayIP()
none
the gateway IP address for the device (IPAddress).
#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()
{
}