UART api get_loc return bytes corrupted

Hello,

Currently, I am using an Arduino to communicate with my DWM1001-DEV board by connecting the Rx and Tx pins. I use my arduino to send command in bytes and parse the TLV packet that the dwm1001 sent back to me. I can smoothly request the position data and everything is working perfectly. However, when I tried to request for the location data (by sending 0x0C 0x00), the TLV packets that DWM1001 send back to me are all corrupted. Most of the packets are wrong (not starting by 0X40 0X01 0X00), for the rest of them, though the TLV packet is starting correctly, the byte will be wrong after the first or the second anchor’s information.

Can anyone give me some hints? Thanks in advance.

Here are the TLV packets I will get by requesting for pos data, concrete and reliable:
40 1 0 41 D C7 7 0 0 C5 15 0 0 53 4 0 0 64
40 1 0 41 D BA 7 0 0 C0 15 0 0 40 4 0 0 64
40 1 0 41 D E1 7 0 0 BB 15 0 0 98 4 0 0 32
40 1 0 41 D C3 7 0 0 BC 15 0 0 68 4 0 0 64
40 1 0 41 D B2 7 0 0 B9 15 0 0 2C 4 0 0 64
40 1 0 41 D 99 7 0 0 BE 15 0 0 11 4 0 0 64
40 1 0 41 D D4 7 0 0 9B 15 0 0 E1 3 0 0 32
40 1 0 41 D EA 7 0 0 AD 15 0 0 50 4 0 0 64
40 1 0 41 D D0 7 0 0 B1 15 0 0 31 4 0 0 64
40 1 0 41 D BA 7 0 0 B5 15 0 0 16 4 0 0 64
40 1 0 41 D AE 7 0 0 B2 15 0 0 B 4 0 0 64

However, these are the Loc TLV packets, most of them are wrong:
64 2A 15 F4 17 0 0 64 AE 10 0 0 0 0 0 0 C4 9 0 0 64 97 A 79 11 0 0 64 11 FF FF FF E8 21 0 0 C4 9 0 0 64 A8 8A 73 10 0 0 64 A8 11 0 0 F2 21 0 0 C4 9 0 0 64 40 1 2A 15 F8 17
0 0 64 AE 10 0 0 0 0 0 0 C4 9 0 0 64 A8 8A 85 10 0 0 64 A8 11 0 0 F2 21 0 0 C4 9 0 0 64 40 1 0 41 D 55 9 0 0 93 15 0 0 9A 2 0 0 64 49 51 4 34 8 27 18 0 0 2A 15 CE 17
0 0 64 AE 10 0 0 0 0 0 0 C4 9 0 0 64 97 A A8 11 0 0 64 11 FF FF FF E8 21 0 0 C4 9 0 0 64 A8 8A 93 10 0 0 64 A8 11 0 0 F2 21 0 0 C4 9 0 0 64 40 1 0 41 D 3B 9 15 C9 17
0 0 64 AE 10 0 0 0 0 0 0 C4 9 0 0 64 A8 8A 98 10 0 0 64 A8 11 0 0 F2 21 0 0 C4 9 0 0 64 40 1 0 41 D 1C 9 0 0 7B 15 0 0 B5 2 0 0 32 49 3D 3 34 8 56 18 0 0 15 DC 17
0 0 64 AE 10 0 0 0 0 0 0 C4 9 0 0 64 A8 8A 98 10 0 0 64 A8 11 0 0 F2 21 0 0 C4 9 0 0 64 40 1 0 41 D 48 9 0 0 91 15 0 0 9F 2 0 0 64 49 51 4 34 8 B 18 0 0 15 6 18
0 0 64 AE 10 0 0 0 0 0 0 C4 9 0 0 64 97 A 8C 11 0 0 64 11 FF FF FF E8 21 0 0 C4 9 0 0 64 A8 8A 65 10 0 0 64 A8 11 0 0 F2 21 0 0 C4 9 0 0 64 40 1 0 41 D 4C 9 2A 15 F4 17
0 0 64 AE 10 0 0 0 0 0 0 C4 9 0 0 64 97 A 9F 11 0 0 64 11 FF FF FF E8 21 0 0 C4 9 0 0 64 A8 8A 81 10 0 0 64 A8 11 0 0 F2 21 0 0 C4 9 0 0 64 40 1 0 41 D 6F 9 15 E1 17
0 0 64 AE 10 0 0 0 0 0 0 C4 9 0 0 64 97 A BB 11 0 0 64 11 FF FF FF E8 21 0 0 C4 9 0 0 64 A8 8A 78 10 0 0 64 A8 11 0 0 F2 21 0 0 C4 9 0 0 64 40 1 0 41 D 59 9 0 64 2A 15
D3 17 0 0 64 AE 10 0 0 0 0 0 0 C4 9 0 0 64 A8 8A 93 10 0 0 64 A8 11 0 0 F2 21 0 0 C4 9 0 0 64 40 1 0 41 D 43 9 0 0 8A 15 0 0 8C 2 0 0 64 49 51 4 34 8 51
18 0 0 64 0 0 0 0 0 0 0 0 C4 9 0 0 64 2A 15 F4 17 0 0 64 AE 10 0 0 0 0 0 0 C4 9 0 0 64 97 A 8C 11 0 0 64 11 FF FF FF E8 21 0 0 C4 9 0 0 64 A8 8A 81 10 0 0 15 F4 17
0 0 64 AE 10 0 0 0 0 0 0 C4 9 0 0 64 97 A 9A 11 0 0 64 11 FF FF FF E8 21 0 0 C4 9 0 0 64 A8 8A 8A 10 0 0 64 A8 11 0 0 F2 21 0 0 C4 9 0 0 64 40 1 0 41 D 4A 9 15 DC 17
0 0 64 AE 10 0 0 0 0 0 0 C4 9 0 0 64 97 A C9 11 0 0 64 11 FF FF FF E8 21 0 0 C4 9 0 0 64 A8 8A 81 10 0 0 64 A8 11 0 0 F2 21 0 0 C4 9 0 0 64 40 1 0 41 D 48 9 15 DC 17