Você está na página 1de 17

Step-by-Step Tutorial of

LinkSprite Four Band GPRS DTU

http://www.linksprite.com

1 / 17

1. Hardware Need: a) LinkSprite Four Band GPRS DTU


http://www.linksprite.com/product/showproduct.php?id=30&lang=en

b) Module Evaluation Board


http://www.cutedigi.com/product_info.php?cPath=301&products_id=4166

2. Software Needed a) TCP/IP Server Test Tool


http://www.linksprite.com/download/showdownload.php?id=33&lang=en

b) LinkSprite SM5100B GPRS DTU Parameter Setting GUI


http://www.linksprite.com/download/showdownload.php?id=29&lang=en Optional Software: X-CTU from Digi.com

Step 1:

Find out the serial port that the eval board is attached to.

2 / 17

Step 2: Launch GPRS DTU Configuration Utility:

On the eval board, four switches must be on upper positions. SIM card needs to be inserted. Default COM setting: 9600: 8: None: 1 : None, and click Open

Configure DTU Parameter:

3 / 17

Port info: the serial port parameter. APN: the APN name of the carrier. For AT&T, its wap.cingular. Center Address: Its the server IP address. If you are using a router, you can use http://whatismyipaddress.com/ to find out your WAN IP address. In your router, you must use DMZ to point port to your host LAN IP address. Port: server port number. Mode: please always select Center Heartbeat: The GPRS can periodically send small package to server to maintain the socket Running Mode: Support DTU mode and AT command mode. For AT commands, please download from: http://www.linksprite.com/download/showdownload.php?id=34&lang=en

4 / 17

Send Trigger Mode: This defines when the DTU will treat the raw serial data as end and send them over TCP/IP. There are two modes: timeout and delimit. If you are using in North America, you must verify the communication band is set correctly. In the following, we are going to first set the module into AT command mode, and check the communication band setting.

Then click DTU option tab, the following window will pop up.

Click Yes.

5 / 17

Click Parameter Setting.

It will report Confirm. Now the module is in AT command mode. You will see SIND messages that are reported in AT command mode. Click tab Send Data to send AT command.

6 / 17

Use AT+SBAND? , and fond out that the communication band is NOT for North America.

7 / 17

Use AT+SBAND=7 to move the band to North America bands. You will see LED101 on eval board start blinking, which means that its on the network. This setting is saved even when you power cycle the module. Now we are done with the communication band setup. We need to exit the AT command mode by typing: AT+CDTU=1 to enter into DTU mode.

8 / 17

Step 3: Launch TCP server

9 / 17

Set the port to be same as the DTUs setting, and click Bind.

10 / 17

11 / 17

Remote GPRS connected right away in this try:

Wah Keep receiving heartbeat packets.

12 / 17

If we send data at Serial port, we will receive at the TCP server:

13 / 17

14 / 17

If we send data at server end, we will receive at serial port:

15 / 17

What a neat feature! Thats the beauty of GPRS DTU. You can treat the GPRS module as a transparent cable.

16 / 17

LinkSprite Technologies, Inc. Add 1410 Cannon Mountain Dr, Longmont, CO 80503 Tel 720-204-8599 Email sales@linksprite.com Technical questions: support@linksprite.com Web www.linksprite.com

17 / 17

Você também pode gostar