Wi-Fi R-Mesh SDK Configuration
Obtain the SDK
SDK download: SDK Clone
R-MESH Enable
Set up the compilation environment, and run
ameba.py menuconfigto access the configuration interface, then configure as follows:
----Connectivity config----
CONFIG WHC INTF --->
CONFIG WIFI --->
...
[*] Enable R-mesh
[ ] Enable R-NAT
[ ] Enable R-mesh Socket
[ ] Enable R-mesh OTA
...
Open
{sdk}/component/soc/usrcfg/amebaxxx/ameba_wificfg.cand set the following parameter:
wifi_user_config.wtn_en = 1;
For additional settings, please refer to Common
RNAT Enable
Note
Skip this step if RNAT functionality is not required.
Before enabling RNAT, you must first enable R-Mesh
Open
{sdk}/component/soc/usrcfg/amebaxxx/ameba_wificfg.cand set the following parameter:
wifi_user_config.wtn_rnat_en = 1;
To designate the node as a permanent RNAT node, set this parameter:
wifi_user_config.wtn_fixed_rnat_node = 1;
Note
Required in current version as automatic RNAT selection is under development.
Set up the compilation environment, and run
ameba.py menuconfigto access the configuration interface, then configure as follows:
----Connectivity config----
CONFIG WHC INTF --->
CONFIG WIFI --->
...
[*] Enable R-mesh
[*] Enable R-NAT
[ ] Enable R-mesh Socket
[ ] Enable R-mesh OTA
...
CONFIG LWIP --->
...
[*] Enable NAT REPEATER
...
For additional RNAT settings, please refer to RNAT Parameters
Enable R-MESH Socket Feature
Set up the compilation environment, and run ameba.py menuconfig to access the configuration interface, then configure as follows:
----Connectivity config----
CONFIG WHC INTF --->
CONFIG WIFI --->
...
[*] Enable R-mesh
[*] Enable R-NAT
[*] Enable R-mesh Socket
[ ] Enable R-mesh OTA
...
Note
R-Mesh Socket option is required to work with the Gravitation tool. If you do not need the Gravitation tool in your actual use case, don’t set this.
Compilation and Flashing
Please refer to standard compilation procedures: Build Flow