Iphone ad-hoc and touchOSC

Does any one know how to create an ad-hoc connection between an iphone and a macbook and be able to use touchOSC to control the macbook? I've been trying for hours but can't get it to work.

I have succesfully done it over the wi-fi router, but I will need the two to connect when i'm out and about and not on the wi-fi router.

macbook & iphone 3G, Mac OS X (10.4.8)

Posted on Nov 16, 2008 7:27 AM

Reply
3 replies

Feb 14, 2009 6:04 AM in response to adamwgrant

Here is what I do to create a computer-to-computer network with TouchOSC and my iPhone. It is very similar to the above Video tutorial.

1) Click AirPort Status in the osx menu bar and select "Create Network".

2) Name the network (I named mine MacBookPro) and click "ok".

3) Your AirPort Status icon on the computer should change the way it looks. Mine is kind of grey with sort of a computer icon in it.

4) Now click on the "Apple" in the main menu bar and select "About this Mac" then select "More Info" and them select "Network", note the IP address given on the IPv4 Address line. Mine is 169.254.103.247 .

5) Now go to the "setting" on your iPhone. Select Wi-Fi. On the Wi-Fi page, select the name of the Wi-Fi network you created in step 2 (I chose "MacBookPro"). A check mark appears by the selected network. Now close the iPhone's Settings.

6) Open the TouchOSC application (on the iPhone) and go into the network setting. Set the Host to the IPv4 Address number from step 4. Mine is 169.254.103.247. Set the Port (outgoing) to something like 8000 and the Port (incoming) to something like 8001. Now, make a note of the "Local IP address", mine is: 169.254.143.247

7) Open the file simple_send-and-receive.maxpat . In the box labeled iphone ip, put the address called "Local IP address" from step 6. I put in the address: 169.254.143.247 . Also, click the boxes labeled "receive on/off" and "send on/off" in the patch.

8) Now select the "Simple" Layout in the iPhone and things should work.

There may be better ways to do it, but this works for me. Hope it helps,
Mitch

Message was edited by: Mitchell Turner1

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Iphone ad-hoc and touchOSC

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.