Tuesday, July 27, 2010

Testing IPv6 on Android

We're doing some tests on peer-to-peer (machine-to-machine) IPv6 functionality on Android 2.2 - - can anyone else suggest functioality we are not testing?

WIFI Tests

  • WIFI connect to base station?
  • WIFI Ad-hoc mode? (P2P with No base station!) Why: Proves we can connect to a gumstix angstrom linux "computer on a chip" or laptop without a WIFI basestation.

IPv6 (over WIFI)

  • P2P stateless autoconfiguration: (No Infrastructure) Test for P2P Link-Local stateless autoconfiguration - without router advertisements! (this may be a problem!) Why: We want to run ad-hoc and infrastructureless
  • Autoconfiguration with a router: Test IPv6 with an IPv6 router advertisement over WIFI
  • Stateful autoconfiguration with DHCP: Test IPv6 configuration with our lab’s DHCPv6 server….
  • Local COI: Can we manipulate an /etc/hosts table to write a “COI” for IPv6? Why: We will need a way to run P2P in a local ad-hoc network without DNS…
  • Connect to IPv6 Web Service: Can we connect to web services hosted on link-local and organization-local (private) addresses? Connect by DNS, mDNS name, or by IP Address?
  • Multicasting: Can we write an app to send/receive multicast on Android? There is sample app here: http://code.google.com/p/android/issues/detail?id=2917
  • Multicast DNS (mDNS) and Zeroconfig: Can we send and receive mDNS "application service auto-discovery" on Android? Hint: Try the Java mDNS library http://jmdns.sourceforge.net/
  • MDNS and DNS-SD (Zeroconfig) Services browser? Is there a Zeroconfig-Bonjour services browser application/sample code already done?
  • Programming SDKs:
    *Can we write IPv6 P2P and multicast sample apps on the Android http://developer.android.com/sdk/index.html and Java network sockets? http://developer.android.com/reference/java/net/Socket.html

    Ref wiki on current IPv6 Issues in Android: http://code.google.com/p/android/issues/detail?id=3389 (TJ Evans posted some of these!)

Lastly - is anyone interested in helping me develop a physiological monitoring App on android, that couples with a heart monitor and the GPS in the phone, to give you similar functionality to a Garmin Heart Watch? Sort of a running/health tracker!