Re: [riot-devel] networking
Hi Janna, welcome to RIOT! Short answer: Yes and no, but we could need more people working on it :-). Maybe the authors can share further insights. Please have a look at the following efforts: https://github.com/RIOT-OS/RIOT/tree/master/examples/gnrc_networking_mac https://github.com/RIOT-OS/RIOT/pull/6554 https://github.com/RIOT-OS/RIOT/pull/8332 https://github.com/RIOT-OS/RIOT/pull/8570 Best Peter Am 24.02.2018 um 19:57 schrieb Janna Om: > Hello, > i am new in RIOT OS. > I want to write an application that uses different mac protocols. > I would like to know if there already exist CSMA, TDMA and XMAC > implementations in RIOT. > Are there any tutorials or examples available about network > configurations and communication settings? > Thank You in advance! > > > > ___ > devel mailing list > devel@riot-os.org > https://lists.riot-os.org/mailman/listinfo/devel > -- Peter Kietzmann Hamburg University of Applied Sciences Dept. Informatik, Internet Technologies Group Berliner Tor 7, 20099 Hamburg, Germany Fon: +49-40-42875-8426 Web: http://www.haw-hamburg.de/inet ___ devel mailing list devel@riot-os.org https://lists.riot-os.org/mailman/listinfo/devel
[riot-devel] networking
Hello, i am new in RIOT OS. I want to write an application that uses different mac protocols. I would like to know if there already exist CSMA, TDMA and XMAC implementations in RIOT. Are there any tutorials or examples available about network configurations and communication settings? Thank You in advance! ___ devel mailing list devel@riot-os.org https://lists.riot-os.org/mailman/listinfo/devel
Re: [riot-devel] Networking Module does not appear in process list
Hello Bernhard, AFAIK autoinit module is enabled by default, just check if you have defined -DMODULE_AT86RF2XX, -DMODULE_AUTO_INIT_GNRC_NETIF and -DMODULE_AUTO_INIT_GNRC_NETIF while compiling. Im not using default toolchain based on Makefiles so Im not that familiar with it... wbr malo On 3 March 2016 at 01:14, Bernhard Nägelewrote: > Hello malo, > the output of ps show at me the same as you have posted it here with the > exception that there is no at86rfxx. The at86rf2xx driver is compiled - I > see it there. > And I have no hint - no error message or something like that why it isn't > loaded. > It seem for me, that at86rf2xx_init is not executed - that > auto_init_at86rf2xx was > not inivolved in the init-phase. I will check this tomorrow with the > emulator... > If so - which action/module invokes the execution of auto_init_at86rf2xx? > As far > I have seen this are gnrc-netif modules? > Thanks a lot, > Bernhard > > ___ > 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] Networking Module does not appear in process list
Hello malo, the output of ps show at me the same as you have posted it here with the exception that there is no at86rfxx. The at86rf2xx driver is compiled - I see it there. And I have no hint - no error message or something like that why it isn't loaded. It seem for me, that at86rf2xx_init is not executed - that auto_init_at86rf2xx was not inivolved in the init-phase. I will check this tomorrow with the emulator... If so - which action/module invokes the execution of auto_init_at86rf2xx? As far I have seen this are gnrc-netif modules? Thanks a lot, Bernhard ___ devel mailing list devel@riot-os.org https://lists.riot-os.org/mailman/listinfo/devel
Re: [riot-devel] Networking Module does not appear in process list
Hello Bernhard, if you are using rf233 the name of the thread is at86rfxx - check with ps output. you should get something like > ps pid |name | stateQ | pri | stack ( used) | location 1 |idle | pending Q | 15 | 128 ( 96) | 267a 2 |main | running Q | 7 | 640 ( 440) | 1880 3 | 6lo |bl rx _ | 3 | 512 ( 460) | 1d00 4 |ipv6 |bl rx _ | 4 | 640 ( 484) | 1380 5 | udp |bl rx _ | 5 | 512 ( 208) | 1f00 6 |at86rfxx |bl rx _ | 3 | 640 ( 312) | 1100 7 | blink | sleeping _ | 7 | 640 ( 180) | 1600 in the function auto_init_at86rf2xx the thread is created only if the radio was successfully initialized. do you have no error return from the at86rf2xx_init? note that im newbie as well:) wbr malo On 2 March 2016 at 23:37, Bernhard Nägelewrote: > Hello Peter, > thank you. > Just for your understanding - I just tried to make everything exactly as > shown in the Iotlab-M3 board but I get not the result which is listed in > the readme files or the other documentation. > One remark - I think most new RIOT users would resolve their problems by > themself if they have some documentation about the relationship between the > modules. It would be also nice to now where it is the right place for > adding a module (makefile in the board directory / makefile in the project > directory / makefile in the top directory e.g.). > Where is the correct place to invoke auto_init (I guess the Makefile in > the project directory)? Is it necessary to load the radio module driver > manually or will it be loaded automatic (by the make utility)? > You see - a newbie has totally different questions than an implementer who > works with RIOT since for a long time. > > ___ > 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] Networking Module does not appear in process list
Hello Peter, thank you. Just for your understanding - I just tried to make everything exactly as shown in the Iotlab-M3 board but I get not the result which is listed in the readme files or the other documentation. One remark - I think most new RIOT users would resolve their problems by themself if they have some documentation about the relationship between the modules. It would be also nice to now where it is the right place for adding a module (makefile in the board directory / makefile in the project directory / makefile in the top directory e.g.). Where is the correct place to invoke auto_init (I guess the Makefile in the project directory)? Is it necessary to load the radio module driver manually or will it be loaded automatic (by the make utility)? You see - a newbie has totally different questions than an implementer who works with RIOT since for a long time. ___ devel mailing list devel@riot-os.org https://lists.riot-os.org/mailman/listinfo/devel
Re: [riot-devel] Networking Module does not appear in process list
Hi Bernhard, without looking into details of your problem, just a quick hint from my side: The mac layer (nomac) and the device driver are running in the same thread which should be automatically initialized in our networking examples. I don't remember the name of the thread out of my head... Did that already help a bit? Best Peter Am 02.03.2016 um 22:57 schrieb Bernhard Nägele: Hello everybody, today I tried to get the at86rf2xx working with my board. I have the following statement in the board's Makefile: ifneq (,$(filter gnrc_netif_default,$(USEMODULE))) USEMODULE += at86rf233 USEMODULE += gnrc_nomac endif I tried all the networking examples but no example shows the at86rf2xx networking module when I list the threads. I see all networking threads but not the driver. I tried to include (USEMODULE) the Module in the project makefile and then i tried to invoke the auto_init mechanism on serveral places -> no success. Can you please tell me what I have to do to load the radio module driver? I think it would be a good idea to write down how it should go in a tutorial. It's not very nice for newbies to grep through the source code to find out how it should work and what might go wrong (it a little bit like beeing Sherlock Holmes but without having fun). Question 2 - ifconfig: ifconfig help usage: ifconfig [] From where do I get the if_id ? I think you will get it if you invoke ifconfig without parameters (when you have a network module thread running). Is this true? Thanks a lot! Regards, Bernhard ___ devel mailing list devel@riot-os.org https://lists.riot-os.org/mailman/listinfo/devel -- Peter Kietzmann Hamburg University of Applied Sciences Dept. Informatik, Internet Technologies Group Berliner Tor 7, 20099 Hamburg, Germany Fon: +49-40-42875-8426 Web: http://www.haw-hamburg.de/inet ___ devel mailing list devel@riot-os.org https://lists.riot-os.org/mailman/listinfo/devel
[riot-devel] Networking Module does not appear in process list
Hello everybody, today I tried to get the at86rf2xx working with my board. I have the following statement in the board's Makefile: ifneq (,$(filter gnrc_netif_default,$(USEMODULE))) USEMODULE += at86rf233 USEMODULE += gnrc_nomac endif I tried all the networking examples but no example shows the at86rf2xx networking module when I list the threads. I see all networking threads but not the driver. I tried to include (USEMODULE) the Module in the project makefile and then i tried to invoke the auto_init mechanism on serveral places -> no success. Can you please tell me what I have to do to load the radio module driver? I think it would be a good idea to write down how it should go in a tutorial. It's not very nice for newbies to grep through the source code to find out how it should work and what might go wrong (it a little bit like beeing Sherlock Holmes but without having fun). Question 2 - ifconfig: ifconfig help usage: ifconfig [] From where do I get the if_id ? I think you will get it if you invoke ifconfig without parameters (when you have a network module thread running). Is this true? Thanks a lot! Regards, Bernhard ___ devel mailing list devel@riot-os.org https://lists.riot-os.org/mailman/listinfo/devel