On Fri, Jul 24, 2015 at 11:45:48AM +0200, Baptiste Clenet wrote: > 2015-07-24 11:02 GMT+02:00 Baptiste Clenet <bapclenet@xxxxxxxxx>: > > 2015-07-24 10:47 GMT+02:00 Baptiste Clenet <bapclenet@xxxxxxxxx>: > >> 2015-07-24 10:31 GMT+02:00 Alexander Aring <alex.aring@xxxxxxxxx>: > >>> Hi, > >>> > >>> On Fri, Jul 24, 2015 at 09:56:49AM +0200, Baptiste Clenet wrote: > >>>> Hi, > >>>> > >>>> What is SAM value? I got "ieee802154 phy0 wpan0: SAM value 0x3 not > >>>> supported" when I receive a ping from another board. > >>>> > >>> > >>> I think you hit [0]. You got that because we received some 6LoWPAN frame > >>> with context based address compression (the source address). See also [1]. > >> Yes for [0] > >> > >>> > >>> Your options are: > >>> > >>> - That the other board use stateless (means SAC = 0, see [1]) address > >>> compression. > >> How may I check? > >> They use both the same settings, they are based on the same source code. > > SAC bit is set. > > 0 1 2 3 4 5 6 7 8 9 0 > 1 2 3 4 5 > +---+---+---+---+---+---+---+---+---+--- +---+---+---+--- > +---+---+ > | 0 | 1 | 1 | TF |NH |HLIM |CID|SAC| SAM| M |DAC| DAM | > +---+---+---+---+---+---+---+---+---+--- +---+---+---+--- > +---+---+ > Mine: 0 1 1 1 1 1 0 0 1 1 1 1 > 1 0 0 1 > 7bf9 > > Is something wrong? > There is nothing wrong. The question is here "What does the current 6LoWPAN implementation support?" and you try do something "context based address compression" which we don't currently support. We are not _fully_ rfc6282 compliant. - Alex -- To unsubscribe from this list: send the line "unsubscribe linux-wpan" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html