globalIP6()


Description

Returns the IPv6 global address of the device.

Syntax

Phpoc.globalIP6()

Parameters

none

Returns

the IPv6 global 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.globalIP6());
}

void loop(){
}