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

Martine Lenders authmillenon at gmail.com
Wed Nov 9 12:24:12 CET 2016


  Branch: refs/heads/2016.10-branch
  Home:   https://github.com/RIOT-OS/RIOT
  Commit: 2b42211f23337f210cb3b668933f631d073cfbc7
      https://github.com/RIOT-OS/RIOT/commit/2b42211f23337f210cb3b668933f631d073cfbc7
  Author: Thomas Eichinger <thomas.eichinger1 at gmail.com>
  Date:   2016-11-09 (Wed, 09 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: 670616cab5319bc742ca2c1a98a8bb1cabebc361
      https://github.com/RIOT-OS/RIOT/commit/670616cab5319bc742ca2c1a98a8bb1cabebc361
  Author: Martine Lenders <authmillenon at gmail.com>
  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 #6091 from PeterKietzmann/cc2420_crc_fix

drivers/cc2420: calculate CRC and check CRC_OK bit on packet reception [2016.10-backport]


Compare: https://github.com/RIOT-OS/RIOT/compare/84ad298eb435...670616cab531


More information about the commits mailing list