[riot-notifications] [RIOT-OS/RIOT] 6lo gnrc fragmentation expects driver to block on TX (#7474)
notifications at github.com
Thu Feb 7 11:12:19 CET 2019
I just stumbled upon the same issue for my rewrite of the `cc110x` driver in https://github.com/RIOT-OS/RIOT/pull/10340.
I would like to point out that an increasing number of network device driver are adding workarounds for this issue, which results in a lot of code duplication. It would clearly better to use, as @miri64 suggested, to wait for `NETDEV_EVENT_TX_COMPLETE ` (and I think also `NETDEV_EVENT_TX_MEDIUM_BUSY` and `NETDEV_EVENT_TX_TIMEOUT`) before passing the next frame to the driver.
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the notifications