Shanghai High-Flying Electronics HF-SH01 User Manual

Shanghai High-Flying Electronics HF-SH01 User Manual

Low power wifi module
Table of Contents

Advertisement

Low Power WiFi Module User Manual
Low Power WiFi Module User Manual
Overview of Characteristic
Support IEEE802.11b/g/n Wireless Standards
Based on Self-developed High Cost Effective MCU
Ultra-Low-Power for Battery Applications with Excellent Power Save Scheme
Support UART/SPI/PWM/GPIO Data Communication Interface
Support Work As STA/AP/AP+STA Mode
Support Smart Link Function (APP program provide)
Support Wireless and Remote Firmware Upgrade Function
Support WPS Function
Support Multi-TCP Link (5 Channel) Apllication
Support Soft Key Power Control
Support Internal/External Antenna Option
Single +3.3V Power Supply
Smallest Size: 23.1mm x 32.8mm x2.7mm
FCC/CE Certificated
Shanghai High-Flying Electronics Technology Co., Ltd
V 1.3
www.hi-flying.com
- 1 -

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the HF-SH01 and is the answer not in the manual?

Questions and answers

Summary of Contents for Shanghai High-Flying Electronics HF-SH01

  • Page 1 Support Multi-TCP Link (5 Channel) Apllication  Support Soft Key Power Control Support Internal/External Antenna Option   Single +3.3V Power Supply  Smallest Size: 23.1mm x 32.8mm x2.7mm  FCC/CE Certificated Shanghai High-Flying Electronics Technology Co., Ltd www.hi-flying.com - 1 -...
  • Page 2: Table Of Contents

    OPERATION GUIDELINE .....................28 3.1. Configuration via Web Accessing..................28 3.1.1. Open Web Management Interface................28 3.1.2. System Page .......................28 3.1.3. Work Mode Page ......................29 3.1.4. STA Setting Page......................29 3.1.5. AP Setting Page......................30 Shanghai High-Flying Electronics Technology Co., Ltd www.hi-flying.com - 2 -...
  • Page 3 4.2.2.16. AT+ UARTF ......................45 4.2.2.17. AT+ UARTFT ......................45 4.2.2.18. AT+ UARTFL ......................45 4.2.2.19. AT+ UARTTE......................45 4.2.2.20. AT+ SEND ......................46 4.2.2.21. AT+ RECV ......................46 4.2.2.22. AT+ PING ......................46 4.2.2.23. AT+NETP ......................46 Shanghai High-Flying Electronics Technology Co., Ltd www.hi-flying.com - 3 -...
  • Page 4 4.2.2.55. AT+LOGSW......................57 4.2.2.56. AT+LOGPORT......................57 4.2.2.57. AT+UPST ......................57 4.2.2.58. AT+WEBU ......................57 4.2.2.59. AT+MSLP ......................58 4.2.2.60. AT+NTPRF ......................58 4.2.2.61. AT+NTPEN......................58 4.2.2.62. AT+NTPTM......................59 4.2.2.63. AT+WRMID......................59 4.2.2.64. AT+RLDEN......................59 4.2.2.65. AT+ASWD ......................59 4.2.2.66. AT+MDCH ......................60 Shanghai High-Flying Electronics Technology Co., Ltd www.hi-flying.com - 4 -...
  • Page 5 C.1. HTTP AT command......................70 C.1.1. AT+ HTTPURL......................70 C.1.2. AT+ HTTPTP .......................70 C.1.3. AT+ HTTPPH.......................70 C.1.4. AT+ HTTPCN.......................71 C.1.5. AT+ HTTPUA.......................71 C.1.6. AT+ HTTPDT .......................71 C.2. HTTP Example ........................71 APPENDIX D: CONTACT INFORMATION ..................73 Shanghai High-Flying Electronics Technology Co., Ltd www.hi-flying.com - 5 -...
  • Page 6: List Of Figures

    HF-LPB100 Default UART Port Parameters ..............37 Figure 33. Switch to Configuration Mode..................37 Figure 34. ”AT+H” Instruction for Help...................38 Figure 35. Reflow Soldering Profile ....................61 Figure 36. Shipping Information ....................62 Shanghai High-Flying Electronics Technology Co., Ltd www.hi-flying.com - 6 -...
  • Page 7: List Of Tables

    HF-LPB100 GPIO/PWM Pin Mapping Table ..............25 Table 8 HF-LPB100 Web Access Default Setting ................28 Table 9 Error Code Describtion .....................39 Table 10 AT+ Instruction Set List....................39 Table 11 Reflow Soldering Parameter ..................... 61 Shanghai High-Flying Electronics Technology Co., Ltd www.hi-flying.com - 7 -...
  • Page 8: History

    Ed. V1.2 10-10-2013 Update AT command. Update PWM/GPIO function. Add HTTP protocol demo. Add auto-frame function. Ed. V1.3 10-18-2013 Update module view, add nReload Pin wireless upgrade and config description, add nLink Pin wireless upgrade indication description. Shanghai High-Flying Electronics Technology Co., Ltd www.hi-flying.com - 8 -...
  • Page 9: Product Overview

    Compact surface mount module 23.1mm x 32.8mm x 2.7mm.   Full IPv4 and IPv6 stack.  Low power RTOS and drivers.  FCC Certified. RoHS and CE compliant.   Single supply – 3.3V operation. Shanghai High-Flying Electronics Technology Co., Ltd www.hi-flying.com - 9 -...
  • Page 10: Device Paremeters

    User Configuration Smart Link APP tools 1.1.3 Key Application  Remote equipment monitoring Asset tracking and telemetry   Security  Industrial sensors and controls  Home automation Medical devices  Shanghai High-Flying Electronics Technology Co., Ltd www.hi-flying.com - 10 -...
  • Page 11: Hardware Introduction

    Table 2 HF-LPB100 Pins Definition Describtion Net Name Signal Comments Type 1,17,32,48 Ground Power Debug Pin SWCLK I, PD Debug functional pin, No connect if not use. Debug Pin I/O,PU Shanghai High-Flying Electronics Technology Co., Ltd www.hi-flying.com - 11 -...
  • Page 12 Detailed functions see <Notes> Module Boot Up nReady “0” – Boot-up OK; Indicator “1” – Boot-up No OK; No connect if not use.; Multi-Function nReload I,PU Detailed functions see <Notes> No connect Shanghai High-Flying Electronics Technology Co., Ltd www.hi-flying.com - 12 -...
  • Page 13: Electrical Characteristics

    Unit Operating Supply voltage Supply current, peak Continuous Tx Supply current, IEEE PS DTIM=100ms Output high voltage Sourcing 6mA Output low voltage Sinking 6mA Input high voltage Input low voltage Shanghai High-Flying Electronics Technology Co., Ltd www.hi-flying.com - 13 -...
  • Page 14: Mechanical Size

     For customer PCB, RED color region (8.3x18.4mm) can’t put componet or paste GND net;  Antenna must away from metal or high components at least 10mm; Shanghai High-Flying Electronics Technology Co., Ltd www.hi-flying.com - 14 -...
  • Page 15: External Antenna

    The evaluation kit shown as below, user can connect to HF-LPB100 module with the RS- 232 UART, RS485, USB (Internal UART-USB convetor) or Wireless port to configure the parameters, manage the module or do the some functional tests. Shanghai High-Flying Electronics Technology Co., Ltd www.hi-flying.com - 15 -...
  • Page 16: Figure 6. Hf-Lpb100 Evaluation Kit

    HF-LPB100 GPIO function extend interface EXT PORT connector JMP1,JMP2 Reserved, No Jumper required. JMP3 4Pin USB or RS232 Jumper. Left jump select USB. JMP6 3Pin RS485 Jumper. No jump selects RS232. Shanghai High-Flying Electronics Technology Co., Ltd www.hi-flying.com - 16 -...
  • Page 17: Order Information

    Sleep_RQ module in standby mode. 1.2.7. Order Information Base on customer detailed requirement, HF-LPB100 series modules provide different variants and physical type for detailed application. Figure 7. HF-LPB100 Order Information Shanghai High-Flying Electronics Technology Co., Ltd www.hi-flying.com - 17 -...
  • Page 18: Typical Application

    The module will output “0” after normal boot up. This signal used to judge if module finish boot up and ready for application or working at normal mode. If nReady function not required, can leave this pin open. nReload- Module restore to factory default configuration.Input. Logics “0” effective. Shanghai High-Flying Electronics Technology Co., Ltd www.hi-flying.com - 18 -...
  • Page 19 This pin is used to indicate that the module is asleep (Module output “0”) or awake (Module output “1”) status. If user doesn't use pin sleep function, can leave this pin open. UART0_TXD/RXD- UART port data transmit and receive signal. Shanghai High-Flying Electronics Technology Co., Ltd www.hi-flying.com - 19 -...
  • Page 20: Functional Description

    HF-LPB100 Basic Wireless Network Structure 2.1.2. Wireless Network Based On AP+STA HF-LPB100 module support AP+STA network mode, means module support one AP interface and one STA interface at the same time, as following figure, Shanghai High-Flying Electronics Technology Co., Ltd www.hi-flying.com - 20 -...
  • Page 21: Work Mode : Transparent Transmission Mode

    The parameters which need to configure include:  Wireless Network Parameters  Wireless Network Name(SSID) Security Mode   Encryption Key Shanghai High-Flying Electronics Technology Co., Ltd www.hi-flying.com - 21 -...
  • Page 22: Uart Frame Scheme

    Detailed UART auto-frame function can refer to AT+ instruction set “UARTF/UARTFT/UARTFL” introduction. Shanghai High-Flying Electronics Technology Co., Ltd www.hi-flying.com - 22 -...
  • Page 23: Encryption

    If user doesn't use pin sleep function, can leave this pin open. Sleep _RQ Pin Wake Up Option allows an external microcontroller to de-assert “Reset” pin to low “0” to reset the module. Shanghai High-Flying Electronics Technology Co., Ltd www.hi-flying.com - 23 -...
  • Page 24: Parameters Configuration

    AT+UPAUTO command to start remote upgrade. After excuate this command, the module will firstly download configuration file (“config.txt”), then download the upgrade file base on the URL,WEB,CFG address listed in the configure file. It include the functions of AT+UPST,AT+UPWEB,AT+UPCFG. Shanghai High-Flying Electronics Technology Co., Ltd www.hi-flying.com - 24 -...
  • Page 25: Gpio/Pwm Function

    PWM n GET, Read PWMn Channel set, Response +ok=frequency duty or PWM NOK  PWM n SET, Save PWMn Channel set, Response PWM OK or PWM NOK Notes: Please refer to Appendix B for details to use GPIO/PWM. Shanghai High-Flying Electronics Technology Co., Ltd www.hi-flying.com - 25 -...
  • Page 26: Socket B Function

    Downstream: All data from serial port (user) will be duplicate and broadcast to every TCP connection or client. Detailed multi-TCP link data transmition structure as following figure: Shanghai High-Flying Electronics Technology Co., Ltd www.hi-flying.com - 26 -...
  • Page 27: Figure 12. Multi-Tcp Link Data Transmition Structure

    Low Power WiFi Module User Manual Figure 12. Multi-TCP Link Data Transmition Structure Shanghai High-Flying Electronics Technology Co., Ltd www.hi-flying.com - 27 -...
  • Page 28: Operation Guideline

    Setting”, “Account”, “Upgrade SW”, “Restart”, “Restore”. 3.1.2. System Page At this page, user can check current device’s important information and status such as: device ID (MID), software version, wireless work mode and related Wi-Fi parameters. Shanghai High-Flying Electronics Technology Co., Ltd www.hi-flying.com - 28 -...
  • Page 29: Work Mode Page

    User can push “Scan” button to auto search Wi-Fi AP router nearby, and can connect with associate AP through some settings. Please note the encryption information input here must be fully same with Wi-Fi AP router’s configration, and then it can link with AP correctly. Shanghai High-Flying Electronics Technology Co., Ltd www.hi-flying.com - 29 -...
  • Page 30: Ap Setting Page

    When user select module works at AP and AP+STA mode, then need setting this page and provide wireless and network parameters. Most of the system support DHCP to achieve IP address, so we suggest to “Enable” DHCP server in most applications. Figure 17. AP Setting Page Shanghai High-Flying Electronics Technology Co., Ltd www.hi-flying.com - 30 -...
  • Page 31: Other Setting Page

    TCP related protocal parameters. Figure 18. Other Setting Page 3.1.7. Account Management Page This page set web server’s user name and password. Figure 19. Account Page Shanghai High-Flying Electronics Technology Co., Ltd www.hi-flying.com - 31 -...
  • Page 32: Upgrade Software Page

    Most of the settting and configuration can only effective after system restart. User shall restart after finish all setting. Figure 21. Restart Page 3.1.10. Restore Page After module restore factory default setting, all user configuration profile will lose. Shanghai High-Flying Electronics Technology Co., Ltd www.hi-flying.com - 32 -...
  • Page 33: Hf-Lpb100 Usage Introduction

    Figure 23. STA Interface Debug Connection  Use HF-LPB100 AP interface. Debug PC2 connect to HF-LPB100 through wireless connection, another PC1 (or user device) connect to HF-LPB100 module with serial port. Shanghai High-Flying Electronics Technology Co., Ltd www.hi-flying.com - 33 -...
  • Page 34: Default Parameter Setting

    PC2 open “TCPUDPDbg” program, and create a new connection. If HF-LPB100 configured as Server mode, “TCPUDPDbg” Tools shall create “Client “mode connection. Or otherwise, create a “Server” mode connection. Figure 26. “TCPUDPDbg” Tools Create Connection Shanghai High-Flying Electronics Technology Co., Ltd www.hi-flying.com - 34 -...
  • Page 35: Typical Application Examples

    “TCPUDPDbg” program, or in reverse. You can see data in receiver side will keep same as in sender side. 3.3. Typical Application Examples 3.3.1. Wireless Control Application Figure 29. Wireless Control Application Shanghai High-Flying Electronics Technology Co., Ltd www.hi-flying.com - 35 -...
  • Page 36: Remote Management Application

    For this transparent serial port application, two HF-LPB100 modules connect as below figures to build up a transparent serial port connection. HF-LPB100 works as Ad-Hoc mode to connect each other. Figure 31. Transparent Serial Port Application Shanghai High-Flying Electronics Technology Co., Ltd www.hi-flying.com - 36 -...
  • Page 37: At+Instruction Introduction

    “a”, and not display input information”+++” as above UART display. 2. Any other input or wrong step to UART port will cause the module still works as original mode (transparent transmission). Shanghai High-Flying Electronics Technology Co., Ltd www.hi-flying.com - 37 -...
  • Page 38: At+ Instruction Set Overview

    “=” : 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; Shanghai High-Flying Electronics Technology Co., Ltd www.hi-flying.com - 38 -...
  • Page 39: At+ Instruction Set

    Query module software version information RELD Restore to factory default setting FCLR Erase factory setting Re-start module Help Configure Parameters Instruction Set CFGRD Batch Read User Configure Parameters CFGWR Batch Write Configure Parameters Shanghai High-Flying Electronics Technology Co., Ltd www.hi-flying.com - 39 -...
  • Page 40 UPURL Set/Query remote upgrade URL address UPFILE Set/Query remote upgrade configure file name UPWEB Start remote web upgrade UPCFG Start remote config file upgrade UPNVR Start remote NVRAM data upgrade Shanghai High-Flying Electronics Technology Co., Ltd www.hi-flying.com - 40 -...
  • Page 41: At+E

    Set Operation AT+ WMODE=<mode><CR> +ok<CR>< LF ><CR>< LF >  Parameters:  mode:Wi-Fi work mode    APSTA 4.2.2.3. AT+ENTM  Function: Set module into transparent transmition mode;  Format: Shanghai High-Flying Electronics Technology Co., Ltd www.hi-flying.com - 41 -...
  • Page 42: At+Tmode

    Query Operation AT+VER<CR> +ok=<ver><CR>< LF ><CR>< LF >  Parameters:  ver: Module software version information; 4.2.2.7. AT+RELD  Function: module restore to factory default setting;  Format:  Set Operation Shanghai High-Flying Electronics Technology Co., Ltd www.hi-flying.com - 42 -...
  • Page 43: At+Fclr

    Function: Batch Write User Configure Parameters;  Format: Set Operation  AT+CFGWR=<config><CR> +ok<CR>< LF ><CR>< LF >  Parameters: config: the first two bytes means the length of configuration parameters;  Shanghai High-Flying Electronics Technology Co., Ltd www.hi-flying.com - 43 -...
  • Page 44: At+Cfgfr

     300,600,1200,1800,2400,4800,9600,19200,38400,57600,115200,230400, 380400,460800. data_bits:    stop_bits:   parity:  NONE  EVEN   Flowctrl: (CTSRTS)  NFC: No hardware flow control  FC: hardware flow control Shanghai High-Flying Electronics Technology Co., Ltd www.hi-flying.com - 44 -...
  • Page 45: At+ Uartf

     len: Range 8 ~1000; Unit: Byte. Auto-frame trigger length; 4.2.2.19. AT+ UARTTE  Function: Set/Query UART free-frame trigger time between two bytes;  Format:  Query Operation AT+ UARTTE<CR> Shanghai High-Flying Electronics Technology Co., Ltd www.hi-flying.com - 45 -...
  • Page 46: At+ Send

    Set Operation AT+ PING=<IP_address ><CR> +ok=<sta><CR>< LF ><CR>< LF >  Parameters:  sta: feedback result  Success  Timeout  Unknown host 4.2.2.23. AT+NETP  Function: Set/Query network protocol parameters; Shanghai High-Flying Electronics Technology Co., Ltd www.hi-flying.com - 46 -...
  • Page 47: At+ Maxsk

    TCP server , it accepts max 5 TCP client connect to it. 4.2.2.25. AT+ TCPLK Function: Query if TCP link already build-up;   Format: AT+TCPLK<CR> +ok=<sta><CR>< LF ><CR>< LF >  Parameters:  sta.: if module already setup TCP link; Shanghai High-Flying Electronics Technology Co., Ltd www.hi-flying.com - 47 -...
  • Page 48: At+ Tcpto

    “On” means open TCP link. After finish this command, module re- connect TCP server right away. 4.2.2.28. AT+SOCKB  Function: Set/Query SOCKB parameters  Format:  Query Operation AT+SOCKB<CR> +ok=<protocol,port,IP><CR>< LF ><CR>< LF >  Set Operation AT+SOCKB=<protocol,port,IP><CR> Shanghai High-Flying Electronics Technology Co., Ltd www.hi-flying.com - 48 -...
  • Page 49: At+Tcpdisb

    Default:300s The module will not connect TCP_B after TCP timeout. The module will make connection after another “TCPDIS” command. 4.2.2.31. AT+TCPLKB  Function:Query TCP_B connection status  Format: AT+ TCPLKB<CR> Shanghai High-Flying Electronics Technology Co., Ltd www.hi-flying.com - 49 -...
  • Page 50: At+Sndb

    AT+ WSSSID=<ap’s ssid ><CR> +ok<CR>< LF ><CR>< LF >  Parameters:  ap’s ssid: AP’s SSID (Within 32 character); 4.2.2.35. AT+WSKEY  Function: Set/Query STA security parameters;  Format:  Query Operation AT+WSKEY<CR> Shanghai High-Flying Electronics Technology Co., Ltd www.hi-flying.com - 50 -...
  • Page 51: At+ Wann

    4.2.2.37. AT+ WSMAC  Function: Set/Query STA MAC address parameters;  Format: Query Operation  AT+WSMAC<CR> +ok=<mac_address><CR>< LF ><CR>< LF >  Set Operation AT+ WSMAC=<code,mac_address><CR> +ok<CR>< LF ><CR>< LF > Shanghai High-Flying Electronics Technology Co., Ltd www.hi-flying.com - 51 -...
  • Page 52: At+ Wslk

    AP searched; 4.2.2.41. AT+ WSDNS  Function: Set/Query STA static DNS server address;  Format:  Query Operation AT+WSDNS<CR> +ok=<address><CR>< LF ><CR>< LF >  Set Operation AT+ WSDNS =<address><CR> Shanghai High-Flying Electronics Technology Co., Ltd www.hi-flying.com - 52 -...
  • Page 53: At+ Lann

    Wi-Fi channel selection: AUTO   CH1~CH11; (Default CH1) 4.2.2.44. AT+WAKEY  Function: Set/Query AP Wi-Fi secruity parameters;  Format:  Query Operation AT+WAKEY<CR> +ok=<auth,encry,key><CR>< LF ><CR>< LF >  Set Operation Shanghai High-Flying Electronics Technology Co., Ltd www.hi-flying.com - 53 -...
  • Page 54: At+Wamac

    Server Open;   off:DHCP Server Close: 4.2.2.47. AT+WADMN  Function: Set/Query AP webpage domain name;  Format:  Query Operation AT+WADMN<CR> +ok=<domain_name><CR>< LF ><CR>< LF >  Set Operation Shanghai High-Flying Electronics Technology Co., Ltd www.hi-flying.com - 54 -...
  • Page 55: At+Plang

    Function: Set/ Query remote upgrade configure file name;  Format:  Query Operation AT+ UPFILE<CR> +ok=<filename> <CR>< LF ><CR>< LF >  Set Operation AT+ UPFILE=<filename> <CR> +ok<CR>< LF ><CR>< LF >  Parameters: Shanghai High-Flying Electronics Technology Co., Ltd www.hi-flying.com - 55 -...
  • Page 56: At+Upweb

     Function: Remote Application, Webpage, factory setting upgrade  Format:  Query Operation AT+UPAUTO<CR> +ok=<log><CR>< LF ><CR>< LF >  Parameters:  log: Some status print log from remote upgrade. Shanghai High-Flying Electronics Technology Co., Ltd www.hi-flying.com - 56 -...
  • Page 57: At+Logsw

    Note: After execute this command, the HF-LPB100 will automatic start upgrade base on the setting of UPURL, UPFILE command contents; 4.2.2.58. AT+WEBU  Function: Set/ Query webpage user name and password;  Format: Shanghai High-Flying Electronics Technology Co., Ltd www.hi-flying.com - 57 -...
  • Page 58: At+Mslp

    10 minutes for each step, set 0 means no time calibration automatically. 4.2.2.61. AT+NTPEN  Function: Enable/Disable time calibration function.  Format:  Query Operation AT+ NTPEN<CR> Shanghai High-Flying Electronics Technology Co., Ltd www.hi-flying.com - 58 -...
  • Page 59: At+Ntptm

    Parameters:  status: The status of module’s GPIO45(nReload) function  on: GPIO45 function (nReload) is enabled.  off: GPIO45 function is disabled 4.2.2.65. AT+ASWD  Function: Set/Query WiFi Configuration Password; Shanghai High-Flying Electronics Technology Co., Ltd www.hi-flying.com - 59 -...
  • Page 60: At+Mdch

    [Setting Value]. The default is 0, it can be sent from 0 ~ 24. If set to 24, the  moudule transmit power will be at a minium of 4dBm. Reboot to make this setting change valid. It will not restore to default if reload the module. Shanghai High-Flying Electronics Technology Co., Ltd www.hi-flying.com - 60 -...
  • Page 61: Package Information

    Case 2: Wifi module mounted on bottom side, follow normal bake rule before process Note: Window time means from last bake end to next reflow start that has 168 hours space. Shanghai High-Flying Electronics Technology Co., Ltd www.hi-flying.com - 61 -...
  • Page 62: Shipping Information

    1 tray = 5*20pcs = 100 pcs 1 box = 2 trays = 2 * 100 pcs = 200pcs 1 carton = 4 boxes = 4 * 200 pcs = 800pcs Shanghai High-Flying Electronics Technology Co., Ltd www.hi-flying.com - 62 -...
  • Page 63: Appendix A: Hw Reference Design

    Low Power WiFi Module User Manual APPENDIX A: HW REFERENCE DESIGN Detailed HF-LPB100 Evluation Board design source files, pls access High-Flying web download page or contact with High-Flying technical support people to acquire. Shanghai High-Flying Electronics Technology Co., Ltd www.hi-flying.com - 63 -...
  • Page 64: Appendix B: Control Gpio/Pwm Function With Network Commands

    GPIO <channel> GET  Function: Query GPIO Channel value  Parameters:  channel: GPIO Channel number,it can be 11、12、15、18、20、23(GPIO Pin number)  Return Data:  +ok=<value>  value:GPIO Channel value Shanghai High-Flying Electronics Technology Co., Ltd www.hi-flying.com - 64 -...
  • Page 65 Channel number, it can be 11、12、18、20(GPIO Pin number) frequency:PWM Channel frequency, it can be 500~60000   duty:PWM Channel duty, it can be 0~100.  Return Data:  PWM OK: Command successful PWM NOK: Command failed  Shanghai High-Flying Electronics Technology Co., Ltd www.hi-flying.com - 65 -...
  • Page 66 Parameters:  channel: PWM Channel number,it can be 11、12、18、20(GPIO Pin number)  Return Data:  +ok=<frequency duty>  frequency:PWM Channel frequency  duty:PWM Channel duty  PWM NOK: Command failed Shanghai High-Flying Electronics Technology Co., Ltd www.hi-flying.com - 66 -...
  • Page 67: Hexadecimal Network Command

    GPIO Channel number, it can be 01、02(GPIO15、GPIO23)  Return Data:【83 <channel value>】  channel: GPIO Channel number, it can be 01、02(GPIO15、GPIO23)  value: GPIO Channel value, 0 or 1 Shanghai High-Flying Electronics Technology Co., Ltd www.hi-flying.com - 67 -...
  • Page 68 B.2.5 Read All PWM Channel Duty  Send Data:【20】:  Return Data:【a0 <value1 value2 value3 value4>】  value1: Duty of PWM Channel 0  value2: Duty of PWM Channel 1 Shanghai High-Flying Electronics Technology Co., Ltd www.hi-flying.com - 68 -...
  • Page 69 B.2.10 Read Resources of module  Send Data:【7e】:  Return Data:【fe <value1 value2 value3>】 value1: Module’s GPIO ouput pin number .   value2:Module’s GPIO input pin number  value3:Module’s PWM pin number Shanghai High-Flying Electronics Technology Co., Ltd www.hi-flying.com - 69 -...
  • Page 70: Appendix C: Http Protocol Transfer

    Type:GET(default) or POST。 C.1.3. AT+ HTTPPH  Function:Set/Query HTTP protocol header path.  Format:  Query Operation AT+HTTPPH<CR> +ok=<Path><CR>< LF ><CR>< LF >  Set Operation AT+HTTPPH=<Path><CR> +ok<CR>< LF ><CR>< LF > Shanghai High-Flying Electronics Technology Co., Ltd www.hi-flying.com - 70 -...
  • Page 71: At+ Httpcn

    HTTP parameter settings are as follows: AT+HTTPURL=192.168.1.1,80 Set HTTP server address and port AT+HTTPTP=POST Set HTTP request type AT+HTTPPH=/abcd Set HTTP protocol header path AT+HTTPCN= keep-alive Set HTTP Connection area Shanghai High-Flying Electronics Technology Co., Ltd www.hi-flying.com - 71 -...
  • Page 72 The data received from HTTP server will be output to serial port and end with “+ok”. If the module hasn’t received data from HTTP server for 5 second, it will cut the TCP link with HTTP server. Shanghai High-Flying Electronics Technology Co., Ltd www.hi-flying.com - 72 -...
  • Page 73: Appendix D: Contact Information

    The master of this document is stored on an electronic database and is “write-protected” and may be altered only by authorized persons at High-Flying. Viewing of the master document electronically on electronic database ensures access to the current issue. Any other copies must be regarded as uncontrolled copies. Shanghai High-Flying Electronics Technology Co., Ltd www.hi-flying.com - 73 -...
  • Page 74 FCC STATEMENT 1. This device complies with Part 15 of the FCC Rules. Operation is subject to the following two conditions: (1) This device may not cause harmful interference. (2) This device must accept any interference received, including interference that may cause undesired operation.

Table of Contents