impl loop protocol in arduino-compatiable android devices.