Hi,

2017-02-07 17:27 GMT+01:00 Hauke Petersen <[email protected]>:

> Hi Friedrich,
>
> acutally what you want to do is quite simple. You actually don't even need
> to exchange the transceiver, you could as well run your system with both of
> them, the at86rf + your PLC transceivers.
>
> So if you take the gnrc_networking example as a base, and say that your
> PLC driver comes with all the neccessary auto_init code and board
> configuration (more of this below), all you need to do is:
> ```
> USEMODULE=YOUR_PLC_DRIVER_NAME_HERE BOARD=samr21-xpro make all
> ```
> This will build the GNRC networking example and link your PLC transceiver
> right in.
>

One small addition to that: you also need to increase the number of
interfaces in GNRC, otherwise GNRC will just pick-up one of the devices:

> USEMODULE=YOUR_PLC_DRIVER_NAME_HERE CFLAGS=-DGNRC_NETIF_NUMOF=2
BOARD=samr21-xpro make all

Cheers,
Martine
_______________________________________________
users mailing list
[email protected]
https://lists.riot-os.org/mailman/listinfo/users

Reply via email to