gatewayIP6()


Description

Returns the IPv6 gateway address of the device.

Syntax

Phpoc.gatewayIP6()

Parameters

none

Returns

the IPv6 gateway address of the device (IP6Adress).

Example

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

void setup(){
  Serial.begin(9600);
  if(Phpoc.begin() == 0){
    Serial.println("Failed to initialize Network");
    for(;;)
      ;
  }
  Phpoc.beginIP6();
  Serial.println(Phpoc.gatewayIP6());
}

void loop(){
}