[riot-notifications] [RIOT-OS/RIOT] pkg/uwb_core: initial support (#15070)
Alexandre Abadie
notifications at github.com
Tue Nov 3 16:47:37 CET 2020
@aabadie commented on this pull request.
> + LOG_DEBUG("{\"utime\": %" PRIu32 ",\"exec\": \"%s\"}\n", utime, __FILE__);
+ LOG_DEBUG("{\"device_id\"=\"%" PRIx32 "\"", udev->device_id);
+ LOG_DEBUG(",\"panid=\"%X\"", udev->pan_id);
+ LOG_DEBUG(",\"addr\"=\"%X\"", udev->uid);
+ LOG_DEBUG(",\"part_id\"=\"%" PRIx32 "\"",
+ (uint32_t)(udev->euid & 0xffffffff));
+ LOG_DEBUG(",\"lot_id\"=\"%" PRIx32 "\"}\n", (uint32_t)(udev->euid >> 32));
+ LOG_DEBUG("{\"utime\": %"PRIu32",\"msg\": \"frame_duration = %d usec\"}\n",
+ utime, uwb_phy_frame_duration(udev, sizeof(twr_frame_final_t)));
+ LOG_DEBUG("{\"utime\": %"PRIu32",\"msg\": \"SHR_duration = %d usec\"}\n",
+ utime, uwb_phy_SHR_duration(udev));
+ LOG_DEBUG("{\"utime\": %"PRIu32",\"msg\": \"holdoff = %d usec\"}\n", utime,
+ (uint16_t)ceilf(uwb_dwt_usecs_to_usecs(rng->config.
+ tx_holdoff_delay)));
+
+#if MYNEWT_VAL(TWR_SS_ACK_ENABLED)
Is it possible to use RIOT macros (and not `MYNEWT_VAL`) ?
--
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#pullrequestreview-522631095
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20201103/5875e1c9/attachment.htm>
More information about the notifications
mailing list