[riot-commits] [RIOT-OS/RIOT] d49416: drivers/sx126x: fix netdev send function

Francisco noreply at github.com
Tue Jul 6 11:46:04 CEST 2021


  Branch: refs/heads/master
  Home:   https://github.com/RIOT-OS/RIOT
  Commit: d4941604d99d0dc3285df4ad69934550a734c213
      https://github.com/RIOT-OS/RIOT/commit/d4941604d99d0dc3285df4ad69934550a734c213
  Author: Jose Alamos <jose at alamos.cc>
  Date:   2021-06-18 (Fri, 18 Jun 2021)

  Changed paths:
    M drivers/sx126x/sx126x_netdev.c

  Log Message:
  -----------
  drivers/sx126x: fix netdev send function

This commit fixes the send function of sx126x. The loop that reads the
iolist was not considering the offset. Therefore each iolist snippet was
being written into the first position.

The loop was also setting the payload length to the size of the iolist
snippet. Then the payload was also wrong.

With this commit an iolist is copied sequentially into the framebuffer
and the payload length is set to `iolist_size`


  Commit: 951822c41b34cf62ed29ab58ed1e34cbbcd3894b
      https://github.com/RIOT-OS/RIOT/commit/951822c41b34cf62ed29ab58ed1e34cbbcd3894b
  Author: Jose Alamos <jose at alamos.cc>
  Date:   2021-06-22 (Tue, 22 Jun 2021)

  Changed paths:
    M drivers/sx126x/sx126x_netdev.c

  Log Message:
  -----------
  drivers/sx126x: fix wrong return value in recv function


  Commit: 94820faab9bd813d0d3796d7e0445c99409c444f
      https://github.com/RIOT-OS/RIOT/commit/94820faab9bd813d0d3796d7e0445c99409c444f
  Author: Francisco <femolina at uc.cl>
  Date:   2021-07-06 (Tue, 06 Jul 2021)

  Changed paths:
    M drivers/sx126x/sx126x_netdev.c

  Log Message:
  -----------
  Merge pull request #16570 from jia200x/pr/sx126x/fix_netdev_write

drivers/sx126x: fix netdev send and recv function


Compare: https://github.com/RIOT-OS/RIOT/compare/6bc7767b8494...94820faab9bd


More information about the commits mailing list