[riot-notifications] [RIOT-OS/RIOT] pkg/uwb_core: initial support (#15070)

Francisco notifications at github.com
Tue Nov 3 08:35:44 CET 2020


@fjmolinas commented on this pull request.



> +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

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.

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.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/15070#discussion_r516468315
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20201102/e987c34a/attachment.htm>


More information about the notifications mailing list