This document provides an overview of the u-connectXpress software for u-blox short range modules
and describes how the products can be configured for Wi-Fi and Bluetooth Low Energy use cases.
Document information
Title | NORA-W36 series u-connectXpress |
---|---|
Subtitle | Stand-alone multiradio modules |
Document type | User guide |
Document number | UBX-23008692 |
Revision and date | R03, 17-Dec-2024 |
Disclosure restriction | C1-Public |
This document applies to the following products
Product name | Software version |
---|---|
NORA-W36 series | 2.0.0 |
Disclaimer
u-blox or third parties may hold intellectual property rights in the products, names, logos, and designs included in this document. Copying, reproduction, or modification of this document or any part thereof is only permitted with the express written permission of u-blox. Disclosure to third parties is permitted for clearly public documents only.
The information contained herein is provided “as is” and u-blox assumes no liability for its use. No warranty, either express or implied, is given, including but not limited to, with respect to the accuracy, correctness, reliability, and fitness for a particular purpose of the information. This document may be revised by u-blox at any time without notice. For the most recent documents, visit www.u-blox.com.
Copyright © u-blox AG
This document describes how to set up and use u-blox short range stand-alone modules with u-connectXpress software for NORA-W36. It explains the functionality of different u-blox short range stand-alone modules and includes examples that describe how to use the software in different environments with AT commands. The document is applicable for Bluetooth® Low Energy (LE), multiradio, and Wi-Fi modules.
Several u-blox short range stand-alone modules support open software variants. For more information about the available options, see the corresponding system integration manuals for u-blox short range stand-alone modules.
For older generation modules like ODIN-W2, NINA-W15 and ANNA-B1, u-connectXpress user guide describe the functionality of these modules.
Downloading and installing
u-blox modules are developed for integration into a vast range of devices that demand a high level of reliability, such as those that are typically used in industrial and medical applications.
These professional grade modules operate over an extended temperature range and are approved for radio type application products in many countries. By choosing to use u-blox short range stand-alone modules, the cost and work involved in developing wireless communication solutions is significantly reduced.
Concept | Definition |
---|---|
Host | In this document, a host refers to the device connected to a u-blox short range stand-alone module through any of the available physical interfaces. In a real application, the host is typically a microcontroller Unit (MCU) running a customer specific application. |
Module | In this document, module refers to a u-blox stand-alone module. A module can also refer to a self-contained unit or item that is linked with similar units of a larger system that performs a defined task. |
Remote | device A remote device in a wireless network connecting over the Bluetooth Low Energy or Wi-Fi interfaces supported in the module. |
u-blox compact and powerful stand-alone, multiradio modules are designed for the development of Internet-of-Things (IoT) applications. NORA-W36 modules include an embedded Bluetooth stack, Wi-Fi driver, IP stack, and an application for wireless data transfer. The wireless support includes Bluetooth v5.3 (Low Energy) and dual-band Wi-Fi (2.4 and 5 GHz bands).
The modules support point-to-point and point-to-multipoint configurations and can accommodate concurrent Bluetooth and Wi-Fi connections. The software provides support for micro Access Point.
They are delivered with u-connectXpress software that provides support for u-blox Bluetooth LE Serial Port Service, Generic Attribute Profile (GATT) client and server, Bluetooth beacons, simultaneous Peripheral and Central roles – all configurable from a host by means of AT commands.
The possibility of replacing serial cables with simple wireless connections is a key feature of u-blox modules. It allows system hosts to transfer data to one another over wireless Bluetooth connections that are established between u-blox modules in Central/Peripheral configuration.
Depending on the module capabilities, data from each host is transferred to local u-blox modules over a serial UART interface.
u-blox modules can be configured to automatically establish new connections and/or accept incoming connections using AT commands. For connected hosts, this means that physical serial cables can be replaced with more convenient wireless solutions.
NORA-W36 can function as either a Central or Peripheral unit, connecting to devices such as laptops, cellular phones, and tablets using the Generic Attribute Profile (GATT).
NORA-W36 can function as either a Central or Peripheral unit, connecting to devices such as laptops, cellular phones, and tablets via the u-blox Serial Port Service (SPS).
NORA-W36 can operate as a Station connecting to an Access Point.
NORA-W36 can operate as an Access Point connecting to other devices that operate as Stations.
u-connectXpress software for u-blox short range stand-alone modules makes it easy to integrate Bluetooth and Wi Fi connectivity into both new and existing products.
In several high-end modules, u-connectXpress software contains separate stacks for the Bluetooth Low Energy (LE), wireless Transmission Control Protocol (TCP) and wireless Internet Protocol (IP). The necessary Wi-Fi drivers are also included. Other module variants support different combinations of these stacks.
The figure below shows the logical components for high-end (NORA-W36) modules.
NORA-W36 operates in the following modes:
Additionally, the module supports various low-power modes, which optimize power consumption regardless of the operating mode. See also Low power modes and Power consumption optimization.
Deep sleep is supported with the command AT+UPMDS
, see AT command manual and Data sheet for more information.
u-blox modules can be configured to start in any operating mode. Once up and running, the modules can be switched between most modes. The modes are changed with a command or escape sequence sent to the module:
The module is controlled using AT commands in (default) Command mode. In this mode, the host sends control and configuration commands and indicates when data is to be sent over the UART interface.
u-connectXpress features | Capability in 2.0.0 |
---|---|
Chipset | Realtek RTL8720DF |
Multiradio | Bluetooth Low Energy 5.3 Wi-Fi 4 dual band 2,4 and 5 GHz |
Wi-Fi capabilities | 802.11a/b/g/n WPA2 Personal and WPA3 Personal Wi-Fi Multimedia WMM/WME/QoS (802.11e) Protected Management Frames (802.11w) Roaming using Fast BSS Transition (802.11r), Radio Measurement (802.11k), and Wireless Network Management (802.11v) |
Wi-Fi Alliance certified | Certification ID: WFA112253 Wi-Fi CERTIFIED Certificate |
Wi-Fi Access Point | 5 Stations connected |
TCP/UDP sockets | 6 Simultaneous sockets (Note that a listening socket requires 2 sockets) |
MQTT Connections | 1 Connection (client) |
BLE Central connections | 3 Peripherals connected |
BLE Peripheral connections | 1 Central connected |
BLE Scatternet connections (C+P) | Central with 1 Peripheral connected, advertising and allow incoming connection as Peripheral |
BLE Link key storage | 30 Devices. The keys that are the least used are removed first when storage is full |
Coexistence Wi-Fi, BLE and TLS | Max 1 TLS client, 1 BLE, 2 TCP Client |
Data transfer modes | - Buffer Mode (event and read data) - Direct Mode (data in event) - Transparent mode (like serial port cable replacement) Buffer Mode is Default, Transparent mode only supports one link. Transparent Mode has highest throughput, then Direct Mode and then Buffer Mode |
SPS MTU size | 244 bytes, 1000 bytes can be sent in AT command |
TCP MTU size | 1460 bytes, 1000 bytes can be sent in AT command |
UDP MTU size | 1460 bytes, 1000 bytes can be sent in AT command |
u-connectXpress software components | Versions in 2.0.0 |
---|---|
Realtek SDK including Bluetooth stack and Wi-Fi drivers | 6.2 + 6.2_patch_integrated_241111_f5eb173c https://online.realtek.com/Home/Login |
lwIP TCP/IP stack | 2.0.2 https://savannah.nongnu.org/news/?group_id=3159 |
Mbed TLS cryptographic algorithms | 3.6.0 https://github.com/Mbed-TLS/mbedtls/releases |
u-connectXpress MQTT client | Versions in 2.0.0 |
---|---|
MQTT version | 3.1.1 |
MQTT capabilities | Publish, Subscribe, TLS, QoS, Testament and Last will |
MQTT maximum packets size | 730 bytes for Publish and Subscribe packets |
u-connectXpress Enterprise security | Capability in 2.0.0 |
---|---|
PEAP Authentication method | PEAPv0 with EAP-MSCHAPv2 |
EAP Authentication method | EAP Transport Layer Security (EAP-TLS) |
EAP-TLS certificate key size supported | 2048 bits (4096 bits can exceed memory limitations) |
u-connectXpress TLS feature | TLS capability in 2.0.0 |
---|---|
TLS version | Only TLS1.2 (TLS 1.3 is planned for future versions) |
TLS max number of connections | 1 |
TLS extensions enabled by default | Server Name Indication (SNI), Maximum Fragment Length Negotiation |
TLS Encryption keys | Advanced Encryption Standard (AES). Data Encryption Standard (DES), Rivest Cipher 4 (RC4), and the Camellia cipher are not supported. |
X.509 security certificate formats supported | PEM (DER not supported) |
TLS over TCP certificate key size supported | 4096 bits |
TLS certificates | Up to 8 certifications (or certificate chains) can be stored. Certificates can be maximum 15360 bytes. |
TLS Cipher Suites (28suites) | TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384 (0xc024) TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384 (0xc028) TLS_DHE_RSA_WITH_AES_256_CBC_SHA256 (0x006b) TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA (0xc00a) TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA (0xc014) TLS_DHE_RSA_WITH_AES_256_CBC_SHA (0x0039) TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256 (0xc023) TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256 (0xc027) TLS_DHE_RSA_WITH_AES_128_CBC_SHA256 (0x0067) TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA (0xc009) TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA (0xc013) TLS_DHE_RSA_WITH_AES_128_CBC_SHA (0x0033) TLS_RSA_WITH_AES_256_CBC_SHA256 (0x003d) TLS_RSA_WITH_AES_256_CBC_SHA (0x0035) TLS_ECDH_RSA_WITH_AES_256_CBC_SHA384 (0xc02a) TLS_ECDH_RSA_WITH_AES_256_CBC_SHA (0xc00f) TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA384 (0xc026) TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA (0xc005) TLS_RSA_WITH_AES_128_CBC_SHA256 (0x003c) TLS_RSA_WITH_AES_128_CBC_SHA (0x002f) TLS_ECDH_RSA_WITH_AES_128_CBC_SHA256 (0xc029) TLS_ECDH_RSA_WITH_AES_128_CBC_SHA (0xc00e) TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA256 (0xc025) TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA (0xc004) TLS_RSA_PSK_WITH_AES_256_CBC_SHA384 (0x00b7) TLS_RSA_PSK_WITH_AES_256_CBC_SHA (0x0095) TLS_RSA_PSK_WITH_AES_128_CBC_SHA256 (0x00b6) TLS_RSA_PSK_WITH_AES_128_CBC_SHA (0x0094) |
TLS Signature Hash Algorithms Supported | MD2, MD4, MD5, SHA1, SHA224, SHA256, SHA384, SHA512, RIPEMD160 |
TLS Signature Hash Algorithms (10 algorithms) | ecdsa_secp521r1_sha512 (0x0603) rsa_pkcs1_sha512 (0x0601) ecdsa_secp384r1_sha384 (0x0503) rsa_pkcs1_sha384 (0x0501) ecdsa_secp256r1_sha256 (0x0403) rsa_pkcs1_sha256 (0x0401) SHA224 ECDSA (0x0303) SHA224 RSA (0x0301) ecdsa_sha1 (0x0203) rsa_pkcs1_sha1 (0x0201) |
TLS Extensions | Server name (SNI) Max fragment length: 4096 (4) |
More information about the AT commands used in this use cases can be found in the NORA-W36 AT command manual.
The following Bluetooth Low Energy use case, show some functionality to get started with GATT client, GATT server and SPS.
u-connectXpress BLE default values | 2.0.0 |
---|---|
BLE Mode default | ON, Central and Peripheral (3) |
BLE Advertising default | OFF, enable with AT+UBTA=1 |
The following examples use the MAC address below, this must be replaced by the real MAC address of the devices that are used.
This use case configures NORA-W36 as a Central device that operates as a GATT client and receives data.
This use case configuration is used in combination with Bluetooth GATT server.
Nr | Instructions | AT command | AT event |
---|---|---|---|
1 | Check that Bluetooth Central is enabled. 1: Central or 3: Central and Peripheral. If so jump to step 6. | AT+UBTM? | +UBTM:1 or +UBTM:3 |
2 | Enable Bluetooth 1: Central or 3: Central and Peripheral | AT+UBTM=1 or AT+UBTM=3 | |
3 | Store command | AT&W | |
4 | Restart | AT+CPWROFF | |
5 | Wait for NORA-W36 to startup | +STARTUP | |
6 | Connect to remote device | AT+UBTC=AAAAAAAAAAAAp | +UEBTC:0,AAAAAAAAAAAAp |
7 | Discover Services and look for 180D, which is the descriptor for the Heart Rate service. | AT+UBTGPSD=0 | +UBTGPSD:0,12,65535,180D |
8 | Discover all Service Characteristics and look for 2A37, which is the descriptior for the Heart Rate Measurement characteristics. | AT+UBTGSCD=0,12,65535 | +UBTGSCD:0,13,10,14,2A37 |
9 | Use the Value handle, which in this case is 14. The value can vary. Look for 2902, which is the descriptor for the notification. | AT+UBTGCDD=0,14,15 | +UBTGCDD:0,13,15,2902 |
10 | Enable notification on the GATT Client the Central in this example | AT+UBTGCCW=0,15,1 | |
11 | Notification is received on the GATT Client | +UEBTGCN:0,14,60 +UEBTGCN:0,14,61 +UEBTGCN:0,14,62 |
This use case configures NORA-W36 as a Peripheral device that operates as GATT server and sends notifications.
This configuration works in combination with Bluetooth GATT client.
Nr | Instructions | AT command | AT event |
---|---|---|---|
1 | Check that Bluetooth Peripheral is enabled 2: Peripheral and 3: Central and Peripheral. If so jump to step 6. | AT+UBTM? | +UBTM:2 or +UBTM:3 |
2 | Enable Bluetooth 2: Peripheral or 3: Central and Peripheral | AT+UBTM=2 or AT+UBTM=3 | |
3 | Store command | AT&W | |
4 | Restart | AT+CPWROFF | |
5 | Wait for NORA-W36 to start | +STARTUP | |
6 | Enable Advertisements to allow connections | AT+UBTA=1 | |
7 | Write the Heart Rate service | AT+UBTGS=180D | +UBTGS:21 |
8 | Write the GATT characteristic and enable notification | AT+UBTGC=2A37,3A,01,01,00 | +UBTGC:14,15 |
9 | Wait for incoming Bluetooth connection | AT+UBTGCDD=0,14,15 | +UEBTC:0,BBBBBBBBBBB |
10 | Get the MTU for the connection (optional) | AT+UBTCST=0,4 | +UBTCST:4,247 |
11 | Get the Role for the connection (optional) | AT+UBTCST=0,8 | +UBTCST:8,1 |
12 | Send a notification from the GATT Server using the value handle | AT+UBTGNS=0,14,60 AT+UBTGNS=0,14,61 AT+UBTGNS=0,14,62 |
This use case configures NORA-W36 as a Central device that sends and receives data from another NORA-W36 module operating as a Peripheral device. The communication between the two modules is facilitated using the proprietary u-blox Serial Port Service. It is also possible to connect to other devices that supports the SPS protocol.
This use case operates in combination with Bluetooth SPS peripheral.
Nr | Instructions | AT command | AT event |
---|---|---|---|
1 | Check that Bluetooth Central is enabled. 1:Central or 3:Central and Peripheral. If so, jump to step 6. | AT+UBTM? | +UBTM:1 or +UBTM:3 |
2 | Enable Bluetooth 1:Central or 3:Central and Peripheral | AT+UBTM=1 or AT+UBTM=3 | |
3 | Store command | AT&W | |
4 | Restart | AT+CPWROFF | |
5 | Wait for NORA-W36 to start | +STARTUP | |
6 | Initiate Bluetooth discovery. Listen for advertising packets broadcast from Peripheral device. | AT+UBTD | +UBTD:AAAAAAAAAAAAp,-52,"NORA-W36-AAAAAA",0,10094E4F52412D5733362D414141414141 |
7 | Connect Bluetooth | AT+UBTC=AAAAAAAAAAAAp | +UEBTC:0,AAAAAAAAAAAAp |
8 | Read MTU, maximum data size | AT+UBTCST=0,4 | +UBTCST:4,247 |
9 | Read RSSI (optional) | AT+UBTRSS=0 | +UBTRSS:-52 |
10 | Connect SPS using handle of Bluetooth connection | AT+USPSC=0 | |
11 | SPS connection is up | +UESPSC:0 | |
12 | It is now possible to send and receive SPS data in String or Binary mode | ||
13 | Disconnect the SPS and Bluetooth connection | AT+UBTDC=0 | +UESPSDC:0 +UEBTDC:0 |
This use case configures NORA-W36 module as a Peripheral device that sends and receives data from another NORA-W36 module operating as a Central device. The communication between the two modules is facilitated using the proprietary u-blox Serial Port Service. It is also possible to connect to other devices that support the SPS protocol.
This use case configuration is used in combination with Bluetooth SPS central.
Nr | Instructions | AT command | AT events |
---|---|---|---|
1 | Check that Bluetooth Peripheral is enabled. 2: Peripheral and 3: Central and Peripheral. If so, jump to step 6 | AT+UBTM? | +UBTM:2 or +UBTM:3 |
2 | Enable Bluetooth 2: Peripheral or 3: Central and Peripheral | AT+UBTM=2 or AT+UBTM=3 | |
3 | Store command | AT&W | |
4 | Restart | AT+CPWROFF | |
5 | Wait for NORA-W36 to startup | +STARTUP | |
6 | Enable SPS on Peripheral | AT+USPS=1 | |
7 | Enable Advertisements | AT+UBTA=1 | |
8 | Peripheral receives Incoming Bluetooth connection | +UEBTC:0,BBBBBBBBBBBBp | |
9 | Read MTU, maximum data size on both | AT+UBTCST=0,4 | +UBTCST:4,247 |
10 | Read RSSI (optional) | AT+UBTRSS=0 | +UBTRSS:-52 |
11 | Central Connect SPS using handle of Bluetooth connection | AT+USPSC=0 | +UESPSC:0 |
12 | It is now possible to send and receive SPS data in String or Binary mode | ||
13 | SPS and Bluetooth link is down | +UESPSDC:0 +UEBTDC:0 |
This use case configures NORA-W36 as a peripheral device that operates as a GATT client and receives data.
This use case configuration is used in combination with Apple iPhone using the The Apple Notification Center Service (ANCS).
Nr | Instructions | AT command | AT event |
---|---|---|---|
1 | Check that Bluetooth Peripheral is enabled 2: Peripheral and 3: Central and Peripheral. If so, jump to step 6. | AT+UBTM? | +UBTM:2 or +UBTM:3 |
2 | Enable Bluetooth 2: Peripheral or 3: Central and Peripheral | AT+UBTM=2 or AT+UBTM=3 | |
3 | Store command | AT&W | |
4 | Restart | AT+CPWROFF | |
5 | Wait for NORA-W36 to start | +STARTUP | |
6 | Set Apple ANCS Advertise data packet | AT+UBTAD=1115D0002D121E4B0FA4994ECEB531F40579 | |
7 | Enable Advertisements | AT+UBTA=1 | |
8 | Peripheral receives Incoming Bluetooth connection | +UEBTC:0,BBBBBBBBBBBBp | |
9 | Discover Services and look for 180A that is the Device Information | AT+UBTGPSD=0 | +UBTGPSD:0,1,5,1800 +UBTGPSD:0,6,9,1801 +UBTGPSD:0,10,14,180A +UBTGPSD:0,15,19,D0611E78BBB44591A5F8487910AE4366 +UBTGPSD:0,20,24,9FA480E0496745429390D343DC5D04AE +UBTGPSD:0,25,28,180F +UBTGPSD:0,29,34,1805 +UBTGPSD:0,35,44,7905F431B5CE4E99A40F4B1E122D00D0 +UBTGPSD:0,45,56,89D3502B0F36433A8EF4C502AD55F8DC |
10 | Discover all Service Characteristics and look for the attribute 2A29, which describes the Manufacturer Name String characteristics | AT+UBTGSCD=0,10,14 | +UBTGSCD:0,11,02,12,2A29 +UBTGSCD:0,13,02,14,2A24 |
11 | Read the Manufacturer Name String Apple Inc. characteristics on handle 12 | AT+UBTGR=0,12 | +UBTGR:0,12,4170706C6520496E632E (Apple Inc.) |
Pairing
Bonding
In summary
Bluetooth Security is by disabled default and must be configured and enabled before use.
Nr | Instructions | AT command | AT event |
---|---|---|---|
1 | Set Bluetooth I/O Capabilities to Display Yes/No (2) | AT+UBTIOC=2 | |
2 | Set Only allow authenticated bonding with encrypted Bluetooth link (3) | AT+UBTBSM=3 | |
3 | Allow Pairing | AT+UBTPM=1 | |
4 | Bluetooth Bond | AT+UBTB=BBBBBBBBBBBBp | |
5 | Bluetooth Connected event | +UEBTC:0,BBBBBBBBBBBBp | |
6 | Bluetooth User Confirmation event, check the numer on both devices, should be the same | +UEBTUC:BBBBBBBBBBBBp,786920 | |
7 | Bluetooth User Confirmation, confim with yes | AT+UBTUC=BBBBBBBBBBBBp,1 | |
8 | Bluetooth Bond success | +UEBTB:BBBBBBBBBBBBp,0 | |
9 | Bluetooth Bonded Devices List (optional) | AT+UBTBDL | +UBTBDL:BBBBBBBBBBBBp |
Bluetooth Security is by disabled default and must be configured and enabled before use.
Nr | Instructions | AT command | AT event |
---|---|---|---|
1 | Check that Bluetooth Peripheral is enabled, 2: Peripheral or 3: Central and Peripheral, if so move to step 6 | AT+UBTM? | +UBTM:2 or +UBTM:3 |
2 | Enable Bluetooth 2: Central or 3: Central and Peripheral | AT+UBTM=1 or AT+UBTM=3 | |
3 | Store command | AT&W | |
4 | Restart | AT+CPWROFF | |
5 | Wait for NORA-W36 to startup | +STARTUP | |
6 | Enable Advertisements | AT+UBTA=1 | |
7 | Set Bluetooth I/O Capabilities to Display Yes/No (2) | AT+UBTIOC=2 | |
8 | Set Only allow authenticated bonding with encrypted Bluetooth link (3) | AT+UBTBSM=3 | |
9 | Allow Pairing | AT+UBTPM=1 | |
10 | Bluetooth Connected event | +UEBTC:0,AAAAAAAAAAAAp | |
11 | Bluetooth User Confirmation event, check the numer on both devices, should be the same | +UEBTUC:AAAAAAAAAAAAp,786920 | |
12 | Bluetooth User Confirmation, confim with yes | AT+UBTUC=AAAAAAAAAAAAp,1 | |
13 | Bluetooth Bond success | +UEBTB:AAAAAAAAAAAAp,0 | |
14 | Bluetooth Bonded Devices List (optional) | AT+UBTBDL | +UBTBDL:AAAAAAAAAAAAp |
The following Wi-Fi use case, shows some functionality to get started with Wi-Fi Station and Access Point.
The following examples use the MAC address below, this must be replaced by the real MAC address of the devices that are used.
Connect as a Wi-Fi station to an Access Point to get access to network.
This use case connects NORA-W36 as a Wi-Fi station to an Access Point for access to the network. The connection is set to DHCP client by default.
To use static IP the AT+UWSIPS
set the IP address, gateway, subnet mask and DNS.
Nr | Instructions | AT command | AT event |
---|---|---|---|
1 | Set SSID for the Network | AT+UWSCP=0,"NORA-W36 Access Point" | |
2a | Set the Password (support WPA2 and WPA3) | AT+UWSSW=0,"mypassword",0 | |
2b | Set the Password (support only WPA3) | AT+UWSSW=0,"mypassword",1 | |
3 | Connect Wi-Fi station | AT+UWSC=0 | |
4 | Wait for Wi-Fi interface | +UEWLU:0,BBBBBBBBBBB,6 | |
5 | Wait for Network interface | +UEWSNU | |
6 | Check IP address (optional) | AT+UWSNST=0 | +UWSNST:0,192.168.1.100 |
7 | Check RSSI (optional) | AT+UWSST=4 | +UWSST:4,-66 |
8 | It is now possible to connect TCP and UDP, and then send and receive data in String or Binary mode. It is also possible to connect MQTT. | ||
9 | Disconnect Wi-Fi station | AT+UWSDC |
Note: If NORA-W36 should connect to Wi-Fi at startup the Connect, Store and Reset should be send, AT+UWSC=0
, AT&W
and AT+CPWROFF
, the current Wi-Fi Station state is be stored in flash and NORA-W36 will try to connect using Service Set Identifier (SSID) and password stored at startup.
Connect as a Wi-Fi station to an Access Point using PEAP (Protected Extensible Authentication Protocol) and a RADIUS server to get access to network.
This use case connects NORA-W36 as a Wi-Fi station to an Access Point for access to the network. The connection is set to DHCP client by default.
Nr | Instructions | AT command | AT event |
---|---|---|---|
1 | Set SSID for the Network | AT+UWSCP=0,"NORA-W36 Access Point" | |
2 | Set the User and Passworkd | AT+UWSSP=0,"peap_user_name","peap_password" | |
3 | Connect Wi-Fi station | AT+UWSC=0 | |
4 | Wait for Wi-Fi interface | +UEWLU:0,BBBBBBBBBBB,6 | |
5 | Wait for Network interface | +UEWSNU | |
6 | Check IP address (optional) | AT+UWSNST=0 | +UWSNST:0,192.168.1.100 |
7 | Check RSSI (optional) | AT+UWSST=4 | +UWSST:4,-66 |
8 | It is now possible to connect TCP and UDP, and then send and receive data in String or Binary mode. It is also possible to connect MQTT. | ||
9 | Disconnect Wi-Fi station | AT+UWSDC |
Note: If NORA-W36 should connect to Wi-Fi at startup the Connect, Store and Reset should be send, AT+UWSC=0
, AT&W
and AT+CPWROFF
, the current Wi-Fi Station state is be stored in flash and NORA-W36 will try to connect using Service Set Identifier (SSID) and password stored at startup.
Connect as a Wi-Fi station to an Access Point using Extensible Authentication Protocol (EAP) and EAP Transport Layer Security (EAP-TLS) to get access to network.
This use case connects NORA-W36 as a Wi-Fi station to an Access Point for access to the network. The connection is set to DHCP client by default.
To use static IP the AT+UWSIPS
set the IP address, gateway, subnet mask and DNS.
Nr | Instructions | AT command | AT event |
---|---|---|---|
1 | Write a X.509 certificate and private key using Binary data | AT+USECUB=0,"ca.pem"{send binary content of "ca.pem"} AT+USECUB=1,"client.pem"{send binary content of "client.pem"} AT+USECUB=2,"client.key"{send binary content of "client.key"} See Binary data for more information, note that the brackets { and } should NOT be sent, they are just here in this example | |
1 | Set SSID for the Network | AT+UWSCP=0,"NORA-W36 Access Point" | |
2 | Set the certificates and key | AT+UWSSE=0,"ca.pem","client.pem","client.key" | |
3 | Connect Wi-Fi station | AT+UWSC=0 | |
4 | Wait for Wi-Fi interface | +UEWLU:0,BBBBBBBBBBB,6 | |
5 | Wait for Network interface | +UEWSNU | |
6 | Check IP address (optional) | AT+UWSNST=0 | +UWSNST:0,192.168.1.100 |
7 | Check RSSI (optional) | AT+UWSST=4 | +UWSST:4,-66 |
8 | It is now possible to connect TCP and UDP, and then send and receive data in String or Binary mode. It is also possible to connect MQTT. | ||
9 | Disconnect Wi-Fi station | AT+UWSDC |
Note: If NORA-W36 should connect to Wi-Fi at startup the Connect, Store and Reset should be send, AT+UWSC=0
, AT&W
and AT+CPWROFF
, the current Wi-Fi Station state is be stored in flash and NORA-W36 will try to connect using Service Set Identifier (SSID) and password stored at startup.
This use case configures NORA-W36 to act as a Wi-Fi Access Point that allows Wi-Fi Stations to connect, send, and receive data to the module.
The Wi-Fi connection has WPA2 encryption and a DHCP server that automatically assigns IP addresses to devices when they connect to the network.
The server assigns connected devices with IP addresses from 192.168.1.100 + x, where ‘x’ represents the additional IP addresses that can be assigned to other devices connected to the network.
Nr | Instructions | AT command | AT event |
---|---|---|---|
1 | Set the SSID and select nework channel to 6 to define the frequency band | AT+UWAPCP="NORA-W36 Access Point",6 | |
2 | Set the Password, using WPA2 | AT+UWAPSW="mypassword" | |
3 | Activate the Wi-Fi Access point. DHCP Server is enabled by default | AT+UWAPA |