Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

xbee: fixed several bugs #4445

Merged
merged 8 commits into from
Apr 19, 2016
Merged

xbee: fixed several bugs #4445

merged 8 commits into from
Apr 19, 2016

Commits on Apr 18, 2016

  1. Configuration menu
    Copy the full SHA
    4f864b0 View commit details
    Browse the repository at this point in the history
  2. 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.
    Yonezawa-T2 committed Apr 18, 2016
    Configuration menu
    Copy the full SHA
    bea5eac View commit details
    Browse the repository at this point in the history

Commits on Apr 19, 2016

  1. Configuration menu
    Copy the full SHA
    8481d85 View commit details
    Browse the repository at this point in the history
  2. xbee: changed default channel from 0x1A to 0x17 to support XBee-PRO

    XBee supports channels 0x0B-0x1A while XBee-PRO supports only 0x0C-0x17.
    Yonezawa-T2 committed Apr 19, 2016
    Configuration menu
    Copy the full SHA
    67c3ab8 View commit details
    Browse the repository at this point in the history
  3. 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.
    Yonezawa-T2 committed Apr 19, 2016
    Configuration menu
    Copy the full SHA
    66dd84e View commit details
    Browse the repository at this point in the history
  4. 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.
    Yonezawa-T2 committed Apr 19, 2016
    Configuration menu
    Copy the full SHA
    a6ae7c8 View commit details
    Browse the repository at this point in the history
  5. 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 }"
    Yonezawa-T2 committed Apr 19, 2016
    Configuration menu
    Copy the full SHA
    15ecee4 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    eb7cc30 View commit details
    Browse the repository at this point in the history