Static IP Address with an Arduino* Sketch
See the instructions below for how to assign a Static IP address to your Intel® Edison Development Board with Arduino* Sketch.
Note | These steps require an established connection between the Intel Edison Development Board and a wireless network. |
/* Arduino Sketch starts here */
void setup() {
system("ifconfig wlan0 <static ip> netmask 255.255.255.0 up");
}
void loop() {
}
/* Arduino Sketch ends here */
After declaring the Static IP address in the sketch, proceed to upload the sketch to the Intel Edison Development Board using the Arduino* IDE.