LE910Cx–WE866C3-P Bundling Use Case Reference Guide...LE910Cx–WE866C3-P Bundling Use Case...

23
LE910Cx–WE866C3-P Bundling Use Case Reference Guide 1VV0301553 Rev. 0 2018-08-5

Transcript of LE910Cx–WE866C3-P Bundling Use Case Reference Guide...LE910Cx–WE866C3-P Bundling Use Case...

Page 1: LE910Cx–WE866C3-P Bundling Use Case Reference Guide...LE910Cx–WE866C3-P Bundling Use Case Reference Guide 1VV0301553 Rev. 0 Page 3 of 23 2017-07-27 USAGE AND DISCLOSURE RESTRICTIONS

LE910Cx–WE866C3-P Bundling Use Case Reference Guide

1VV0301553 Rev. 0 – 2018-08-5

Page 2: LE910Cx–WE866C3-P Bundling Use Case Reference Guide...LE910Cx–WE866C3-P Bundling Use Case Reference Guide 1VV0301553 Rev. 0 Page 3 of 23 2017-07-27 USAGE AND DISCLOSURE RESTRICTIONS

LE910Cx–WE866C3-P Bundling Use Case Reference Guide

1VV0301553 Rev. 0 Page 2 of 23 2017-07-27

SPECIFICATIONS ARE SUBJECT TO CHANGE WITHOUT NOTICE

NOTICE

While reasonable efforts have been made to assure the accuracy of this document, Telit assumes no liability resulting from any inaccuracies or omissions in this document, or from use of the information obtained herein. The information in this document has been carefully checked and is believed to be reliable. However, no responsibility is assumed for inaccuracies or omissions. Telit reserves the right to make changes to any products described herein and reserves the right to revise this document and to make changes from time to time in content hereof with no obligation to notify any person of revisions or changes. Telit does not assume any liability arising out of the application or use of any product, software, or circuit described herein; neither does it convey license under its patent rights or the rights of others.

It is possible that this publication may contain references to, or information about Telit products (machines and programs), programming, or services that are not announced in your country. Such references or information must not be construed to mean that Telit intends to announce such Telit products, programming, or services in your country.

COPYRIGHTS

This instruction manual and the Telit products described in this instruction manual may be, include or describe copyrighted Telit material, such as computer programs stored in semiconductor memories or other media. Laws in the Italy and other countries preserve for Telit and its licensors certain exclusive rights for copyrighted material, including the exclusive right to copy, reproduce in any form, distribute and make derivative works of the copyrighted material. Accordingly, any copyrighted material of Telit and its licensors contained herein or in the Telit products described in this instruction manual may not be copied, reproduced, distributed, merged or modified in any manner without the express written permission of Telit. Furthermore, the purchase of Telit products shall not be deemed to grant either directly or by implication, estoppel, or otherwise, any license under the copyrights, patents or patent applications of Telit, as arises by operation of law in the sale of a product.

COMPUTER SOFTWARE COPYRIGHTS

The Telit and 3rd Party supplied Software (SW) products described in this instruction manual may include copyrighted Telit and other 3rd Party supplied computer programs stored in semiconductor memories or other media. Laws in the Italy and other countries preserve for Telit and other 3rd Party supplied SW certain exclusive rights for copyrighted computer programs, including the exclusive right to copy or reproduce in any form the copyrighted computer program. Accordingly, any copyrighted Telit or other 3rd Party supplied SW computer programs contained in the Telit products described in this instruction manual may not be copied (reverse engineered) or reproduced in any manner without the express written permission of Telit or the 3rd Party SW supplier. Furthermore, the purchase of Telit products shall not be deemed to grant either directly or by implication, estoppel, or otherwise, any license under the copyrights, patents or patent applications of Telit or other 3rd Party supplied SW, except for the normal non-exclusive, royalty free license to use that arises by operation of law in the sale of a product.

Page 3: LE910Cx–WE866C3-P Bundling Use Case Reference Guide...LE910Cx–WE866C3-P Bundling Use Case Reference Guide 1VV0301553 Rev. 0 Page 3 of 23 2017-07-27 USAGE AND DISCLOSURE RESTRICTIONS

LE910Cx–WE866C3-P Bundling Use Case Reference Guide

1VV0301553 Rev. 0 Page 3 of 23 2017-07-27

USAGE AND DISCLOSURE RESTRICTIONS

I. License Agreements

The software described in this document is the property of Telit and its licensors. It is furnished by express license agreement only and may be used only in accordance with the terms of such an agreement.

II. Copyrighted Materials

Software and documentation are copyrighted materials. Making unauthorized copies is prohibited by law. No part of the software or documentation may be reproduced, transmitted, transcribed, stored in a retrieval system, or translated into any language or computer language, in any form or by any means, without prior written permission of Telit

III. High Risk Materials

Components, units, or third-party products used in the product described herein are NOT fault-tolerant and are NOT designed, manufactured, or intended for use as on-line control equipment in the following hazardous environments requiring fail-safe controls: the operation of Nuclear Facilities, Aircraft Navigation or Aircraft Communication Systems, Air Traffic Control, Life Support, or Weapons Systems (High Risk Activities"). Telit and its supplier(s) specifically disclaim any expressed or implied warranty of fitness for such High Risk Activities.

IV. Trademarks

TELIT and the Stylized T Logo are registered in Trademark Office. All other product or service names are the property of their respective owners.

V. Third Party Rights

The software may include Third Party Right software. In this case you agree to comply with all terms and conditions imposed on you in respect of such separate software. In addition to Third Party Terms, the disclaimer of warranty and limitation of liability provisions in this License shall apply to the Third Party Right software.

TELIT HEREBY DISCLAIMS ANY AND ALL WARRANTIES EXPRESS OR IMPLIED FROM ANY THIRD PARTIES REGARDING ANY SEPARATE FILES, ANY THIRD PARTY MATERIALS INCLUDED IN THE SOFTWARE, ANY THIRD PARTY MATERIALS FROM WHICH THE SOFTWARE IS DERIVED (COLLECTIVELY “OTHER CODE”), AND THE USE OF ANY OR ALL THE OTHER CODE IN CONNECTION WITH THE SOFTWARE, INCLUDING (WITHOUT LIMITATION) ANY WARRANTIES OF SATISFACTORY QUALITY OR FITNESS FOR A PARTICULAR PURPOSE.

NO THIRD PARTY LICENSORS OF OTHER CODE SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND WHETHER MADE UNDER CONTRACT, TORT OR OTHER LEGAL THEORY, ARISING IN ANY WAY OUT OF THE USE OR DISTRIBUTION OF THE OTHER CODE OR THE EXERCISE OF ANY RIGHTS GRANTED UNDER EITHER OR BOTH THIS LICENSE AND THE LEGAL TERMS APPLICABLE TO ANY SEPARATE FILES, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.

Page 4: LE910Cx–WE866C3-P Bundling Use Case Reference Guide...LE910Cx–WE866C3-P Bundling Use Case Reference Guide 1VV0301553 Rev. 0 Page 3 of 23 2017-07-27 USAGE AND DISCLOSURE RESTRICTIONS

LE910Cx–WE866C3-P Bundling Use Case Reference Guide

1VV0301553 Rev. 0 Page 4 of 23 2017-07-27

Contents

NOTICE….. ..................................................................................................... 2

COPYRIGHTS ................................................................................................ 2

COMPUTER SOFTWARE COPYRIGHTS ...................................................... 2

USAGE AND DISCLOSURE RESTRICTIONS ............................................... 3

CONTENTS .................................................................................................... 4

1. INTRODUCTION .......................................................................... 6

Scope ........................................................................................... 6

Audience....................................................................................... 6

Contact Information, Support ........................................................ 6

Text Conventions .......................................................................... 7

2. HARDWARE AND SOFTWARE FEATURES .............................. 8

Specification Overview .................................................................. 8

Hardware Interface ....................................................................... 9

Data Rate ..................................................................................... 9

3. WIRELESS OPERATIONS......................................................... 10

Wi-Fi AP Mode............................................................................ 10

3.1.1. Accessing internet through cellular hotspot mode. ...................... 10

4. AT COMMANDS ........................................................................ 12

WLAN Commands ...................................................................... 12

4.1.1. Enable/Disable WLAN - #WLANSTART...................................... 12

4.1.2. Enable/Disable broadcast - #WLANBROADCAST ..................... 13

4.1.3. Change the SSID name - #WLANSSID ...................................... 13

4.1.4. Change WLANE mode - #WLANMODE ...................................... 14

4.1.5. Return assigned IP address - # WLANIP ................................... 14

4.1.6. Return signal strength of the network - # WLANSIGNAL ............ 14

4.1.7. Scanning wifi networks - #WLANSCAN ...................................... 15

4.1.8. Connect to SSID - #WLANCONNECT ........................................ 15

4.1.9. Disconnect from the network - #WLANDISCONNECT ................ 15

4.1.10. Use to add or change the hostapd.conf. - #WLANCONFIG ........ 16

4.1.11. Use to changing wlan security parameters - #WLANSECURITY 16

4.1.12. Use to change the channel number and the WLAN protocol- # WLANPC 17

Page 5: LE910Cx–WE866C3-P Bundling Use Case Reference Guide...LE910Cx–WE866C3-P Bundling Use Case Reference Guide 1VV0301553 Rev. 0 Page 3 of 23 2017-07-27 USAGE AND DISCLOSURE RESTRICTIONS

LE910Cx–WE866C3-P Bundling Use Case Reference Guide

1VV0301553 Rev. 0 Page 5 of 23 2017-07-27

4.1.13. Display last error in detailed form. - #WLANCFGERROR ........... 17

4.1.14. Enable/Disable MAC address filter- # WLANMACMODE ............ 18

4.1.15. Use to add/ remove MAC address to/from accept list - #WLANMACACCEPT ................................................................................... 18

4.1.16. Use to add/remove MAC address to/from deny list - #WLANMACDENY ........................................................................................ 19

4.1.17. Use to set the regulatory domain - #WLANCOUNTRYCODE ..... 19

4.1.18. Enable/Disable WLAN unsolicited message - #WLANINDI ......... 20

4.1.19. Get the device MAC address - #WLANMAC ............................... 20

4.1.20. Get the WLAN SW version - #WLANSWV .................................. 21

5. DOCUMENT HISTORY .............................................................. 22

Page 6: LE910Cx–WE866C3-P Bundling Use Case Reference Guide...LE910Cx–WE866C3-P Bundling Use Case Reference Guide 1VV0301553 Rev. 0 Page 3 of 23 2017-07-27 USAGE AND DISCLOSURE RESTRICTIONS

LE910Cx–WE866C3-P Bundling Use Case Reference Guide

1VV0301553 Rev. 0 Page 6 of 23 2017-07-27

1. INTRODUCTION

Scope

This document gives a reference for using a set of AT commands for LE910Cx in bundle with WE866C3-P and its usage in different scenarios.

Audience

This document is intended only for Telit customers who want to set up a bundling application

between LE910Cx + WE866C3-P.

Contact Information, Support

For general contact, technical support services, technical questions and report documentation errors, contact Telit Technical Support at:

[email protected]

Alternatively, use:

http://www.telit.com/support

For detailed information about where you can buy the Telit modules or for recommendations on accessories and components visit:

http://www.telit.com

Our aim is to make this guide as helpful as possible. Keep us informed of your comments and suggestions for improvements.

Telit appreciates feedback from the users of our information.

Page 7: LE910Cx–WE866C3-P Bundling Use Case Reference Guide...LE910Cx–WE866C3-P Bundling Use Case Reference Guide 1VV0301553 Rev. 0 Page 3 of 23 2017-07-27 USAGE AND DISCLOSURE RESTRICTIONS

LE910Cx–WE866C3-P Bundling Use Case Reference Guide

1VV0301553 Rev. 0 Page 7 of 23 2017-07-27

Text Conventions

Danger – This information MUST be followed or catastrophic equipment failure or bodily injury may occur.

Caution or Warning – Alerts the user to important points about integrating the module, if these points are not followed, the module and end user equipment may fail or malfunction.

Tip or Information – Provides advice and suggestions that may be useful when integrating the module.

All dates are in ISO 8601 format, i.e. YYYY-MM-DD.

Page 8: LE910Cx–WE866C3-P Bundling Use Case Reference Guide...LE910Cx–WE866C3-P Bundling Use Case Reference Guide 1VV0301553 Rev. 0 Page 3 of 23 2017-07-27 USAGE AND DISCLOSURE RESTRICTIONS

LE910Cx–WE866C3-P Bundling Use Case Reference Guide

1VV0301553 Rev. 0 Page 8 of 23 2017-07-27

2. HARDWARE AND SOFTWARE FEATURES

Specification Overview

• Dual Band 1x1 Wi-Fi + BT module based on QCA9377-3

• 802.11 a/b/g/n/ac

o Up to 40Mhz channel BW for 2.4G (802.11n)

o Up to 80Mhz channel BW for 5G (802.11ac)

o Max TpT ~215Mbps

• BT4.1 + HS + BLE

• 3.3V main input

• VCCIO input for flexible interface voltage control 1.8V/3V (SDIO, UART, PCM)

• AP and STA modes

• Size: 15mm x 13mm x 2.15mm

o T&R packaging only (200 units per reel)

• Temperature Range: -40°C => 85°C

o No reliability testing planned.

802.11 PHY Specification Overview

802.11 Protocol

Release Date

Frequency (GHz)

Bandwidth (MHz)

Data Rate

(Mbit/s) *SGI

MIMO streams

Modulation

Range (m)

Indoor Outdoor

b Sept’99 2.4 22 11 SISO DSSS 32 140

a Sept’99 5 20 54 SISO OFDM 38 120

g June’03 2.4 20 54 SISO OFDM 38 140

p July’10 5.8 5/10 27 SISO OFDM 35 120

n Oct’09 2.4/5 20 72.2

4

OFDM

70 250 40 150

ac wave1

Dec’13 5

20 96.3

8 35 - + 40 200

wave2 80 433.3

160 866.7

ad Dec’12 60 2160 6912 SISO OFDM, SC,

LP-SC 60 100

Page 9: LE910Cx–WE866C3-P Bundling Use Case Reference Guide...LE910Cx–WE866C3-P Bundling Use Case Reference Guide 1VV0301553 Rev. 0 Page 3 of 23 2017-07-27 USAGE AND DISCLOSURE RESTRICTIONS

LE910Cx–WE866C3-P Bundling Use Case Reference Guide

1VV0301553 Rev. 0 Page 9 of 23 2017-07-27

802.11 PHY Specification Overview

802.11 Protocol

Release Date

Frequency (GHz)

Bandwidth (MHz)

Data Rate

(Mbit/s) *SGI

MIMO streams

Modulation

Range (m)

Indoor Outdoor

ax Jul-19 (Draft

1.Jan17) 2.4/5

20 143

8 OFDMA 35 - 40 2.87

80 600

160 1201

Hardware Interface

• Single antenna port

• 4 bit SDIO3.0 for Wi-Fi host interface (up to 200Mhz)

• 4 pin UART for BT interface

• 32KHz input for Wi-Fi sleep

• LTE Coexistence interface (2 pin WCI UART)

• Control pins (Enable input, WoW Output)

• Debug UART (TX only)

Data Rate

• 802.11a (5GHz): 6, 9, 12, 18, 24, 36, 48, 54Mbps

• 802.11b (2.4GHz): 1, 2, 5.5, 11Mbps

• 802.11g (2.4GHz): 6, 9, 12, 18, 24, 36, 48, 54Mbps

• 802.11n (2.4GHz/5GHz):

o 20Mhz BW: Up to 72.2Mbps using short GI (MCS0-7)

o 40Mhz BW: Up to 144.4Mbps using short GI (MCS0-7)

• 802.11ac (5GHz):

o HT20 (MCS0-8), VHT40 (MCS0-9), VHT80 (MCS0-9)

• 802.11a/54Mbps: 13 dbm

• 802.11b/11Mbps: 1820.5 dbm

• 802.11g/54Mbps: 158 dbm

• 802.11n/HT20 (MCS7): 157.5 dbm

• 802.11ac/HT20 (MCS0): 175.5 dbm

• 802.11ac/VHT40 (MCS9): 11.5 dbm

• 802.11ac/VHT80 (MCS9): 101.5 dbm

Page 10: LE910Cx–WE866C3-P Bundling Use Case Reference Guide...LE910Cx–WE866C3-P Bundling Use Case Reference Guide 1VV0301553 Rev. 0 Page 3 of 23 2017-07-27 USAGE AND DISCLOSURE RESTRICTIONS

LE910Cx–WE866C3-P Bundling Use Case Reference Guide

1VV0301553 Rev. 0 Page 10 of 23 2017-07-27

3. WIRELESS OPERATIONS

This section describes the use case for wireless operations in WE866C3-P module.

Wi-Fi AP Mode

3.1.1. Accessing internet through cellular hotspot mode.

The WE866C3-P module operates in AP mode. The internet connectivity for the Wi-Fi module is provided via cellular modem.

The Host MCU uses the AT commands to access the internet through the cellular connection, whereas an external STA can connect to an AP.

Routing function for the Wi-Fi module is provided by the Linux OS and is orthogonal to the data AT commands.

Figure 1: Hardware Architecture

The following example demonstrates how to access the internet through cellular AT commands:

Step 1: Prepare module for AP mode using the AT commands fromHost MCU (refer 4. AT Command):

AT+CGDCONT=1,”IP”,”Example_APN”

AT+CGDCONT=2,”IP”,”Example_APN”

AT#DUALAPN=1

AT#REBOOT

// “Example_APN” should be changed to the cellular provider’s

// APN. After changing DUALAPN mode, user must reboot for

// changes to take affect.

// The above changes are persistant, and must be done only

// for the first time.

Page 11: LE910Cx–WE866C3-P Bundling Use Case Reference Guide...LE910Cx–WE866C3-P Bundling Use Case Reference Guide 1VV0301553 Rev. 0 Page 3 of 23 2017-07-27 USAGE AND DISCLOSURE RESTRICTIONS

LE910Cx–WE866C3-P Bundling Use Case Reference Guide

1VV0301553 Rev. 0 Page 11 of 23 2017-07-27

Step 2: Configure to AP mode using the following command

AT#WLANMODE=0

Step 3: Bring up the WE866C3-P module.

AT#WLANSTART=1

Step 4: Bring up a data connection in the modem side

AT#SGACT=2,1

The Linux and the host MCU will share the cellular data connection (each has its own IP!), and every STA connected to the device will be routed through the Linux platform.

Page 12: LE910Cx–WE866C3-P Bundling Use Case Reference Guide...LE910Cx–WE866C3-P Bundling Use Case Reference Guide 1VV0301553 Rev. 0 Page 3 of 23 2017-07-27 USAGE AND DISCLOSURE RESTRICTIONS

LE910Cx–WE866C3-P Bundling Use Case Reference Guide

1VV0301553 Rev. 0 Page 12 of 23 2017-07-27

4. AT COMMANDS

WLAN Commands

4.1.1. Enable/Disable WLAN - #WLANSTART

#WLANSTART – Enable/Disable WLAN

AT#WLANSTART=[<mode>]

Set command to enable/disable WLAN Parameter: <Mode> - int type, status mode. 0 – Disable 1 – Enable 2 – Auto enable with start

<cid> - (PDP Context Identifier) numeric parameter which specifies a

particular PDP context definition.

Note: Enable WLAN will start it as access point mode by default unless configure prior to start (at#wlanmode). Note: In case of starting WLAN with no network (no SIM card, +cfun=4, …) WLAN will start without internet access and it will return +CME ERROR: No Internet Access. Note: starting WLAN without <cid> parameter will start the WLAN with <cid>=1.

AT#WLANSTART? Read command returns the current WLAN status in the format:

#WLANSTART: <mode>

Where:

<mode>

0 – WLAN off

1 – WLAN on

2 – WLAN on and auto start

<cid> - PDP Context Identifier

AT#WLANSTART=? Test command returns the supported range of values for parameter <mode> <cid>.

Page 13: LE910Cx–WE866C3-P Bundling Use Case Reference Guide...LE910Cx–WE866C3-P Bundling Use Case Reference Guide 1VV0301553 Rev. 0 Page 3 of 23 2017-07-27 USAGE AND DISCLOSURE RESTRICTIONS

LE910Cx–WE866C3-P Bundling Use Case Reference Guide

1VV0301553 Rev. 0 Page 13 of 23 2017-07-27

4.1.2. Enable/Disable broadcast - #WLANBROADCAST

4.1.3. Change the SSID name - #WLANSSID

#WLANBROADCAST – Enable/Disable broadcast

AT#WLANBROADCAST=[<mode>]

Set command enable/disable broadcast Parameter: <mode> - int type,status mode. 0 – Enable broadcast 1 – Disable broadcast

AT#WLANBROADCAST ?

Read command returns the current broadcast status in the format:

#WLANBROADCAST: <mode>

Where:

<mode>

0 – Enable broadcast 1 – Disable broadcast

AT#WLANBROADCAST =?

Test command returns the supported range of values for parameter <mode>.

#WLANSSID – Change the SSID name

AT#WLANSSID=[<ssid>]

Set command change the SSID name Parameter: <ssid> - string type,ssid.

AT#WLANSSID? Read command returns the current SSID in the format:

#WLANSSID: <ssid>

AT#WLANSSID=? Test command returns OK result code.

Page 14: LE910Cx–WE866C3-P Bundling Use Case Reference Guide...LE910Cx–WE866C3-P Bundling Use Case Reference Guide 1VV0301553 Rev. 0 Page 3 of 23 2017-07-27 USAGE AND DISCLOSURE RESTRICTIONS

LE910Cx–WE866C3-P Bundling Use Case Reference Guide

1VV0301553 Rev. 0 Page 14 of 23 2017-07-27

4.1.4. Change WLANE mode - #WLANMODE

4.1.5. Return assigned IP address - # WLANIP

4.1.6. Return signal strength of the network - # WLANSIGNAL

#WLANMODE – Change mode: access point/client

AT#WLANMODE=[<mode>]

Set command change WLANE mode Parameter: <mode> - int type,status mode. 0 – Access point mode (AP) 1 – Client mode (STA) 2 - Concurrent mode (AP+STA)

AT#WLANMODE? Read command returns the current mode status in the format:

#WLANMODE: <mode>

Where:

<mode>

0 – Access point mode (AP) 1 – Client mode (STA) 2 - Concurrent mode (AP+STA)

AT#WLANMODE=? Test command returns the supported range of values for parameter <mode>.

#WLANIP – Return assigned IP address

AT#WLANIP Execute return the assigned IP address

AT#WLANIP=? Test command returns OK

#WLANSIGNAL – Return the signal strength of the network we connected to

AT#WLANSIGNAL Execute return the signal strength of the network we connected to

AT# WLANSIGNAL =?

Test command returns OK

Page 15: LE910Cx–WE866C3-P Bundling Use Case Reference Guide...LE910Cx–WE866C3-P Bundling Use Case Reference Guide 1VV0301553 Rev. 0 Page 3 of 23 2017-07-27 USAGE AND DISCLOSURE RESTRICTIONS

LE910Cx–WE866C3-P Bundling Use Case Reference Guide

1VV0301553 Rev. 0 Page 15 of 23 2017-07-27

4.1.7. Scanning wifi networks - #WLANSCAN

4.1.8. Connect to SSID - #WLANCONNECT

4.1.9. Disconnect from the network - #WLANDISCONNECT

#WLANSCAN – Scan Wi-Fi Network

AT#WLANSCAN=[<mode>]

Set command for client mode only for scanning for wifi networks. Parameter: <mode> - int type, mode. 0 – normal result 1 – extend result

AT#WLANSCAN=? Test command returns the supported range of values for parameter <mode>.

#WLANCONNECT – Connect to SSID

AT#WLANCONNECT=[[<ssid>],[<security>],[<key>]]

Set command for client mode only, to connect to a given SSID Parameter: <ssid> - string type, ssid. <security> - int type 0 – wep 1 – wpaX <key> - string type, key.

AT#WLANCONNECT?

Read command returns the currently ssid it connect to in the format:

# WLANCONNECT: <ssid>

AT#WLANCONNECT=?

Test command reports supported values for the parameter < type >.

#WLANCONNECT:(0-1)

#WLANDISCONNECT – Disconnect from SSID

AT#WLANDISCONNECT

Execution command will disconnect from the network. Relevant for client mode only.

AT#WLANDISCONNECT=?

Test command returns OK result code.

Page 16: LE910Cx–WE866C3-P Bundling Use Case Reference Guide...LE910Cx–WE866C3-P Bundling Use Case Reference Guide 1VV0301553 Rev. 0 Page 3 of 23 2017-07-27 USAGE AND DISCLOSURE RESTRICTIONS

LE910Cx–WE866C3-P Bundling Use Case Reference Guide

1VV0301553 Rev. 0 Page 16 of 23 2017-07-27

4.1.10. Use to add or change the hostapd.conf. - #WLANCONFIG

4.1.11. Use to changing wlan security parameters - #WLANSECURITY

#WLANCONFIG – Use to add hostapd.conf file.

AT#WLANCONFIG=[<size>]

Set command allows to add or change the hostapd.conf. Hostapd configuration file controls many options with regards to AP mode only, in which not all are supported by the current WIFI chip. Parameter: int type, size. <size> - file size

AT#WLANCONFIG=? Test command returns OK result code.

#WLANSECURITY – Use to add hostapd.conf file.

AT#WLANSECURITY=[[<wpa>],[<key_mgmt>,<pairwise>,<key>]]

Set command allows changing WLAN security parameters. Relevant for AP mode only. Parameter: <wpa> - security type 0 – disable 1 – wpa1 2 – wpa2 3 – wpa1 + wpa2 <key_mgmt> - security type 0 – WPA-PSK 1 – WPA-EAP 2 – WPA-EAP and WPA-PSK <pairwise> - This controls wpa's data encryption 0 – TKIP 1 – CCMP 2 - TKIP and CCMP <key> - string type, the network's password

AT#WLANSECURITY?

Read command reports the current value of the parameters

AT#WLANSECURITY=?

Test command returns the supported range of values for parameters <wpa>,<key_mgmt>,<pairwise>,<key> in the format:

#WLANSECURITY: (0-3),(0-2),""

Page 17: LE910Cx–WE866C3-P Bundling Use Case Reference Guide...LE910Cx–WE866C3-P Bundling Use Case Reference Guide 1VV0301553 Rev. 0 Page 3 of 23 2017-07-27 USAGE AND DISCLOSURE RESTRICTIONS

LE910Cx–WE866C3-P Bundling Use Case Reference Guide

1VV0301553 Rev. 0 Page 17 of 23 2017-07-27

4.1.12. Use to change the channel number and the WLAN protocol- # WLANPC

4.1.13. Display last error in detailed form. - #WLANCFGERROR

#WLANPC – Use to change the channel number and the protocol.

AT#WLANPC=<mode> ,<num>

Set command allow to change the AP channel number. Relevant for AP mode only. Parameter: <mode> - protocol type 0 – 'b' 1 – 'g' 2 – 'n' (2.4 GHz) 3 – 'n' (5 GHz) 4 – 'ac' 5 – ‘a’ <num> - channel number

NOTE: the channel can be selected automatically at run time

by setting channel=0

AT# WLANPC ? Read command returns the currently channel number and protocol in the format:

#WLANPC : <mode> ,<num>

Example:

at#wlanpc?

#WLANPC: 1,12

AT#WLANPC=? Test command returns the supported range of values for parameter <mode>.code.

#WLANCFGERROR – display hostapd.conf output error

AT#WLANCFGERROR

Execution command will display last error in detailed form.

AT#WLANCFGERROR=?

Test command returns OK result code.

Page 18: LE910Cx–WE866C3-P Bundling Use Case Reference Guide...LE910Cx–WE866C3-P Bundling Use Case Reference Guide 1VV0301553 Rev. 0 Page 3 of 23 2017-07-27 USAGE AND DISCLOSURE RESTRICTIONS

LE910Cx–WE866C3-P Bundling Use Case Reference Guide

1VV0301553 Rev. 0 Page 18 of 23 2017-07-27

4.1.14. Enable/Disable MAC address filter- # WLANMACMODE

4.1.15. Use to add/ remove MAC address to/from accept list - #WLANMACACCEPT

#WLANMACMODE – Enable/Disable MAC address filtering

AT# WLANMACMODE =<mode>

Set command allow to enable/disable the MAC address filter. Relevant for AP mode only. Parameter: <mode> - int type 0 = accept unless in deny list (default)

1 = deny unless in accept list

2 = use external RADIUS server (accept/deny lists are searched first)

AT#WLANMACMODE ?

Read command returns the currently mode in the format:

#WLANMACMODE : <num>

Example:

at#wlanmacmode?

#WLANMACMODE: 1

AT#WLANMACMODE =?

Test command returns the supported range of values for parameter <mode>.

#WLANMACACCEPT – Use to add/ remove MAC address to/from accept list

AT#WLANMACACCEPT=<mode>,<mac_address>

Set command allow to add/remove MAC address to/from accept list. Relevant for AP mode only. Parameter: <mode> - int type 0 – remove from accept list 1 – add to accept list < mac_address > - string type, mac addres NOTE: mac address should be write with ':' between each Hexa number. Example 00:A0:C6:00:00:17

AT#WLANMACACCEPT?

Read command returns the accept list:

AT#WLANMACACCEPT =?

Test command returns the supported range of values for parameters

Page 19: LE910Cx–WE866C3-P Bundling Use Case Reference Guide...LE910Cx–WE866C3-P Bundling Use Case Reference Guide 1VV0301553 Rev. 0 Page 3 of 23 2017-07-27 USAGE AND DISCLOSURE RESTRICTIONS

LE910Cx–WE866C3-P Bundling Use Case Reference Guide

1VV0301553 Rev. 0 Page 19 of 23 2017-07-27

4.1.16. Use to add/remove MAC address to/from deny list - #WLANMACDENY

4.1.17. Use to set the regulatory domain - #WLANCOUNTRYCODE

#WLANMACDENY – Use to add/remove MAC address to/from deny list

AT#WLANMACDENY=<mode>,<mac_address>

Set command allow to add/ remove MAC address to/from deny list. Relevant for AP mode only. Parameter: <mode> - int type 0 – remove from deny list 1 – add to deny list < mac_address > - string type, mac addres NOTE: mac address should be write with ':' between each Hexa number. Example 00:A0:C6:00:00:17

AT#WLANMACDENY ?

Read command returns the deny list:

AT#WLANMACDENY =?

Test command returns the supported range of values for parameters

#WLANCOUNTYCODE– Use to set the regulatory domain

AT#WLANCOUNTRYCODE=<country_code >

Set command allow to change the country code. Relevant for AP mode only. Parameter: <country_code> - string type NOTE: This can limit available channels and transmit power.

Default: US

AT#WLANCOUNTRYCODE ?

Read command returns the currently country code in the format:

#WLANCOUNTRYCODE: <string>

Example:

at#wlancountrycode?

#WLANCOUNTRYCODE: US

OK

AT#WLANCOUNTRYCODE =?

Test command return OK

Page 20: LE910Cx–WE866C3-P Bundling Use Case Reference Guide...LE910Cx–WE866C3-P Bundling Use Case Reference Guide 1VV0301553 Rev. 0 Page 3 of 23 2017-07-27 USAGE AND DISCLOSURE RESTRICTIONS

LE910Cx–WE866C3-P Bundling Use Case Reference Guide

1VV0301553 Rev. 0 Page 20 of 23 2017-07-27

4.1.18. Enable/Disable WLAN unsolicited message - #WLANINDI

4.1.19. Get the device MAC address - #WLANMAC

#WLANINDI – Enable/Disable WLAN unsolicited message

AT#WLANINDI=[<state>]

Set command enable/disable WLAN unsolicited message Parameter: <state> - int type,status mode. 0 – disable (factory default) 1 – enable Note: need to be save on profiles

AT#WLANINDI? Read command returns the currently WLAN status in the format:

#WLANINDI: <state>

Where:

<state>

0 – off

1 – on

AT#WLANINDI=? Test command returns the supported range of values for parameter <state>.

#WLANMAC – Get the device MAC address

AT#WLANMAC? Read command returns the device MAC address in the format:

#WLANMAC: <string>

Example:

at#wlanmac?

#WLANMAC: 00:A0:C6:00:00:17

OK

Page 21: LE910Cx–WE866C3-P Bundling Use Case Reference Guide...LE910Cx–WE866C3-P Bundling Use Case Reference Guide 1VV0301553 Rev. 0 Page 3 of 23 2017-07-27 USAGE AND DISCLOSURE RESTRICTIONS

LE910Cx–WE866C3-P Bundling Use Case Reference Guide

1VV0301553 Rev. 0 Page 21 of 23 2017-07-27

4.1.20. Get the WLAN SW version - #WLANSWV

#WLANSWV – Get the WLAN SW version

AT#WLANSWV? Read command returns the device MAC address in the format:

#WLANSWV: <string>

Example:

at#wlanswv?

#WLANSWV: 42.100

OK

Page 22: LE910Cx–WE866C3-P Bundling Use Case Reference Guide...LE910Cx–WE866C3-P Bundling Use Case Reference Guide 1VV0301553 Rev. 0 Page 3 of 23 2017-07-27 USAGE AND DISCLOSURE RESTRICTIONS

LE910Cx–WE866C3-P Bundling Use Case Reference Guide

1VV0301553 Rev. 0 Page 22 of 23 2017-07-27

5. DOCUMENT HISTORY

Revision Date Changes

0 2017-07-27 First issue

1 2018-08-05 Added example commands in section 3.1

Page 23: LE910Cx–WE866C3-P Bundling Use Case Reference Guide...LE910Cx–WE866C3-P Bundling Use Case Reference Guide 1VV0301553 Rev. 0 Page 3 of 23 2017-07-27 USAGE AND DISCLOSURE RESTRICTIONS