Gateway
Note
Please note that the following commands are applicable for Gateway MCU only.
ana
ana: Set UWB, BLE, Ethernet or Wi-Fi address of the node. (See dwm_mac_addr_set)
Example:
dwm> ana
dwm> ana
Usage: ana <TYPE> <ADDR>
TYPE can be 0=UWB, 1=BLE-Random, 2=BLE-Public, 3=ETH, 4=WiFi
ADDR is 6-byte long hex number
dwm> ana 0 0xaabbccddeeff
ana: ok
amlg
Gets MAC address list and it refers to dwm_mac_addr_get for description.
usr - custom MAC address specified by the user
pub, rand - The Public or the Random BLE address
def - Default address
def, mutable - Mutable default address which can be modified. The default address can be changed only once if it is mutable.
Example:
dwm> amlg
mac0=68:79:12:90:11:11 (usr)
mac1=68:79:12:90:22:22 (def, pub)
mac2=68:79:12:90:33:33 (def)
mac3=
ahs
Sets the HW version in the OTP memory.
Note
Before executing the AHS command, follow these steps:
Example
dwm> ahs
Usage: ahs <hw_ver>
dwm> ahs 0x0b100111
ahs: ok
acs
Available only on the ethernet gateway and it Configures node.
Example:
leaps> acs
usage: acs [leds 0|1] [enc 0|1] [fwup 0|1] [uwb 0|1|2]
uwb 0-off,1-pasv,2-act
leaps> acs leds 0 fwup 0
ok
ums
Available only on the ethernet gateway and it Sets default UART mode (binary or shell).
Example:
dwm> ums 1
...
dwm> ums 0
ipv4
Available only on the ethernet gateway and it Sets local IPv4 network configuration. When connected to the internet, the default DNS servers are 8.8.8.8 and 4.4.4.4. The default NTP time server is time.google.com.
Example:
leaps> ipv4
usage: ipv4 [static|dynamic] [eth|wifi] [addr STRING] [mask STRING] [gw STRING]
Use DHCP server to obtain IP address
leaps> ipv4 dynamic
ipv4 (Success)
Use static IP address settings
usage: ipv4 addr 192.168.1.103 mask 255.255.255.0
ipv4 (Success)
dns
Available only on the ethernet gateway and it configures DNS servers. It only takes effect when using a static IP address or the DHCP server does not provide DNS settings.
Example:
leaps> dns
usage: dns [STRING STRING]
Configure DNS server (up to 2 DNS servers is supported)
leaps> dns 8.8.8.8
dns (Success)
wifi
Available only on the ethernet gateway and it configures WIFI SSID, PSK and scan region. Do not use whitespace characters in the SSID and the PSK.
Example:
leaps> wifi
usage: wifi [ssid] [pwd] [region]
region 0-europe(default), 1-north-america, 2-asia
Configure SSID, PSK
leaps> wifi MyWifiSSID mywifipassword
wifi (Success)