[riot-commits] [RIOT-OS/RIOT] 7b34ca: xbee: fixed missing unlocks

kYc0o fco.ja.ac at gmail.com
Tue Apr 19 15:24:59 CEST 2016


  Branch: refs/heads/2016.04-branch
  Home:   https://github.com/RIOT-OS/RIOT
  Commit: 7b34ca342ef7d0ba372341211133fc7b56546818
      https://github.com/RIOT-OS/RIOT/commit/7b34ca342ef7d0ba372341211133fc7b56546818
  Author: Yonezawa-T2 <Yonezawa-T2 at mail.dnp.co.jp>
  Date:   2016-04-19 (Tue, 19 Apr 2016)

  Changed paths:
    M drivers/xbee/xbee.c

  Log Message:
  -----------
  xbee: fixed missing unlocks


  Commit: b4e173140ab13d485127cd7ceae0dec9635e68f7
      https://github.com/RIOT-OS/RIOT/commit/b4e173140ab13d485127cd7ceae0dec9635e68f7
  Author: Yonezawa-T2 <Yonezawa-T2 at mail.dnp.co.jp>
  Date:   2016-04-19 (Tue, 19 Apr 2016)

  Changed paths:
    M drivers/xbee/xbee.c

  Log Message:
  -----------
  xbee: fixed broadcast header

Destination address is at tx_buf[5] and tx_buf[6] rather than tx_buf[4] and
tx_buf[5].

Broadcast header is overridden by following code mistakenly.


  Commit: 2c641587a493a302589d851de9eee5d1ca177cd4
      https://github.com/RIOT-OS/RIOT/commit/2c641587a493a302589d851de9eee5d1ca177cd4
  Author: Yonezawa-T2 <Yonezawa-T2 at mail.dnp.co.jp>
  Date:   2016-04-19 (Tue, 19 Apr 2016)

  Changed paths:
    M drivers/xbee/xbee.c

  Log Message:
  -----------
  xbee: fixed RSSI header parsing


  Commit: 59a91f9dc19caec37e7413423312868345ba04a6
      https://github.com/RIOT-OS/RIOT/commit/59a91f9dc19caec37e7413423312868345ba04a6
  Author: Yonezawa-T2 <Yonezawa-T2 at mail.dnp.co.jp>
  Date:   2016-04-19 (Tue, 19 Apr 2016)

  Changed paths:
    M drivers/include/xbee.h

  Log Message:
  -----------
  xbee: changed default channel from 0x1A to 0x17 to support XBee-PRO

XBee supports channels 0x0B-0x1A while XBee-PRO supports only 0x0C-0x17.


  Commit: 0798edf8354646e21c2bfddf126f5182427a8fe6
      https://github.com/RIOT-OS/RIOT/commit/0798edf8354646e21c2bfddf126f5182427a8fe6
  Author: Yonezawa-T2 <Yonezawa-T2 at mail.dnp.co.jp>
  Date:   2016-04-19 (Tue, 19 Apr 2016)

  Changed paths:
    M drivers/xbee/xbee.c

  Log Message:
  -----------
  xbee: disable short address when the address length is set to 8

XBee sends short address even for `API_ID_TX_LONG_ADDR` if short address is
enabled. This results in check sum error of ICMPv6 since the IP address is
computed based on long address on the sender side while it is computed based on
short address on the receiver side.


  Commit: 29788abba31cf2fe3b0e971717c153f1e274a71b
      https://github.com/RIOT-OS/RIOT/commit/29788abba31cf2fe3b0e971717c153f1e274a71b
  Author: Yonezawa-T2 <Yonezawa-T2 at mail.dnp.co.jp>
  Date:   2016-04-19 (Tue, 19 Apr 2016)

  Changed paths:
    M drivers/xbee/xbee.c

  Log Message:
  -----------
  xbee: fixed that `_set_addr` destructed given address.

`_set_addr` is called from `xbee_init` with lower bytes of the long address.
If `_set_addr` destructs the given address, the long address is also destructed.


  Commit: bdb266baf547e59fab1fa4273a477a2c314239df
      https://github.com/RIOT-OS/RIOT/commit/bdb266baf547e59fab1fa4273a477a2c314239df
  Author: Yonezawa-T2 <Yonezawa-T2 at mail.dnp.co.jp>
  Date:   2016-04-19 (Tue, 19 Apr 2016)

  Changed paths:
    M drivers/xbee/xbee.c

  Log Message:
  -----------
  xbee: add packet filtering to emulate non-transitive network.

When debugging multihop wireless network, it is useful to emulate non-transitive
network, that is, node A can communicate with B and B can communicate with C,
but A cannot communicate with C directly.

If `XBEE_DENIED_ADDRESSES`, which is an array of XBee long addresses, is
defined, packets from those addresses are dropped silently.

Example:
CFLAGS += "-DXBEE_DENIED_ADDRESSES={ 0x02, 0x12, 0x34, 0x56, 0x78, 0x9a, 0xbc, 0xde, 0x02, 0x11, 0x11, 0x11, 0x11, 0x11, 0x11, 0x11 }"


  Commit: cb77d7089b74f2f05090f4d2d75dca8e976ee1c1
      https://github.com/RIOT-OS/RIOT/commit/cb77d7089b74f2f05090f4d2d75dca8e976ee1c1
  Author: Yonezawa-T2 <Yonezawa-T2 at mail.dnp.co.jp>
  Date:   2016-04-19 (Tue, 19 Apr 2016)

  Changed paths:
    M drivers/xbee/xbee.c

  Log Message:
  -----------
  xbee: enriched debug output


  Commit: 3e856d5df6b30817bae220dd0d63609febbe418c
      https://github.com/RIOT-OS/RIOT/commit/3e856d5df6b30817bae220dd0d63609febbe418c
  Author: kYc0o <fco.ja.ac at gmail.com>
  Date:   2016-04-19 (Tue, 19 Apr 2016)

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

  Log Message:
  -----------
  Merge pull request #5345 from authmillenon/xbee/fix/pr4445

xbee: fixed several bugs (backport)


Compare: https://github.com/RIOT-OS/RIOT/compare/0be940f68d26...3e856d5df6b3


More information about the commits mailing list