DWM1001-DEV UART API generic mode returns error

I have been trying to use an Arduino Nano 33 BLE connected to the UART serial pins to get the estimated location from the tag node. If I, for example, write out the hex 0x3200 to Serial1 to get the status bit string (or request the location), I get the same return value with Type=0x40 Length=0x01 err_code=0x01, which seems to represent command not found. Is there some problem with the way the TLV command is being formatted? I have read over the documentation many times and looked at other examples and cannot seem to figure out why I can’t get any information from the DWM1001 in generic mode, but I can get info in shell mode using the les command (or whichever one it was) to get the estimated position of anchors and tag.

Hi @anthony-simetri ,

Please take a look at TLV API — LEAPS to see the TLV API protocol format and API Command List — LEAPS for API list. You can use dwm_loc_get to read the location from DWM1001.

Best Regards,
TN