Re: Simulating 6lowpan with mac802154_hwsim

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

 



Hi,

On Wed, Jun 12, 2019 at 02:07:26PM -0300, Ramon Fontes wrote:
> One node (e.g. node1) can be connected simultaneously to multiple
> nodes  (e.g. node2 and node3) by using only one 6lowpan interface.
> That said, which node (2 or 3) will node1 taking into account? They
> can have different distances and only one interface in which we can
> use TC. Please correct me if I'm wrong. In my mind, the same is true
> for LQI.
> 

For TC it's true, then you need to match on different addresses e.g. mac
address/short address?

For LQI this is not true, because in mac802154_hwsim you say edges as a
set of vectors (which node can reach the other node) and specify the LQI
value which the receiving node will be get.

The main difference here is that TC works on interface layer whereas
mac802154_hwsim can work on phy layer. Maybe TC can even extended for
such purpose?

> This code (https://github.com/ramonfontes/mininet-iot/blob/master/examples/6LoWPan.py)
> produce such scenario. You can also try 6lowpan.py -m for mobility
> purposes.
> 

Need to test it when I have time.

- Alex



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

  Powered by Linux