1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
Commit Graph

6 Commits

Author SHA1 Message Date
Kees Bakker
7715c7cdc0 drivers/slipdev: do normal assignment instead of memcpy 2019-01-10 19:43:44 +01:00
Hauke Petersen
a07e71418e drivers/slipdev: use netdev_set_notsup() 2018-11-21 14:33:22 +01:00
23b414b732 drivers: net: adapt to iolist-using netdev 2018-03-06 14:00:31 +01:00
smlng
af3bfd101a driver/slipdev: ignore implicit fallthrough error by GCC 7 2018-01-24 20:09:49 +01:00
Martine Lenders
c61a343193 slipdev: simplify and solidify byte-unstuffing
This simplifies and solidifies the reversal of SLIP's byte-stuffing
(aka byte-unstuffing ;-)) by

1. Using `tsrb` instead of `ringbuffer`: there are two actors. The ISR
   and the device's event handler.
2. Moving the byte-unstuffing from the UART RX-handler (i.e. the ISR)
   to the device's receive function (potentially not the ISR)
3. Removing the `pktfifo` member. The current number of bytes in the
   ringbuffer is returned for `recv(data = NULL, len = 0)`. If that is
   more than the packet contains (due to the byte stuffing it most
   likely will be) the packet is reallocated in GNRC anyway.
2018-01-08 11:51:24 +01:00
Martine Lenders
b74ee8869b slip: port to be used with netdev 2017-10-10 23:14:12 +02:00