#How to connect multiple Android devices with ADB over TCP
According to a post on xda-developers, you can enable ADB over Wi-Fi from the device with the commands:
su
setprop service.adb.tcp.port 5555
stop adbd
start adbd
/* ---------------------------------------------------------- */ | |
/* */ | |
/* A media query that captures: */ | |
/* */ | |
/* - Retina iOS devices */ | |
/* - Retina Macs running Safari */ | |
/* - High DPI Windows PCs running IE 8 and above */ | |
/* - Low DPI Windows PCs running IE, zoomed in */ | |
/* - Low DPI Windows PCs and Macs running Firefox, zoomed in */ | |
/* - Android hdpi devices and above */ |
#include <string.h> | |
#include <Ethernet.h> | |
#include <SPI.h> | |
#include <HttpClient.h> | |
#include <EthernetClient.h> | |
byte mac[] = { 0xDE, 0xAD, 0xBE, 0xE0, 0xFE, 0xED }; | |
char server[] = "morphia.mhv"; |