background image

Copyright © Shenzhen Rakwireless Technology Co., Ltd

ETDX1602241830

22

RAK477 Instruction Manual

Set the parameters of STA

Set basic parameters of STA mode. Clicking “Search” button can search out the
nearby available wireless network. After modifying the configuration, click “Save”
button, as shown below:

The parameters setting of the serial port

Set basic parameters of the serial port, after modifying the configuration, click
“Save” button, as shown below:

Содержание RAK477

Страница 1: ...Ltd www rakwireless com info rakwireless com RAK copyright All rights reserved Companies and product names referred in the instruction belong to trademarks of their respective owners Any part of this...

Страница 2: ...4 5 Module management instruction 29 4 5 1 Open ASCII display 29 4 5 2 Query the module s MAC address 30 4 5 3 Enter into the transparent transmission mode 31 4 5 4 Query the software version 32 4 5...

Страница 3: ...e number of current list 53 4 9 2 Read the networking information in the indicated lists 54 4 9 3 Write the networking information to the indicated lists 55 4 9 4 Delete the networking information in...

Страница 4: ...al Interface Micro USB Input power supplied DC5V communication interface of USB to serial port Key Reset Module reset key WPS MODE WPS function is to instantly configured to the network match with the...

Страница 5: ...s used to reset to Factory Defaults for the module when the configuration is made by mistakes or the current configuration parameters are forgotten Press the Default key for over 3 seconds the indicat...

Страница 6: ...he Status pins output the low level it shows that the module starts regularly If the status light is not on after powering on please try to press the Reset key If the light is always off please contac...

Страница 7: ...The default baud rate is 115200 data bit is 8 stop bit is 1 with no parity no flow control Open network debugging tools TCP UDP tool establish TCP client to connect the IP and port of the other party...

Страница 8: ...Copyright Shenzhen Rakwireless Technology Co Ltd ETDX1602241830 8 RAK477 Instruction Manual Figure 1 6 Factory Defaults mode transparent transmission test...

Страница 9: ...ion It also support transparent transmission easy to use by simply using the PC APPs tool to work individually or in bulk for parameters configuration and then module connects the serial ports and net...

Страница 10: ...on Support AP STA AP STA Mode Support proactively identifying devices in LAN Standards Supported 802 11b g n compatible WLAN 802 11e QoS Enhancement WMM 802 11i WPA WPA2 Open shared key and pair wise...

Страница 11: ...nd 40MHz bandwidth transmission Short Guard Interval 400ns DSSS with DBPSK and DQPSK CCK modulation with long and short preamble OFDM with BPSK QPSK 16QAM and 640QAM modulation Convolutional Coding Ra...

Страница 12: ...e module has independent network name fixed IP address etc The delivery mode ensures the recovery of the module so as to avoid the problems caused by user s configuration mistakes Delivery parameters...

Страница 13: ...default configuration is AP configuration with status light always on and link light slowly flashing The mobile phone is connected to the hot point of RAK477_AP_XXXXXX with link light always on Use th...

Страница 14: ...830 14 RAK477 Instruction Manual Confirm that the mobile phone has been connected to the module hot spot and then click NEXT Select the router to connect input the password click Connect and the modul...

Страница 15: ...ile phone to the router saved on the module select LocalScan option and scan the module 3 3 EasyConfig Configuration First the mobile phone is connected to the router which is to be connected by the m...

Страница 16: ...41830 16 RAK477 Instruction Manual Enter into the Config option and select SimpleConfig configuration SSID is automatically filled in input PSK Press the development pad s default key the link light b...

Страница 17: ...02241830 17 RAK477 Instruction Manual Return to the module s mac address after successful configuration 3 4 Upgrading The module supports upgrading under the AP STA and AP STA mode The following mainl...

Страница 18: ...e same router Open the mobile phone APP select the module type of RAK477 Select OTA option click CetInfo to obtain the module s mac and ip address and other information Click the module information ar...

Страница 19: ...firm ware and connects the router again 3 5 Usage of scanning configuration tools Mobile phone APP RAK47XScanConfig When the module works under AP mode using the tool can scan the module after the mob...

Страница 20: ...ly introduce the usage of the module under STA mode 1 Drop down the screen and scan the RAK47X module in the current network connected to the mobile as shown below 2 Click the module and input user s...

Страница 21: ...umption of the module involving three modes namely AP STA and AP STA mode The power consumption mode includes full power consumption and automatic saving power consumption After modifying the configur...

Страница 22: ...basic parameters of STA mode Clicking Search button can search out the nearby available wireless network After modifying the configuration click Save button as shown below The parameters setting of t...

Страница 23: ...Technology Co Ltd ETDX1602241830 23 RAK477 Instruction Manual Set the socket parameters Set basic parameters of socket supporting single socket and double socket After modifying the configuration cli...

Страница 24: ...settings Advance settings include modifying the module s user name and password namely authentication information modifying the module s name and group name resetting the module and recover the ex fa...

Страница 25: ...also provides an auxiliary command mode in order to manage and query the parameters for the module Module interpret based on the MODE pin level high level by default and enter into the transparent tr...

Страница 26: ...guration at read_config r n Read the user configuration at read_restoreconfig r n Read Factory Defaults at write_restoreconfig Configure the parameter length and parameter of r n Modify the Factory De...

Страница 27: ...the indicated lists at write_userlist index len data Write the networking information to the indicated lists at delete_userlist index r n Delete the networking information in the indicated lists Firm...

Страница 28: ...the beginning of any other formats are wrong orders The above AT command formats are not applicable to send and receive data commands of at recv_data and at send_data for detailed instructions please...

Страница 29: ...ait for the module to return U 0x55 if the module did not return in the specified time then the timing of 200ms will again send and requests to enter the command mode until the module successfully ret...

Страница 30: ...ameter Format Length byte Instruction The command is successfully carried out OK ASCII 2 Successfully open r n ASCII 2 End character The command is unsuccessfully carried out ERROR ASCII 5 Error CODE...

Страница 31: ...address r n ASCII 2 End character The command is unsuccessfully carried out ERROR ASCII 5 ERROR CODE HEX 1 For details see ERROR list r n ASCII 2 End character Remarks 4 5 3 Enter into the transparent...

Страница 32: ...see ERROR list r n ASCII 2 End character Remarks 4 5 4 Query the software version Command at version r n Description Query the module version including the software version and the WLAN version For ex...

Страница 33: ...For details see ERROR list r n ASCII 2 End character Remarks 4 5 5 Reset to restart the module Command at reset r n Description The software reset module Parameter instruction NULL Instruction for ret...

Страница 34: ...r n Description Recover the module parameters to the Factory Defaults parameters Parameter instruction NULL Instruction for returned value Parameter Format Length byte Instruction The command is succ...

Страница 35: ...ion parameters to the module at one time Including network model network parameters serial port and communication parameters etc The command can also enable or disable the module s advanced feature op...

Страница 36: ...d the user configuration Command at read_config r n Description Read the user configuration parameters and read all the user configuration parameters at one time Parameter instruction NULL Example at...

Страница 37: ...unsuccessfully carried out ERROR ASCII 5 ERROR CODE HEX 1 For details see ERROR list r n ASCII 2 End character Remarks 4 6 3 Reproduce the user configuration Command at copy_cfg r n Description Repro...

Страница 38: ...read_restoreconfig r n Descripion Read Factory Defaults parameters configuration of the module returning structure is the same with reading user s configuration Parameter instruction NULL Instruction...

Страница 39: ...ure is the same with reading user s configuration Parameter instruction Parameter Parameter value Instruction data_length length Written length of written configuration parameter data_stream data Writ...

Страница 40: ...s under the STA mode the command will be used for the wireless network connection status of the module Parameter instruction NULL Instruction for returned value Parameter Format Length byte Instructio...

Страница 41: ...nd will be used for determining the connection status of the equipment Parameter instruction NULL Instruction for returned value Parameter Format Length byte Instruction The command is successfully ca...

Страница 42: ...effective Parameter instruction NULL Instruction for returned value Parameter Format Length byte Instruction The command is successfully carried out OK ASCII 2 OK RSSI HEX 1 Signal intensity negative...

Страница 43: ...ameter instruction The scan command includes two parameters wherein channel is the specified channel scanning with the value range of 1 to13 if the value is set to 0 Then scan all the channels ssid me...

Страница 44: ...it returns OK and the number of wireless networks that are scanned with maximum of 20 If the user needs to use the network information you can call the command at get_scan to get Note When at ascii 1...

Страница 45: ...quired the command can be omitted Scanned information has been read completely if reading again the module will return the error 2 the at scan command need to be called for scanning again Parameters i...

Страница 46: ...EX 33 SSID BSSID HEX 6 BSSID CHANNEL HEX 1 Channel RSSI HEX 1 signal intensity negative value Security Mode HEX 1 encryption method b7 b6 b5 b4 b3 b2 b1 b0 WPA 2 WP A WE P 802 1 X PS K WE P TKI P CCM...

Страница 47: ...figuration information Customers can query whether the network is connected or not through querying network status command Instruction for returned value Parameter Format Length byte Instruction The c...

Страница 48: ...0 0 1 Parameter instruction NULL Instruction for returned value Parameter Format Length byte Instruction The command is successfully carried out OK ASCII 2 success query MAC HEX 6 module s MAC addres...

Страница 49: ...a_bssid 8C 21 0A D9 EB 7B sta_se c_mode 1 sta_psk rakwireless205 sta_dhcp 1 sta_ip 192 168 1 119 sta_netm ask 255 255 255 0 sta_gateway 192 168 1 1 sta_dns1 192 168 1 1 sta_dns2 0 0 0 0ap_ssid RAK477_...

Страница 50: ...any format of the data the module will keep the original data and send without carrying out any process If the connection is a TCP connection wherein the target IP and target port can be ignored fill...

Страница 51: ...value Parameter Format Length b yte Instruction The command is successfully carried out OK ASCII 2 The data was sent successfully r n ASCII 2 End character The command is unsuccessfully carried out E...

Страница 52: ...UDP receives a packet of less than 1024B per packet Most of them will be discarded UDP sending end need to set the sending packet s maximum length Parameter instruction NULL Instruction for returned v...

Страница 53: ...ation storage commands for the user networking list 4 9 1 Read the number of current list Command at read_userlist_num r n Description Read the number of currently saved networking information list Pa...

Страница 54: ...s Command at read_userlist index r n Description Read the networking information in the current list Parameter instruction Parameter Parameter value Instruction index 0 4 Indicate the list to read the...

Страница 55: ...3 Write the networking information to the indicated lists Command at write_userlist index len data r n Description Write the networking information to the indicated lists Parameter instruction Parame...

Страница 56: ...2 OK r n ASCII 2 End character The command is unsuccessfully carried out ERROR ASCII 5 ERROR CODE HEX 1 For details see ERROR list r n ASCII 2 End character Remark 4 9 4 Delete the networking informat...

Страница 57: ...on r n ASCII 2 End character Remark 4 10 Upgrading of serial port firm ware 4 10 1 Enter into the upgrading mode Command at upgrade r n Description The command is used to set the module to enter into...

Страница 58: ...he module did not return OKC returned to carry out step 1 to 3 Parameter instruction NULL Instruction for returned value Parameter Format Length byte Instruction The command is successfully carried ou...

Страница 59: ...1 13 ap_sec_mode 0 No encryption 1 Encryption ap_psk 1234567890 The PIN is between 8B and 32B ap_ip 192 168 7 1 ap_bdcast 0 No broadcast 1 Broadcast ap_max_clts The maximum connection number of AP Th...

Страница 60: ...uart_rtscts_en 0 disable 1 enable uart_timeout 5 Timeout time unit for the serial port to be frame ms The serial port is recommended to send interval per 10ms the minimum interval is 5ms uart_recvlen...

Страница 61: ...le 1 enable When the user is configured from the Factory Defaults parameter to the user parameter the configured router is not able to connect switch to the Factory Defaults parameter last_user_switch...

Страница 62: ...tip 192 168 1 101 IP or domain name socketA_destport 25000 1 65535 socketA_tcp_timeou t 0 disable 1 600 valid TCP idle timeout time unit s socketA_tcp_reconv al 0 disable 1 600 valid Interval time uni...

Страница 63: ...nology Co Ltd ETDX1602241830 63 RAK477 Instruction Manual socketB_tcp_reconv al 0 disable 1 600 valid Interval time unit of TCP reconnectio n s Module name module_name RAK477 16B WEB setting user_name...

Страница 64: ...akwireless Technology Co Ltd ETDX1602241830 64 RAK477 Instruction Manual 6 Version Version Date Modified records V1 0 2016 3 1 Create a document V1 1 2016 6 11 Add the related tools section V1 2 2017...

Отзывы: