[riot-notifications] [RIOT-OS/RIOT] drivers: net: add ethocan (Ethernet-over-CAN) driver (#10710)

Juergen Fitschen notifications at github.com
Mon Jan 7 22:58:35 CET 2019


As you can see above, I already fixed some bugs:
1) The transition from state `BLOCKED` to `IDLE` after a random timeout does not occure, if the selected timeout is close to zero. So I changed the interval from [0, MAX_TIMEOUT] to [0.1*MAX_TIMEOUT, MAX_TIMEOUT].
1) If the frame's CRC happens to be 0xFE or 0xFF - our special octets for ESC and END - they weren't escaped. Fixed that ...
1) When we enter SEND state, there is a small chance that we get interrupted by a start bit of an incoming frame. Thus, we now check if we actually entered SEND and if we didn't, we will try again.
1) I think, I revealed the source of my auto initialization code ;)

-- 
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/10710#issuecomment-452096785
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190107/b92dbea5/attachment.html>


More information about the notifications mailing list