Hi,
Reading DW1001 Firmware API Guide
5.18 les
Show distances to ranging anchors and the position if location engine is enabled. Sending this command multiple times will turn on/off this functionality.
Example: dwm> les
1151[5.00,8.00,2.25]=6.48 0CA8[0.00,8.00,2.25]=6.51 111C[5.00,0.00,2.25]=3.18 1150[0.00,0.00,2.25]=3.16 le_us=2576 est[2.57,1.98,1.68,100]
5.19 lec
Show distances to ranging anchors and the position if location engine is enabled in CSV format. Sending this command multiple times will turn on/off this functionality.
Example: dwm> lec
DIST,4,AN0,1151,5.00,8.00,2.25,6.44,AN1,0CA8,0.00,8.00,2.25,6.50,AN2,111C,5.00,0.00,2.25,3.24,A N3,1150,0.00,0.00,2.25,3.19,POS,2.55,2.01,1.71,98
5.20 lep
Show position in CSV format. Sending this command multiple times will turn on/off this functionality.
Example: dwm> lep POS,2.57,2.00,1.67,97
But when execute the commands
dwm> les
dwm> [002839.360 INF] loc_data: 2
0) 82B8[-2.53,2.48,1.71,50,x85]
[i] 1) 9C85[-0.97,-0.59,0.34,50,x44]
dwm> lec[/i]
dwm> POS,0,9C85,-0.99,-0.55,0.26,50,xE5
[i]POS,1,82B8,-2.54,2.50,1.66,50,x26
[/i]dwm> lep
dwm> POS,0,82B8,-2.56,2.48,1.65,50,xC8
POS,1,9C85,-0.98,-0.54,0.30,50,x87
It seems that lec and lep responds the same
Best Regards,
Sergio