background image

RAE Systems by Honeywell 

Honeywell Confidential and Proprietary 

Revision 

–1.0 

Page 1 of 29 

Copyright © 2015 Honeywell Analytics, All rights reserved.

 

 

 

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 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Summary of Contents for RMWIFI-M3

Page 1: ...0 Page 1 of 29 Copyright 2015 Honeywell Analytics All rights reserved 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 ...

Page 2: ...s by Honeywell Honeywell Confidential and Proprietary Revision 1 0 Page 2 of 29 Copyright 2015 Honeywell Analytics All rights reserved Release Histroy Rev Date Author Descripition 1 0 Oct 20 2014 Wu Wei Original ...

Page 3: ...How to program RMWIFI 8 4 1 Hardware interface setup 8 4 2 Program software interface introduction 9 4 3 Running application firmware 9 5 Initialization 10 5 1 Get module type 10 5 2 Get MAC address 11 6 Scan and associate with AP 12 6 1 Scan network 12 6 2 Set password 15 6 3 Associate with AP 16 7 How to communicate using TCP 17 7 1 Connect to TCP server 17 7 2 Receive data packet from server 20...

Page 4: ...d web server etc It can be used to connect to Ethernet conveniently and transfer data to network server like ProRAE Guardian directly 1 2 Key Features 46 26 mm Length Width with M3 40 PINs interface RCS protocol API for application interface DSSS modulation for 1and 2Mbps CCK modulation for 5 5 and 11Mbps Compatible with IEEE 802 11 b UART interface SPI interface I2C interface one ADC channel seve...

Page 5: ... carries onboard single supply monitor for 1 8V voltage supply with optional module controlled external regulator enable control pin DC_DC_CNTL 2 2 Pin Definition Connector Pin Pin Name Description I O 1 GND Ground 3 RESET Active low system reset I O 5 UART_TX UART transmit output O 7 UART_RX UART transmit input I 9 I2C_DATA PU data signal for an external I2C device I O 11 I2C_CLK PU clk signal fo...

Page 6: ... 12 UART_CTS CTS output Clear To Send for UART hardware flow control O 14 LED1 LED indicate control PIN O 16 LED2 LED indicate control PIN O 18 WIFIPRO 1 Enable Disable into boot load I 20 22 24 NA 26 VCC Digital voltage supply 28 ADC ADC input 30 32 34 36 38 NA 40 VCC Digital voltage supply Note 1 If WIFIPRO is high during boot the WLAN will wait for Flash download via SPI or UART 3 Section3 3 1 ...

Page 7: ...reserved Item Condition Min Nom Max Unit Receive RX 108 mA Transmit Tx power setting P 0 Single carrier 145 mA Sleep 200 uA 3 3 I O DC Specification Parameter Symbol Min Max Unit Input Low Voltage VIL 0 25 VCC V Input High Voltage VIH 0 8 VCC V Output Low Voltage VOL 0 4 V Output High Voltage VOH 0 8 VCC V 3 4 Mechanical Drawing Unit mm ...

Page 8: ...Proprietary Revision 1 0 Page 8 of 29 Copyright 2015 Honeywell Analytics All rights reserved 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 ...

Page 9: ...ights reserved 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 ...

Page 10: ...All rights reserved 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 ...

Page 11: ...Analytics All rights reserved 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 ...

Page 12: ...Page 12 of 29 Copyright 2015 Honeywell Analytics All rights reserved 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 ...

Page 13: ...oprietary Revision 1 0 Page 13 of 29 Copyright 2015 Honeywell Analytics All rights reserved 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 ...

Page 14: ...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 ...

Page 15: ...ight 2015 Honeywell Analytics All rights reserved 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 ...

Page 16: ...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 The second response command will delay ...

Page 17: ... 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 ...

Page 18: ...rietary Revision 1 0 Page 18 of 29 Copyright 2015 Honeywell Analytics All rights reserved 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 ...

Page 19: ...tems by Honeywell Honeywell Confidential and Proprietary Revision 1 0 Page 19 of 29 Copyright 2015 Honeywell Analytics All rights reserved The socket test tools will inform that one client has connected to it ...

Page 20: ...etary Revision 1 0 Page 20 of 29 Copyright 2015 Honeywell Analytics All rights reserved 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 ...

Page 21: ...d 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 ...

Page 22: ...ntial and Proprietary Revision 1 0 Page 22 of 29 Copyright 2015 Honeywell Analytics All rights reserved 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 ...

Page 23: ...t 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 Host command 7B 41 00 08 74 1D 00 17 70 FF FF 7D RMWIFI_M3 response 7B 41 00 07 75 1D 00 00 C3 F0 7D Example...

Page 24: ...ms by Honeywell Honeywell Confidential and Proprietary Revision 1 0 Page 24 of 29 Copyright 2015 Honeywell Analytics All rights reserved 2 Send data packet to RMWIFI as following RMWIFI will receive data packet ...

Page 25: ... 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 ...

Page 26: ...well Analytics All rights reserved 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 ...

Page 27: ...RAE Systems by Honeywell Honeywell Confidential and Proprietary Revision 1 0 Page 27 of 29 Copyright 2015 Honeywell Analytics All rights reserved Socket test tool will receive the data packet ...

Page 28: ...t occur in a particular installation If this equipment does cause harmful interference to radio or television reception which can be determined by turning the equipment off and on the user is encouraged to try to correct the interference by one or more of the following measures Reorient or relocate the receiving antenna Increase the separation between the equipment and receiver Connect the equipme...

Page 29: ...5 Honeywell Analytics All rights reserved 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 ...

Reviews: