Sim 900 tcpip connection

Status
Not open for further replies.

hasmibaih

Junior Member level 2
Joined
Dec 7, 2013
Messages
23
Helped
1
Reputation
2
Reaction score
0
Trophy points
8
Activity points
286
Hi everyone,
I am trying to built a TCPIP connection with SIM 900
So I need two SIM 900, first as a TCP server and the other as a TCP client
To make TCP connection we need type " AT+CIPSTART="TCP","IP Server/Client","port server/client" "
But how i know port server or client to complete AT command above ?
Please help me on this.
thanks
 

Hi,
AT Command


Description
AT+CIPSTART comamnds starts a TCP or UDP connection.

Parameters
- 0..7 - Connection number
- "TCP" or "UDP"
- Remote server IP address
- Remote server port
- remote domain name

Usage:
AT+CIPSTART=? - Test

Examples
AT+CIPSTART=?

+CIPSTART: ("TCP","UDP"),("(0,255).(0,255).(0,255).(0,255)"),(1,65535)
+CIPSTART: ("TCP","UDP"),("DOMAIN NAME"),(1,65535)

OK

Start a TCP connection
AT+CIPSTART="TCP","116.228.221.51","8500"

OK

Start a UDP connection
AT+CIPSTART="UDP","116.228.221.51"."9600"

CONNECT OK



Try put like this :
AT+CIPSTART="TCP","www.google.com","80"

Hope this helps.
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…