bastibl / gr-ieee802-15-4

IEEE 802.15.4 ZigBee Transceiver
https://www.wime-project.net
GNU General Public License v3.0
270 stars 87 forks source link

Add TUNTAP #47

Closed gmartina closed 4 years ago

gmartina commented 4 years ago

Hi Bastian,

Would this module work with a tun/tap (to have IP stack), instead socket PDU?

Thank you

best regards

bastibl commented 4 years ago

It's possible in theory. It's a PHY and it doesn't care what kind of data you put into a frame. The main limitation is that the maximum frame size is quite small, i.e., you'd have to configure a small MTU. One would usually use 6LoWPAN for this. You can have a look at my gr-ieee802-11 project for an example on how to use TUN/TAP with a flowgraph.

gmartina commented 4 years ago

thanks!