> On 3/30/16, Stefan Schmidt <stefan@xxxxxxxxxxxxxxx> wrote: > Are you actually sure you have the socket code for ieee802154 enabled in > your kernel build? > CONFIG_IEEE802154_SOCKET > > If it is not build into the kernel, are you sure the module is loaded? > > regards > Stefan Schmidt > Hi Stefan, Fortunately I got 802.15.4 socket work by modifying wpan-ping code. By the way, does the function generate_packet(unsigned char *buf, struct config *conf, unsigned int seq_num) try to generate a packet which is not 6LoWPAN? The code set 0x00 for the dispatch header. Now I need an example of using 6LoWPAN socket API instead of creating packet manually. Would anyone mind sharing the code if you have implement it? -- 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