Hi,
I am the beta tester that developped an iPhone application in 2009.
But the method that I have used is not valid anymore because I modified the web services from Nao and it is not available anymore because web server from Nao is protected and it is not possible to do it on every Nao.
I am working on a new version of the application that may be use by everyone thanks to some explainations from Aldebaran.
Here are the principles :
On Nao make a new behaviour that is listening to some data over a specific port
Here is a sample of code :
import socket
port = 8081
s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
# Accepte des datagrammes UDP sur le port indiqué, venant de n\'importe quelle
machine
s.bind(("", port))
print "En attente sur le port", port
while True:
# Reçoit jusqu\'à 1024 octets par datagramme
donnees, adr = s.recvfrom(1024)
print "Reçu :", donnees, "de", adr
// Here depending of what you received, you do the action on Nao
On the client side (iPhone, PC, iPad, Windows ...)
import socket
port = 8081
hote = "localhost"
s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
s.sendto("Hi Nao! it works.", (hote, port))
Of course you can\'t use python on iPhone instead use the iPhone web services.
Hope it helps ...
Happy Christmas ...