I have written some C code in User Application thread that configures our DWM1001 Dev device as an anchor in passive mode (Listener). When I enter the ‘les’ command over UART shell mode, the location engine data from my tag device is outputted just fine.
What I want is to not have to send the ‘les’ command to start receiving the location of my tag device, but rather I would like to write some C code in the User Application that starts outputting that data as soon as it is available from a tag device on the same PAN network.
I have tried to use ‘dwm_loc_get()’ from my listener device, but the x, y, z, qf values just remain 0, 0, 0, 0.
Is this the correct method to achieve location data from my Listener device?
Many thanks in advance!