This function is used to obtains a link local IPv6 address of the PHPoC shield for Arduino.
Phpoc.localIP6()
none
Returns a string represents a link local IPv6 address. (e.g. fe80:db8:131f::140b)
#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(){
}