Help Configuring DWM1001-DEV As Gateway Bridge

I am getting “command not found” when attempting to set PAN ID with “nis.” I used ? to get help and the command is not available. Here is the result of “si.”

[000193.820 INF] cfg:

[000193.820 INF] >fw2=x00044000

[000193.820 INF] board=DWM1001_A2

[000193.820 INF] cfg_ver=x00010700

[000193.830 INF] fw_ver=x01010501

[000193.830 INF] hw_ver=xDECA002A

[000193.830 INF] opt=x13C1A340

[000193.840 INF] fw_size[0]=x0001F000

[000193.840 INF] fw_size[1]=x00022000

[000193.840 INF] fw_size[2]=x0003C000

[000193.850 INF] fw_csum[0]=x9445F89E

[000193.850 INF] fw_csum[1]=x37A439E0

[000193.850 INF] fw_csum[2]=xF83EE8A1

What should I do?

Sorry about the NUB posts…I updated the FW on on the gateway DWM1001-DEV and used nis and nmb commands to set the PAN id and bridge mode, respectively. I got the PAN ID from the Android app, it’s the network id I created.

The contents of the RP3 dwm1001.config are pasted below. The problem I have is that when connect to RP3 from Chrome, I expect to see the Anchors and Tags I configured on the same network, but I don’t. I also see two proxies when I expect to see just one.

#######################################################################

DWM Kernel Module settings

UWB network PANID

Allowed values: 16-bit number in decimal, hexadecimal or octal format

panid = 0x5220

UWB encryption

Allowed values: true/false

enc_en = false

UWB encryption key

Allowed values: 128-bit number in hexadecimal format

enc_key = “11111111222222223333333344444444”

UWB firmware update

Allowed values: true/false

uwb_fwup = true

UWB mode

Allowed values: 0=Off 1=Passive 2=Active

uwb_mode = 2

daemon settings

proxy_server_host = “localhost”

proxy_server_port = 1883

mqtt_user = “dwmuser”

mqtt_password = “dwmpass”

mqtt_topic_prefix = “dwm”

1 Like

Hi Mark,

For the gateway the panId must be set in the config file, please have a look at the gateway quick deployment guide.

If you set it with “nis”, I think there will be conflict between the config file and the command (the panId from the config file will be eventually used)

Thank you,
Kind regards
Yves

Hi Yves,
I have the same problem, but when I set the panid to my network, it does not get saved (is there a way to save it?). Instead it creates a separate file sudo nano /etc/dwm1001/dwm1001.config.save
Please help