hai...
I enabled the lowpan and wpan interfaces by using:
$ iz add wpan-phy0
$ ip link set wpan0 address a0:0:0:0:0:0:0:1
$ ifconfig wpan0 up
$ iz set wpan0 22 1 15 //22:panid,1:short
address,15:channel number
$ ip link add link wpan0 name lowpan0 type lowpan
$ ip link set lowpan0 address a0:0:0:0:0:0:0:1
$ ip link set lowpan0 up
I am able to see the two interface:
lowpan0 Link encap:UNSPEC HWaddr
A0-00-00-00-00-00-00-01-00-00-00-00-00-00-00-00
inet6 addr: fe80::a200:0:0:1/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1281 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
wpan0 Link encap:UNSPEC HWaddr
A0-00-00-00-00-00-00-01-00-00-00-00-00-00-00-00
UP BROADCAST RUNNING NOARP MTU:127 Metric:1
RX packets:390 errors:0 dropped:0 overruns:0 frame:0
TX packets:2486 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:300
RX bytes:15789 (15.4 KiB) TX bytes:56803 (55.4 KiB)
I am able to send the packet over the wpan interface from user space by using
the IEEE-802.15.4 sockets. When i use sendmsg() the packet is including MAC
header and payload.
My question how to use the enabled lowpan interface and how to send and receive
the packets ?
Regards,
Bhadram
-------------------------------------------------------------------------------------------------------------------------------
This e-mail is for the sole use of the intended recipient(s) and may
contain confidential and privileged information. If you are not the
intended recipient, please contact the sender by reply e-mail and destroy
all copies and the original message. Any unauthorized review, use,
disclosure, dissemination, forwarding, printing or copying of this email
is strictly prohibited and appropriate legal action will be taken.
-------------------------------------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT
organizations don't have a clear picture of how application performance
affects their revenue. With AppDynamics, you get 100% visibility into your
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
Linux-zigbee-devel mailing list
Linux-zigbee-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-zigbee-devel