[riot-commits] [RIOT-OS/RIOT] 103c42: drivers/cc2420: calculate CRC and check CRC_OK bit...

Peter Kietzmann peter.kietzmann at haw-hamburg.de
Wed Nov 9 09:33:32 CET 2016


  Branch: refs/heads/master
  Home:   https://github.com/RIOT-OS/RIOT
  Commit: 103c426cdc6022b0077804edc183ee075c3c40cf
      https://github.com/RIOT-OS/RIOT/commit/103c426cdc6022b0077804edc183ee075c3c40cf
  Author: Thomas Eichinger <thomas.eichinger1 at gmail.com>
  Date:   2016-11-08 (Tue, 08 Nov 2016)

  Changed paths:
    M drivers/cc2420/cc2420.c
    M drivers/include/cc2420.h

  Log Message:
  -----------
  drivers/cc2420: calculate CRC and check CRC_OK bit on packet reception

First start calculating the CRC in hardware when receiving a frame.

Then, other than the at86rf2xx transceivers the cc2420 don't consider the
CRC_OK flag when reporting a successful packet reception. This change
introduces a check for this bit and drops the packet else by flushing
the RX FIFO.


  Commit: 2502b4e5f50343eed184501126e681774716606b
      https://github.com/RIOT-OS/RIOT/commit/2502b4e5f50343eed184501126e681774716606b
  Author: Peter Kietzmann <peter.kietzmann at haw-hamburg.de>
  Date:   2016-11-09 (Wed, 09 Nov 2016)

  Changed paths:
    M drivers/cc2420/cc2420.c
    M drivers/include/cc2420.h

  Log Message:
  -----------
  Merge pull request #6015 from thomaseichinger/pr/cc2420_crc_check

drivers/cc2420: calculate CRC and check CRC_OK bit on packet reception


Compare: https://github.com/RIOT-OS/RIOT/compare/10d02d1689a3...2502b4e5f503


More information about the commits mailing list