I. Using the E105-WBS36 Series Module

The E105-WBS36 series module is a highly integrated 2.4GHz SoC Wi-Fi, BLE, and SLE combo chip. It integrates IEEE 802.11b/g/n/ax baseband and RF circuitry. The RF circuitry includes a power amplifier (PA), a low-noise amplifier (LNA), an RF switch, an antenna switch, and power management modules. It supports HT 20MHz/40MHz and HE 20MHz standard bandwidths, providing a maximum physical layer rate of 150Mbit/s.

NearLink Related Knowledge

In NearLink technology, SLE (Super Low Energy) and SLB (Super Low Bandwidth) refer to two special operating modes or configurations used to meet the extremely low power consumption and extremely low bandwidth requirements in specific scenarios.

SLB is the basic access mode of NearLink technology, comparable to Wi-Fi, focusing on high-speed, high-precision, and high-concurrency scenarios. Its full name is SparkLink Basic, also referred to as "Super Low Bandwidth" in some materials.

SLE is SparkLink's low-power access mode, comparable to Bluetooth, aiming to achieve ultra-low power consumption by optimizing activity cycles and transmission frequencies. Its full English name has two expressions:

SparkLink Low Energy: As one of the access layer technologies in the SparkLink protocol stack, it is specifically designed for low-power scenarios.

Smart Link Enhanced: Defined in Huawei's SparkLink NearLink mode, emphasizing enhanced low-power connectivity.

This module supports SLE 1.0!

II. Environment Preparation

2.1 E105-WBS36 and its test substrate X 2.

2.2. Software Preparation

- Serial port debugging assistant

III. SLE Communication Test

Start SLE

AT+ROLE=2 // Set as SLE Client

AT+RST // Reboot for the changes to take effect. The default configuration will automatically connect to the SLE Server with MAC address 01:02:03:04:05:06;

AT+TRANSMODE // Enter transparent transmission mode

AAAAAAAAAAAAAAAAAA // Send data to the SLE Server

Start the SLE slave device

AT+ROLE=3 // Set as SLE Server

AT+RST // Reboot for the changes to take effect, as the default MAC address is 01:02:03:04:05:06

AT+TRANSMODE // Enter transparent transmission mode

BBBBBBBBBBBBBBBBBBBB // Send data to the SLE Client

Note:

1. To specify the MAC address for automatic connection, use the AT+SLEAUTOCONNECTMAC command.

2. To modify the SLE MAC address, use AT+MAC.

 

IV. BLE Communication Test

Start the BLE host

AT+ROLE=0 // Set as BLE host

AT+RST // Reboot for the changes to take effect. The default configuration will automatically connect to the BLE host with MAC address 01:02:03:04:05:06;

AT+TRANSMODE // Enter transparent transmission mode

AAAAAAAAAAAAAAAAAA // Send data to the SLE Server

 

Start BLE slave

AT+ROLE=1 // Set as BLE slave

AT+RST // Reboot for the changes to take effect; default configuration is a BLE slave with MAC address 01:02:03:04:05:06;

AT+TRANSMODE // Enter transparent transmission mode

BBBBBBBBBBBBBBBBBBBB // Send data to the BLE master

Note:

1. To specify the MAC address for automatic connection, use the command AT+BLEAUTOCONNECTMAC.

2. To modify the BLE MAC address, use the command AT+MAC.

 

V. WIFI Startup

Starting the SoftAP Example

AT+ROLE=4 // Set to Wi-Fi mode

AT+RST // Mode restart takes effect

AT+WIFIMAC=0C:22:2D:38:44:4E // Set the Wi-Fi MAC address to 0C:22:2D:38:44:4E

AT+WIFISTARTAP="BWS36",13,2,"123456789" // Set AP-related parameters

AT+IFCFG=ap0,192.168.3.1,netmask,255.255.255.0,gateway,192.168.3.1 // Interface settings

AT+DHCPS=ap0,1 // The network card name should match the AP network card name viewed by AT+IFCFG.

AT+IFCFG // View configuration

Note: The AT+DHCPS command above cannot be omitted.

Launch the SoftSTA example

AT+ROLE=4 // Set to Wi-Fi mode

AT+RST // Mode restart takes effect

AT+WIFIMAC=0C:22:2D:38:44:44 // Set Wi-Fi MAC address to 0C:22:2D:38:44:44

AT+WIFISTARTSTA // Start STA mode

AT+WIFISCAN // Scan for surrounding Wi-Fi AP information

AT+WIFISCANRESULT // View all STA scan results

AT+WIFICONN="BWS36",,"123456789" // Initiate a connection with the AP, with the connection name being XXX and the encryption method not being open on the router

AT+DHCP=wlan0,1 // Enable DHCP service.

Note: The above instructions can be used to connect not only the module's AP, but also the router's AP.

Ⅵ. TCP Communication Test

Example of starting a TCP server

AT+IPLISTEN=1,5001 //Start TCP listening,

AT+IPSEND=0,9,datatest //Send TCP data

Note:

Example of starting a TCP client

AT+IPSTART=0,tcp,192.168.3.1,5001 //Connect to the server

 

AT+IPSEND=0,9,datatestt //Send TCP data

Note: This command must be performed after a successful Wi-Fi connection.

 

Ⅶ. UDP Communication Test

Example of starting UDP CLENIT1:

AT+IPSTART=0,udp,5001 //Start UDP,

AT+IPSEND=0,9,192.168.3.2,5002,data test //Send UDP data

Note:

Example of starting UDP CLENIT2:

AT+IPSTART=0,udp,5002 //Start UDP,

AT+IPSEND=0,9,192.168.3.1,5001,data test //Send UDP data

Note: The IP addresses and ports above should be used in accordance with actual requirements.