<p></p>
<p><b>@fjmolinas</b> commented on this pull request.</p>

<hr>

<p>In <a href="https://github.com/RIOT-OS/RIOT/pull/15070#discussion_r516468315">examples/twr_aloha/Makefile</a>:</p>
<pre style='color:#555'>> +ifneq (,$(filter llvm,$(TOOLCHAIN)))
+  CFLAGS += -Wno-microsoft-anon-tag
+endif
+
+# Enable verbose mode to get all logs
+CFLAGS += -DMYNEWT_VAL_RNG_VERBOSE=2
+# Enable RX diagnostics
+CFLAGS += -DDW1000_RX_DIAGNOSTIC=1
+
+# Fix the TWR alogorithm:
+# - UWB_DATA_CODE_SS_TWR
+# - UWB_DATA_CODE_SS_TWR_EXT
+# - UWB_DATA_CODE_SS_TWR_ACK
+# - UWB_DATA_CODE_DS_TWR
+# - UWB_DATA_CODE_DS_TWR_EXT
+UWB_FIXED_TWR_ALGORITHM ?= UWB_DATA_CODE_SS_TWR
</pre>
<p>The current application will send ranging request looping over the different algorithms. You can tell it not to do that and use a fixed one.</p>
<p>As you can see since the following line (with the CFLAG) is commented out, the algorithm is not fixed. I believe this is mentioned in the README. Let me know if there are ways I can improve this.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/RIOT-OS/RIOT/pull/15070#discussion_r516468315">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABE7WYD2KYR4HYGRNL757TLSN6XFBANCNFSM4RXDUYFQ">unsubscribe</a>.<img src="https://github.com/notifications/beacon/ABE7WYCUOLR3JMZAINY34WLSN6XFBA5CNFSM4RXDUYF2YY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOD4QLVSQ.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/RIOT-OS/RIOT/pull/15070#discussion_r516468315",
"url": "https://github.com/RIOT-OS/RIOT/pull/15070#discussion_r516468315",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>