ANNOUNCE: openthread af802154

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I already talked in openthread-users [0] about af802154 feature in
openthread.

I use it in my case to create some virtual setup to let talk a linux
interface with openthread userspace instance.

Code can be found [1].

--- snip
#!/bin/sh
rmmod fakelb
modprobe fakelb numlbs=4

ip link add link wpan0 name lowpan0 type lowpan
iwpan dev wpan0 set pan_id 0x0000
ip link set wpan0 up
ip link set lowpan0 up

iwpan dev wpan1 del
iwpan phy1 interface add ot0 type monitor

iwpan dev wpan2 del
iwpan phy2 interface add ot1 type monitor

ip link set ot0 up
ip link set ot1 up

iwpan dev wpan3 del
iwpan phy3 interface add monitor0 type monitor

ip link set monitor0 up
--- snap

Will create ot0 and ot1 interface which is a monitor interface. It works
on the same stuff like my raw802154 driver for RIOT-OS [2].

You can run openthread on a monitor then with:

AF_PACKET_IFNAME="ot0" ./ot-cli 1

where AF_PACKET_IFNAME is your 802.15.4 monitor interface.

I use it only for fakelb driver and don't recommend it to run it on real
hardware. For my case, I do some MLE experiments. [3] ;-)

For what we can do it also is:

Implementing MLME-ops -> openthread support some! :-)

- Alex

[0] https://groups.google.com/forum/#!topic/openthread-users/BXOk9JfDsqY 
[1] https://github.com/linux-wpan/openthread/tree/af802154
[2] https://github.com/RIOT-OS/RIOT/pull/5582
[3] https://tools.ietf.org/html/draft-ietf-6lo-mesh-link-establishment-00
--
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



[Index of Archives]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux