cetic / 6lbr

A deployment-ready 6LoWPAN Border Router solution based on Contiki
github.com/cetic/6lbr/wiki
Other
337 stars 195 forks source link

OpenLabs at86rf233 compatibility with 6lbr #303

Open fbalseirolago opened 7 years ago

fbalseirolago commented 7 years ago

Hi,

I have been working for some time now with 6lbr. My setup is basically a RPI2 which acts as a border router and in which 6lbr is deployed. The RPI2 has connected to one of its USB ports a CC2650 sensortag in which a slip-radio program has been flashed. The RPI2 will then communicate with other sensors through this 6LowPAN network deployed.

My issue comes when I want to replace my slip-radio with the following OpenLabs module: http://openlabs.co/store/Raspberry-Pi-802.15.4-radio . I have succesfully created a network interface and managed to ping two RPI2's through this module and interface.

I have seen that there are open issues regarding this topic but none of them have really clarified the procedure to get this set up working. Has anybody achieved or at least know any approaches to solve this issue? The aim of my project is to basically extract data from the sensors through a CoAP client deployed in my RPI2 and send them over to a cloud database. I am managing to do this with 6lbr and the slip-radio setup however does anyone think using 6lbr may not be an optimal approach?

Thank you very much and I hope the description above is clear.

laurentderu commented 7 years ago

Hello,

Until now 6LBR only supported 802.15.4 radio using the serial "SLIP-RADIO" protocol. The OpenLabs module on the other hand is directly handled by the Linux kernel and exposes an interface instead of a communication device.

The radio layer in 6LBR is currently reworked and should be able in the future to use non "slip-radio" device as wireless interface, so theoretically also the OpenLabs module.

About your project, I'm not sure if I understand it correctly, are you simply sniffing the 6LoWPAN traffic and extracting the CoAP payload or do you have a real CoAP client on your RPi ?