Hello, everyone, this is my first post on this forum. I have been making an app(adobe AIR OS) for iPhone, which can control arduino board, which is connected to internet via ethernet shield. Basically everything works fine, when i'm sending packets over same router, but when i try to send some data, over cellular network(3g) i can send data, but can't receive any message back. Does anyone knows where the problem is? Using iPhone 5, iOS7
I'm not quite clear what your setup is like, but I get the idea that one end point is connected via a mobile data network and the other is connected via a wired connection e.g. DSL and that you only have one way comms between them. That immediately makes me wonder whether you have a firewall blocking the incoming traffic on the wired connection. Modern DSL routers typically have a firewall which rejects unsolicited incoming traffic. They can usually be configured to permit traffic from specific addresses and ports.
My arduino is connected to internet through router(tp-link), i disabled firewall and opened ports for it, so i can receive data to my arduino board, but the problem is, that when arduino gets some data it send back message back to my iphone. When both arduino ant phone is connected to each other through the same router everything works fine. When i connect my iphone to cellular network(3g) and disconnect it from router, i can send data, but can not receive anything back from arduino.
When you say "opened ports", do you mean you set up port forwarding in the router? Which tp link router do you have?
Yeah i mean port forwarding. Problem is not the router, it is something with my cellular network provider, i have read in some forum, something about NAT and firewall for iPhone, so i think this is something with mobile network.
You are probably correct. I use Verizon, and I understand they actively block UDP. You can use a LAMP server as a translator. The cellphone communicates with the server via TCP, and the Arduino via UDP. The data from each is stored in a MySQL database and relayed to the other device.
Hi
I need information about send packet to internet address like http://anyaddress.dyndns.biz from my arduino using ethernet shield.
the packet or message would be received by a server.
luk2009:
I need information about ...
See the examples that come with the Ethernet library.