jremington / UWB-Indoor-Localization_Arduino

Open source Indoor localization using Arduino and ESP32_UWB tags + anchors
GNU General Public License v3.0
140 stars 35 forks source link

read the wrong address #2

Closed hongthiet1994 closed 2 years ago

hongthiet1994 commented 2 years ago

image

I had write short add address to DWM1000, but when i read address from DWM1000 always get 130

i have 6 board DWM1000, but have only 2 boards have this error.

Please help me !

jremington commented 2 years ago

That sounds like a problem with the two chips that show it.

The "short address" is just the lowest two bytes of the MAC address that you assign. (0x7D in the two lines below:

// leftmost two bytes below will become the "short address"
char tag_addr[] = "7D:00:22:EA:82:60:3B:9C";

Post the code showing the address(es) you are trying to assign.