GSM900TCP/UDP Connection

Source: Internet
Author: User

Tcp
Send:
At+cipstart= "TCP", "122.0.114.244", 1001
Return:
Ok

CONNECT OK

Send:
At+cipsend>hello every one!
0x1a

Disconnect Connection
At+cipshut

Close the move scene (PDP context to activate GPRS to attach)
At+cipshut return: O

(Need to re-connect in the background)

(back after the background is broken
CLOSED
)

ERROR

Already CONNECT
(representing already connected state)


Udp

Send:
At+cipstart= "UDP", "122.0.114.244", 1001
Return:
Ok

CONNECT OK


Send:
At+cipsend>hello every one!
0x1a

Disconnect Connection
At+cipshut
Return:
SHUT OK


(UDP does not need to be re-connected after the background is disconnected)


TCP UDP can communicate with each other on the premise of connection

After the UDP is disconnected in the background, the background is logged in again, the module sends the data back to the background and can be connected, and the two can communicate with each other.

GSM900TCP/UDP Connection

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.