localIP6()


Description

Returns the IPv6 link local address of the device.

Syntax

Phpoc.localIP6()

Parameters

none

Returns

the IPv6 link local 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.localIP6());
}

void loop(){
}