Re: [riot-devel] SamR21 Not using the build in radio
Hi Ilias, for you GPRS device you need to implement a device driver (which should implement the netdev2 interface to be able to integrate with out network stack(s). Roughly you then need to do the following: For not using the build in radio, you don't have to change anything in the code, all you need to do is not use the `USEMODULE=netif_default` in your applications Makefile... Instead you then simply tell the make system to use your GPRS device (something like `USEMODULE=your_driver_name`) and add auto-initialization code for your device to sys/auto-init/netif/. Cheers, Hauke On 25.01.2016 14:50, Ilias Seitanidis wrote: Dear all, I want to use the sam R21 Xpro with a GPRS plugin (Some friends from the electronics department will take care of the hardware connectivity). What changes should I perform to the Riot code? Thank you in advance! ___ devel mailing list devel@riot-os.org https://lists.riot-os.org/mailman/listinfo/devel ___ devel mailing list devel@riot-os.org https://lists.riot-os.org/mailman/listinfo/devel
Re: [riot-devel] SamR21 Not using the build in radio
Thank you very much Hauke !!! 2016-01-26 15:52 GMT+01:00 Hauke Petersen: > Hi Ilias, > > for you GPRS device you need to implement a device driver (which should > implement the netdev2 interface to be able to integrate with out network > stack(s). > > Roughly you then need to do the following: > For not using the build in radio, you don't have to change anything in the > code, all you need to do is not use the `USEMODULE=netif_default` in your > applications Makefile... Instead you then simply tell the make system to > use your GPRS device (something like `USEMODULE=your_driver_name`) and add > auto-initialization code for your device to sys/auto-init/netif/. > > Cheers, > Hauke > > > > > On 25.01.2016 14:50, Ilias Seitanidis wrote: > > Dear all, > I want to use the sam R21 Xpro with a GPRS plugin (Some friends from the > electronics department will take care of the hardware connectivity). What > changes should I perform to the Riot code? > Thank you in advance! > > > ___ > devel mailing > listdevel@riot-os.orghttps://lists.riot-os.org/mailman/listinfo/devel > > > > ___ > devel mailing list > devel@riot-os.org > https://lists.riot-os.org/mailman/listinfo/devel > > ___ devel mailing list devel@riot-os.org https://lists.riot-os.org/mailman/listinfo/devel
[riot-devel] SamR21 Not using the build in radio
Dear all, I want to use the sam R21 Xpro with a GPRS plugin (Some friends from the electronics department will take care of the hardware connectivity). What changes should I perform to the Riot code? Thank you in advance! ___ devel mailing list devel@riot-os.org https://lists.riot-os.org/mailman/listinfo/devel