nuttx-apps/wireless/ieee802154/i8shark/Kconfig
Anthony Merlino 96acb66d6a Merged in antmerlino/apps (pull request #123)
i8shark: Adds CONFIG_IEEE802154_I8SHARK_XBEE_APPHDR option to remove XBee's application header before sending to Wireshark. This option will corrupt any traffic received that does not include this application header.

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-11-22 21:37:11 +00:00

38 lines
1.2 KiB
Plaintext

#
# For a description of the syntax of this configuration file,
# see the file kconfig-language.txt in the NuttX tools repository.
#
config IEEE802154_I8SHARK
bool "IEEE 802.15.4 Wireshark adapter"
default n
select IEEE802154_LIBUTILS
select IEEE802154_LIBMAC
depends on IEEE802154_MACDEV && NET_UDP && NET_IPv4
if IEEE802154_I8SHARK
config IEEE802154_I8SHARK_DEVPATH
string "MAC char driver path"
default "/dev/ieee0"
---help---
The default path to MAC character driver. Default: /dev/ieee0
config IEEE802154_I8SHARK_HOST_IPADDR
hex "Host IP address where Wireshark is running"
default 0x0a000001
config IEEE802154_I8SHARK_XBEE_APPHDR
bool "XBee App Header compensation"
default n
---help---
XBee radios use an optional "application header" to support duplicate
frame detection. Wireshark does not know about this header and it causes
packets not to be recognized appropriately (6LoWPAN etc.). This option
blindly chops the first 2 bytes of payload from all incoming frames to
remove the header. This option can only be used when sniffing XBee-only
networks, as any frames not containing the application header will have
2 arbitrary bytes removed from it.
endif