Hi-flying HF211 User Manual

Hi-flying HF211 User Manual

Gprs serial

Advertisement

HF2111 GPRS Serial Server User Manual
GPRS Serial Server User Manual
Overview of Characteristic
Support Four Frequency Bands, Global
Support
GSM/GPRS
Support Max
3 channel
Support Multiple Work Mode(Transparent Transmission/AT Commands)
Embedded
RS232/RS422/RS485 to GPRS
Size:
95 x 65 x 25mm
Single 5~36V DC Power Supply
Shanghai High-Flying Electronics Technology Co., Ltd
HF2111
V1.4
Standard(850/900/1800/1900MHz)
(No 3G Network) and 2G/3G/4G CMCC or CUCC SIM Card
TCP/UDP.
interface
1/29

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the HF211 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Hi-flying HF211

  • Page 1 HF2111 GPRS Serial Server User Manual HF2111 GPRS Serial Server User Manual V1.4 Overview of Characteristic  Support Four Frequency Bands, Global Standard(850/900/1800/1900MHz)  Support GSM/GPRS (No 3G Network) and 2G/3G/4G CMCC or CUCC SIM Card  Support Max 3 channel TCP/UDP.
  • Page 2: Table Of Contents

    HF2111 GPRS Serial Server User Manual CONTENT List Of Figures ........................4 List Of Tables ........................4 History ..........................4 1. PRODUCT OVERVIEW .................... 5 Basic Parameters................... 5 Hardware Introduction..................6 1.2.1. Interface Description ..................6 1.2.2. RS232 Interface ..................... 7 1.2.3.
  • Page 3 HF2111 GPRS Serial Server User Manual 4.2.2.23. AT+WANN..................22 AT+GETIP ..................23 4.2.2.24. 4.2.2.25. AT+HEART ..................23 AT+UPGRADE................23 4.2.2.26. 4.2.2.27. AT+GVER ..................23 AT+GCID..................23 4.2.2.28. AT+CIMI ..................24 4.2.2.29. AT+CGSN ..................24 4.2.2.30. 4.2.2.31. AT+GSLQ..................24 AT+LOGIN ..................24 4.2.2.32.
  • Page 4: List Of Figures

    HF2111 GPRS Serial Server User Manual LIST OF FIGURES Figure 1. HF2111 Appearance ................6 Figure 2. RS232 Pin Defination(Male/Needle Type) ..........7 Figure 3. HF2111 Mechanical Dimension.............. 8 Figure 4. HF2111 Production Code Definition ............9 Figure 5. GPRSwireless network ................. 10 Figure 6.
  • Page 5: Product Overview

    HF2111 GPRS Serial Server User Manual 1. PRODUCT OVERVIEW 1.1 Basic Parameters Table1. HF2111 Basic Parameters Item Parameter Internet Type GSM/GPRS Data Rate 85.6Kbps(DL,UL) Frequency 850/ 900/1800/1900MHz Multi-Slot Class GPRS Class 12 Terminal Device Class B Class Coding Schemes CS1 ~ CS4 Wireless Parameter Max Transmit...
  • Page 6: Hardware Introduction

    HF2111 GPRS Serial Server User Manual 1.2 Hardware Introduction Figure 1. HF2111 Appearance 1.2.1. Interface Description Table2. HF2111 External Interface Function Name Description RS232 Communication.(Choose one of External RS232 the three RS232/RS422/RS485 to Interface Shanghai High-Flying Electronics Technology Co., Ltd 6/29...
  • Page 7: Rs232 Interface

    HF2111 GPRS Serial Server User Manual Function Name Description communicate) RS422/RS485 RS422/RS485 Interface SIM Card Sim Card Slot DC Input DCPower 5~36V Input Earth Connect to Protect GND Antenna SMA Antenna Interface Power 3.3V Internal Power Supply Indicator Indicator On: Socket TCP connect to server success Off: No Socket TCP connection Data receive Indicator...
  • Page 8: Mechanical Size

    HF2111 GPRS Serial Server User Manual Name Description Transfer Data+ Transfer Data- Receive Data+ Receive Data- Table4. RS422 Connectioin 1.2.5. Mechanical Size HF2111 device physical size as follows: Figure 3. HF2111 Mechanical Dimension 1.2.6. Order Information Acorrding to customer’s demands,HF2111 product can provide different configured products, and the particular production code is showed as follow: Shanghai High-Flying Electronics Technology Co., Ltd 8/29...
  • Page 9: Package Information

    HF2111 GPRS Serial Server User Manual Figure 4. HF2111 Production Code Definition 1.2.7. Package Information 1 * HF2111 1 * 5V/1A Power Adapter 1 * RS232 Cable 1 * GPRS Antenna Shanghai High-Flying Electronics Technology Co., Ltd 9/29...
  • Page 10: Function Description

    HF2111 GPRS Serial Server User Manual 2. FUNCTION DESCRIPTION 2.1. Wireless Networking Product is connected with serial devices and GPRS network and communicate with remote server through public network. It is suggested to use build-in TCP/IP protocol stack to achieve remote control and monitor through UDP/TCP connection with server. Figure 5.
  • Page 11: Iotserialtool

    HF2111 GPRS Serial Server User Manual 3. IOTSerialTool 3.1. Description IOTS erialTool is to config the HF-G200/DTU-G101/HF2111 product, it is convenient to config the product parameters, upgrade firmware via RS232/RS485/RS422 interface. 3.2. UI The following is a note on the interface of this tool in Chinese: 【...
  • Page 12: Operation Steps

    HF2111 GPRS Serial Server User Manual Click Advanced settings to enter heartbeat settings: 【 】 【 】 心跳时间 :Heartbeat time; 心跳数据 :Heartbeat data; 【 】 【 】 【 】 设备升级 :Equipment upgrade; 确定 :confirm; 关闭 :Close; 3.3. Operation Steps a) Click “IOTSerialTool.ex e” to open the tool. b) Set tool serial parameters and click open the serial.(product default parameter is 115200,8,N,1) c) Click【读设备参数】,in【操作记录】...
  • Page 13 HF2111 GPRS Serial Server User Manual Shanghai High-Flying Electronics Technology Co., Ltd 13/29...
  • Page 14: At+Instruction Introduction

    HF2111 GPRS Serial Server User Manual 4. AT+INSTRUCTION INTRODUCTION 4.1. Configuration Mode When HF2111 power up, it will default works as transparent transmission mode, then user can switch to configuration mode by serial port command. HF2111 UART default parameters setting as below figure, Figure 6.
  • Page 15: At+Instruction Set Overview

    HF2111 GPRS Serial Server User Manual 3. “+++” and “a” should be input in a certain period of time to make the product switch to configuration mode. Like the following sequence. 4.2. AT+Instruction Set Overview User can input AT+Instruction through hyper terminal or other serial debug terminal, also can program the AT+Instruction to script.
  • Page 16: At+Instruction Set

    HF2111 GPRS Serial Server User Manual “=” : The command requires parameters input;   “NULL”: Query the current command parameters setting;  [para-n]: Parameters input for setting if required;  <CR>:”Enter” Key, it’s 0x0a or 0x0d in ASCII; Notes: When input AT+Instruction, “AT+<CMD>” character will display capital letter automatic and other parts will not change as you input.
  • Page 17: At+E

    HF2111 GPRS Serial Server User Manual Instruction Description UARTHEAD Set/Query serial port head data Network Instruction Set SOCKA Set/Query SOCK A network protocol parameters TCPALK Query if SOCK A TCP link already build-up; SOCKANUM Set/Query SOCK A send/receive data bytes. SOCKB Set/Query SOCK B network protocol parameters TCPBLK...
  • Page 18: At+Ver

    HF2111 GPRS Serial Server User Manual +ok<CR><LF><CR><LF> When operate this command, product switch from configuration mode to transparent transmission mode. AT+VER 4.2.2.3.  Function: Query module software version information;  Format:  Query Operation AT+VER<CR> +ok=<ver><CR><LF><CR><LF>  Parameters:  ver: Module software version information; AT+APPVER 4.2.2.4.
  • Page 19: At+H

    HF2111 GPRS Serial Server User Manual AT+H 4.2.2.9.  Function: Help;  Format:  Query Operation AT+H<CR> +ok=<command help><CR><LF><CR><LF>  Parameters:  command help: command introduction; 4.2.2.10. AT+UART  Function: Set/Query serial port parameters. Setting is valid after reset.  Format: ...
  • Page 20: At+Userhead

    HF2111 GPRS Serial Server User Manual AT+UARTTYPE<CR> +ok=<type><CR><LF><CR><LF>  Set Operation AT+UARTTYPE=<type><CR> +ok<CR><LF><CR><LF>  Parameters:  type: UART type  RS485: UART type is RS485, half-duplex.  RS232: UART type is RS232/RS422, full-duplex. 4.2.2.13. AT+USERHEAD  Function: Set/Query adding head data for each serial data. Setting is valid after reset.
  • Page 21: At+Sockc

    HF2111 GPRS Serial Server User Manual  Query Operation AT+SOCKB<CR> +ok=<protocol,port,IP,mode><CR><LF><CR><LF>  Set Operation AT+SOCKB=<protocol,port,IP,mode><CR> +ok<CR><LF><CR><LF>  Parameters:  protocol:  NONE: none setting, clear current setting.    port: protocol port ID: Decimal digit and less than 65535 IP: Server’s IP address or domain name ...
  • Page 22: At+Tcpclk

    HF2111 GPRS Serial Server User Manual  sta.: if module already setup TCP link;  on: TCP link setup;  off: TCP link not setup; 4.2.2.19. AT+TCPCLK  Function: Query if SOCK A TCP link already build-up;  Format: AT+TCPCLK<CR> +ok=<sta><CR><LF><CR><LF>...
  • Page 23: At+Getip

    HF2111 GPRS Serial Server User Manual  XXX. XXX. XXX. XXX: IP address  Waiting GPRS initialization: waiting for initialization 4.2.2.24. AT+GETIP  Function: Set/Query domain name IP address.  Format:  Set Operation AT+GETIP=<domain_name><CR> +ok<CR><LF><CR><LF>  Parameters:  domain_name: domain name. 4.2.2.25.
  • Page 24: At+Cimi

    HF2111 GPRS Serial Server User Manual  Query Operation AT+GCID<CR> +ok=<sim_number><CR><LF><CR><LF>  Parameters:  Sim_number: SIM card CID number. 4.2.2.29. AT+CIMI  Function: Query SIM card IMSI  Format:  Query Operation AT+CIMI<CR> +ok=<imsi_string><CR><LF><CR><LF>  Parameters:  imsi_string: SIM card IMSI 4.2.2.30.
  • Page 25: At+Modbusproto

    HF2111 GPRS Serial Server User Manual 4.2.2.33. AT+MODBUSPROTO  Function: Set/Query Modbus RTU to Modbus TCP parameters. Support SMS config.  Format:  Query Operation AT+MODBUSPROTO<CR> +ok=<status><CR><LF><CR><LF>  Set Operation AT+MODBUSPROTO=<status><CR> +ok=<status><CR><LF><CR><LF>  Parameters:  status: enable/disable Modbus RTU to Modbus TCP ...
  • Page 26: Test Case

    HF2111 GPRS Serial Server User Manual 5. TEST CASE 5.1. Use SOCK A to connect to server Step 1: Refer to chapter 3 to change to AT command mode Step 2: Set the server information and reboot. The following is our test server address, it will feedback with the protocol, ip address, port and the received data.
  • Page 27: Use Sms To Set Parameters

    HF2111 GPRS Serial Server User Manual Note: If encounter any problem, input AT+WANN and AT+TCPALK to check the network status. 5.2. Use SMS to Set Parameters Step1:Send AT+SOCKA, AT+SOCKB or AT+SOCKC as following picture. Step2:if success, will receive【SOCKET 参数设置成功】, if fail will receive 【SOCKET 配置参数有误!】...
  • Page 28: Use Sms To Upgrade Firmware

    HF2111 GPRS Serial Server User Manual 5.3. Use SMS to Upgrade Firmware AT+UPURL=http://node-cn.iotworkshop.com/otadata/file/GPRS/HF2111/LPB S2W_UPGARDE.bin 5.4. Use SMS to Upgrade HIS Script AT+SCRIPTHTTP=http://node-cn.iotworkshop.com/otadata/file/GPRS/SCRIP T/LPB100_llj_1.05_20170704.bin Shanghai High-Flying Electronics Technology Co., Ltd 28/29...
  • Page 29: Appendix A:contact Us

    Website: www.hi-flying.com Service Online:400-189-3108 E-mail: sales@hi-flying.com ------------------------------------------------------------------------ More about Hi-Flying products, please visit:http://www.hi-flying.com/ <END> © Copyright High-Flying, May, 2011 The information disclosed herein is proprietary to High-Flying and is not to be used by or disclosed to unauthorized persons without the written consent of High-Flying. The recipient of this document shall respect the security status of the information.

Table of Contents