Hey guys,
finally I have 6lowpan running. However, acknowledgement of frames is not
working. When I enable address filtering in the at86rf230, I only receive
broadcast frames and no unicast frames anymore.
The reason seems to be the addressing. I have setup my wpan0 device to use this
address:
ip link set wpan0 address a0:a0:a0:a0:a0:a0:a0:a0
The ieee802154 stack has put exactly this address into the call to
set_hw_addr_filt. The driver puts this in the hardware filter of the radio.
For the 6lowpan address, I configure my address like so:
ip link set lowpan0 address a0:0:0:0:0:0:0:2
Now when I setup a 6lowpan link over the wpan0 device, I see packets (ICMP6
Neighbour Solicitation) like this on a sniffer device:
IEEE 802.15.4 Data, Dst: a0:00:0000:00:0000:02, Src: b0:00:0000:00:0000:02
Frame Control Field: Data (0xcc41)
Sequence Number: 45
Destination PAN: 0x0780
Destination: a0:00:0000:00:0000:02 (a0:00:00:00:00:00:00:02)
Extended Source: b0:00:0000:00:0000:02 (b0:00:00:00:00:00:00:02)
FCS: 0x14d3 (Correct)
6LoWPAN
IPHC Header
Next header: ICMPv6 (0x3a)
Source: fe80::b000:0:0:2 (fe80::b000:0:0:2)
Destination: fe80::a000:0:0:2 (fe80::a000:0:0:2)
That means: the stack is using my 6lowpan address as sender (and receiver) in
the IEEE 802.15.4 packets. It this intended to be this way (I was unable to
find anything about this in the 6lowpan spec, so I suppose not)? If so, should
we enforce it? If not, what am I overlooking?
Regards,
Bastian
--
Wolf-Bastian Pöttner Institut für Betriebssysteme & Rechnerverbund
Tel.: +49-531-391-3265 Mühlenpfordtstrasse 23
Fax.: +49-531-391-5936 TU Braunschweig D-38106 Braunschweig
smime.p7s
Description: S/MIME cryptographic signature
------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________ Linux-zigbee-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/linux-zigbee-devel
