Metalkat / dsmi

Automatically exported from code.google.com/p/dsmi
0 stars 0 forks source link

iPhone : code works for Simulator, not for Device #12

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Create a basic iPhone application that sends a C4 note on and note off 
signal on touch down / 
touch up.
2. I included as well the previously mentioned changes for the simulator to the 
source with an #if 
TARGET_IPHONE_SIMULATOR guard:
a) Change IPHONE_SENDER_PORT from 9002 to 9003
b) Change "en0" to "en1"

What is the expected output? What do you see instead?
These two applications should send exactly the same message to the server and 
play a C4 on my 
machine. The Simulator works just fine; I can send notes, CC values, everything 
works. But, when 
I run it on the Device, nothing seems to get sent.

What version of the product are you using? On what operating system?
DSMI iPhone 1.0
DSMIDIWifi server 1.01
Mac OS 10.6.2
iPhone OS 3.0

Original issue reported on code.google.com by mcacrylamide@gmail.com on 28 Mar 2010 at 7:57

GoogleCodeExporter commented 8 years ago
EDIT: I downloaded the Midi Motion Machine free app on my iPhone, and IT 
doesn't work.

And, I've tried running the server on multiple machines, all three platforms 
(PC, Mac, Linux).

Still doesn't work.

Original comment by mcacrylamide@gmail.com on 28 Mar 2010 at 8:13

GoogleCodeExporter commented 8 years ago
For anyone else who has this bizarre problem, I've discovered the solution. If 
you reset the network settings on 
the phone, it seems to work. I have no idea what caused the network settings to 
get out of whack, but apparently 
this was the problem.

Original comment by mcacrylamide@gmail.com on 29 Mar 2010 at 5:41

GoogleCodeExporter commented 8 years ago

Original comment by collin.m...@gmail.com on 3 Jul 2011 at 6:07