RAE Systems by Honeywell User Guide for RMWIFI Document Information Info Content Author(s) Wu Wei Revision 1.0 Document Status Draft Date Oct. 20 2014 Distribution Internal Use Only Approvals Name Date Signature James Liu Zhao Pengjun Copyright © 2015 Honeywell Analytics, All rights reserved. Honeywell Confidential and Proprietary Revision –1.
RAE Systems by Honeywell Release Histroy Rev. Date Author Descripition 1.0 Oct. 20 2014 Wu Wei Original Copyright © 2015 Honeywell Analytics, All rights reserved. Honeywell Confidential and Proprietary Revision –1.
RAE Systems by Honeywell Contents 1. 2. 3. 4. 5. 6. 7. 8. Section1: ............................................................................................................................................... 4 1.1 Summary: ................................................................................................................................ 4 1.2 Key Features:..........................................................................................................................
RAE Systems by Honeywell 1. Section1: 1.1 Summary: RMWIFI-M3 based on RMWIFI-M5 module provides a quick, easy and cost effective way to add Wi-Fi capabilities for RAE Systems products, such as AreaRAE2, MutlRAE2, and RAE-Hub etc. The module combined 802.11 MAC, security, PHY functions, FLASH SRAM, and external antenna connectors, provides a Wi-Fi radio for end customers. It also integrates TCP/IP stack and other related network stacks such as DHCP client, DHCP server and web server etc.
RAE Systems by Honeywell system-on-chip. The GS1011 have fully integrated RF Transceiver, low power PA and application processor. Both TX and RX chain in the module incorporate internal power control loops. RMWIFI-M3 carries onboard single supply monitor for 1.8V voltage supply with optional module controlled external regulator enable control pin (DC_DC_CNTL). 2.
RAE Systems by Honeywell 33 SPI_MOSI 35 37 39 2, 4 6, 8 10 SPI_CLK SPI_CS VCC GND NA UART_RTS 12 UART_CTS 14 16 18 20, 22, 24 26 28 30, 32, 34, 36, 38 40 LED1 LED2 WIFIPRO(1) NA VCC ADC NA VCC line Slave SPI master out slave in line Slave SPI clock line Slave SPI chip select line Digital voltage supply Ground I/O I I RTS input (Request To Send) for UART hardware flow control CTS output (Clear To Send) for UART hardware flow control LED indicate control PIN LED indicate control PIN Enable/Disable
RAE Systems by Honeywell Item Condition Min Nom Receive RX 108 mA Transmit Tx power setting: P=0 Single carrier 145 mA 200 uA Sleep 3.3 Unit I/O DC Specification: Parameter Symbol Input Low Voltage VIL Input High Voltage VIH Output Low Voltage VOL Output High Voltage VOH 3.4 Max Min Max 0.25*VCC 0.8*VCC V V 0.4 0.8*VCC Unit V V Mechanical Drawing: Unit: mm Copyright © 2015 Honeywell Analytics, All rights reserved. Honeywell Confidential and Proprietary Revision –1.
RAE Systems by Honeywell 4. How to program RMWIFI: 4.1 Hardware interface setup: Configure the back side of the EVB as following picture: Configure the front side of EVB as following picture: Copyright © 2015 Honeywell Analytics, All rights reserved. Honeywell Confidential and Proprietary Revision –1.
RAE Systems by Honeywell 4.2 Program software interface introduction: Programming RMWIFI modem needs three *.bin files which including WLAN bin, APP bin1 and APP bin2, please see following picture for detail: 4.3 Running application firmware After upgrading RMWIFI modem firmware successfully, configure the back side of the EVB as following picture: Copyright © 2015 Honeywell Analytics, All rights reserved. Honeywell Confidential and Proprietary Revision –1.
RAE Systems by Honeywell Then power-off and power on the EVB, RMWIFI modem application firmware will run and output information as following picture via EVB’s RS232 interface: 5. Initialization: 5.1 Get module type: Host command: 7B 41 00 06 74 2E 00 FF FF 7D RMWIFI response: 7B 41 00 07 75 2E 00 00 3F F3 7D Example communication sequence: Copyright © 2015 Honeywell Analytics, All rights reserved. Honeywell Confidential and Proprietary Revision –1.
RAE Systems by Honeywell Note: In order to make it easy when using COMM tools to communicate with RMWIFI, the CRC field of host command is replaced by FF FF. 5.2 Get MAC address: Host command: 7B 41 00 06 74 08 00 FF FF 7D RMWIFI response: 7B 41 00 0C 75 08 00 00 12 9F 00 07 11 60 7F 7D Example communication sequence: Copyright © 2015 Honeywell Analytics, All rights reserved. Honeywell Confidential and Proprietary Revision –1.
RAE Systems by Honeywell 6. Scan and associate with AP: 6.1 Scan network: 1. Send scan command Host command: 7B 41 00 0A 74 0F 00 FF FF 00 00 FF FF 7D RMWIFI response: 7B 41 00 0A 75 0F 00 00 00 04 4C 58 3F 7D Example communication sequence: Copyright © 2015 Honeywell Analytics, All rights reserved. Honeywell Confidential and Proprietary Revision –1.
RAE Systems by Honeywell 2. Get scan status and AP number found: Host command: 7B 41 00 06 74 10 00 FF FF 7D RMWIFI response: 7B 41 00 08 75 10 00 00 01 29 0D 7D Example communication sequence: Copyright © 2015 Honeywell Analytics, All rights reserved. Honeywell Confidential and Proprietary Revision –1.
RAE Systems by Honeywell 3. Get scanned AP information according to AP index: Host command: 7B 41 00 07 74 11 00 00 FF FF 7D RMWIFI response: 7B 41 00 44 75 11 00 E0 06 E6 4A CF 11 A6 0B 07 68 61 70 70 79 6C 61 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 57 50 41 32 2D 50 45 52 53 4F 4E 41 4C 00 00 00 00 00 00 00 00 B8 7D Example communication sequence: Copyright © 2015 Honeywell Analytics, All rights reserved. Honeywell Confidential and Proprietary Revision –1.
RAE Systems by Honeywell 6.2 Set password: Example: If one AP uses WPA/WPA2, and the password is rec-wireless1 Host command: 7B 41 00 15 74 12 00 03 00 72 65 63 2D 77 69 72 65 6C 65 73 73 31 FF FF 7D RMWIFI response: 7B 41 00 06 75 12 00 73 96 7D Example communication sequence: Copyright © 2015 Honeywell Analytics, All rights reserved. Honeywell Confidential and Proprietary Revision –1.
RAE Systems by Honeywell 6.3 Associate with AP: Example: The AP SSID that the module wants to associate with is gainspandemo. Host command: 7B 41 00 12 74 13 00 67 61 69 6E 73 70 61 6E 64 65 6D 6F FF FF 7D RMWIFI response: 7B 41 00 07 75 13 00 02 17 F0 7D 7B 41 00 07 75 13 00 00 18 70 7D The Wi-Fi module will response two commands, first command responses immediately after it receives the associate command and indicates it’s doing.
RAE Systems by Honeywell for seconds and indicates whether it associates with AP successfully. Check the red byte of the response command, 0x00 indicates that it has associated with AP successfully. Example communication sequence: 7. How to communicate using TCP: 7.1 Connect to TCP server: 1. Use the socket test tool, create a TCP server as following picture, the TCP listen port is 9723: Copyright © 2015 Honeywell Analytics, All rights reserved. Honeywell Confidential and Proprietary Revision –1.
RAE Systems by Honeywell 2. Connect to the TCP server: Host command: 7B 41 00 0c 74 1A 00 c0 a8 01 86 25 fb ff ff 7d RMWIFI response: 7B 41 00 07 75 1A 00 00 AC 70 7D Example communication sequence: Copyright © 2015 Honeywell Analytics, All rights reserved. Honeywell Confidential and Proprietary Revision –1.
RAE Systems by Honeywell The socket test tools will inform that one client has connected to it: Copyright © 2015 Honeywell Analytics, All rights reserved. Honeywell Confidential and Proprietary Revision –1.
RAE Systems by Honeywell 7.2 Receive data packet from server: From the socket test tools side, send data packet to RMWIFI as following picture: The RMWIFI will receive the data packet from TCP server: Copyright © 2015 Honeywell Analytics, All rights reserved. Honeywell Confidential and Proprietary Revision –1.
RAE Systems by Honeywell 7.3 Send data packet to server: Send the same data packet back to TCP server: Host command: 7B 41 00 26 74 20 00 00 00 48 65 6C 6C 6F 2C 20 57 6F 72 6C 64 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 FF FF 7D RMWIFI response: 7B 41 00 07 75 20 00 00 E4 73 7D Example communication sequence: The socket test tool side will receive the data packet as following picture which is the same data packet as it sends out: Copyright © 2015 Honeywell Analytics, All rights reserved.
RAE Systems by Honeywell Note: During doing the test, please make sure the host PC running the socket test tools connects to the same AP as Wi-Fi module associate with. Copyright © 2015 Honeywell Analytics, All rights reserved. Honeywell Confidential and Proprietary Revision –1.
RAE Systems by Honeywell 8. How to communication using UDP: Firstly, use socket tool to create UDP socket which listen on local port 4023, remote communication node IP: 192.168.1.99, port: 6000, see following picture for detail: 8.1 Receive data packet from UDP server: 1. In order to receive data packet from remote using UDP protocol, communication via UDP, RMWIFI will need to listen on local port: 6000.
RAE Systems by Honeywell 2. Send data packet to RMWIFI as following: RMWIFI will receive data packet: Copyright © 2015 Honeywell Analytics, All rights reserved. Honeywell Confidential and Proprietary Revision –1.
RAE Systems by Honeywell 7B 41 00 2B 75 21 00 00 C0 A8 01 86 0F B7 48 65 6C 6C 6F 2C 20 57 6F 72 6C 64 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 A1 37 7D 8.2 Send data packet to remote using UDP: 1. RMWIFI will need to create virtual connection to get a connection ID. Host command: 7B 41 00 0C 74 1C 00 C0 A8 01 86 0F B7 FF FF 7D RMWIFI response: 7B 41 00 07 75 1C 00 00 D4 70 7D Example communication sequence: Copyright © 2015 Honeywell Analytics, All rights reserved.
RAE Systems by Honeywell 2. Send data packet” Hello, World!!!!!!!!!!!!!!!!!!” to remote: Host command: 7B 41 00 2C 74 20 00 00 01 C0 A8 01 86 0F B7 48 65 6C 6C 6F 2C 20 57 6F 72 6C 64 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 ff ff 7D RMWIFI response: 7B 41 00 07 75 20 00 00 E4 73 7D Example communication sequence: Copyright © 2015 Honeywell Analytics, All rights reserved. Honeywell Confidential and Proprietary Revision –1.
RAE Systems by Honeywell Socket test tool will receive the data packet: Copyright © 2015 Honeywell Analytics, All rights reserved. Honeywell Confidential and Proprietary Revision –1.
RAE Systems by Honeywell 9. Reference: 1. 904-E800-xxx RAE Wi-Fi communication Protocol.doc 2. Rev2 EVB board -Datasheet.docx 10. Caution: 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, and (2) this device must accept any interference received, including interference that may cause undesired operation.
RAE Systems by Honeywell For detachable antennas: This device is tested together with a PCB and a Pole antenna. The client can use an antenna with the same type of the two antennas, but must make sure that the maximum gain of PCB antenna is 0dBi and the maximum gain of Pole antenna is 1.5dBi. Copyright © 2015 Honeywell Analytics, All rights reserved. Honeywell Confidential and Proprietary Revision –1.