HI Marmor sorry for not reply before, I don´t see this post

About use iPhone and serial port whit arduino I don´t try yet, but if you need I try to make it...
I comment what I do...
The only test I do it´s connect arduino whit PC, but I can load vales from a potenciometer , or turn on/off a led... and control a servo RC***
The mode usage I do it´s very simple, I conect Arduino whit USB / This it´s a COM Port, usually in my computer it´s 3, and you can monitorize whit the IDE of Arduino or you can do a Simple Viewport whit GLbasic...
I don´t have the code now for Arduino... but take a look at this:
In Arduino you have to take a look to the serial Library...
http://arduino.cc/hu/Reference/SoftwareSerialThis it´s a code example for Arduino, program Arduino it´s absolutely easy, thanks to GLbasic, I can do things whit this device... the language it´s hyper easy, and the sintaxis it´s like C++, but nothing about C++ in a beggin, all are pre-made libraries
#include <SoftwareSerial.h>
SoftwareSerial mySerial(10, 11); // RX, TX
void setup()
{
// Open serial communications and wait for port to open:
Serial.begin(57600);
while (!Serial) {
; // wait for serial port to connect. Needed for Leonardo only
}
Serial.println("Goodnight moon!");
// set the data rate for the SoftwareSerial port
mySerial.begin(4800);
mySerial.println("Hello, world?");
}
void loop() // run over and over
{
if (mySerial.available())
Serial.write(mySerial.read());
if (Serial.available())
mySerial.write(Serial.read());
}For Windows...
In this post you have a library do it by Gernnot, I make runs always, but I don´t remenber how do it, I always confusing whit the bauds and the COMS and all this things. but runs 100%... the problem it´s me.
http://www.glbasic.com/forum/index.php?topic=1690.0Making this 2 thing correctly you have connected the Windows and Arduino...
I do another test, this it´s whit WIFI, and this have to works whit iPhone, I use the Palm Pre, but the code it´s common for all devices supported for GLbasic...
The test was simple, control a servo and control a led, again turn on/off...
The code it´s very easy you have to do a Server in your computer... in the post Network for Cowards, you have all explained pefectly... then..
In your mobile phone makes the client...
Whit the Com Library of Gernnot (Above link thread), you have to connect the data of the Server/Client, to send whit the Com Library to Arduino
In arduino you have to make a Code to read , what you send from the Com port ... USB, I think the above example it´s enough...
And all it´s this...
The most important point after two months ... don´t try to launch a missile, this it´s only in games
Kinds Regards, Marmor, and I can help you in somthing, please tell me.