Re: [riot-devel] Correct way to bring radio module to sleep state

2017-03-19 Thread Neo
Hello Peter, thanks a lot for this answer. I 'll try it this week! Cheers Neo On 16.03.2017 19:29, Peter Kietzmann wrote: Hi Neo, this should can be done via netapi. Something like this should do: gnrc_netapi_set(dev, NETOPT_STATE_SLEEP, 0, , sizeof(netopt_enable_t) Also check the netapi

Re: [riot-devel] Correct way to bring radio module to sleep state

2017-03-16 Thread Peter Kietzmann
Hi Neo, this should can be done via netapi. Something like this should do: gnrc_netapi_set(dev, NETOPT_STATE_SLEEP, 0, , sizeof(netopt_enable_t) Also check the netapi doc: https://riot-os.org/api/group__net__gnrc__netapi.html#gabc41a5d60228a68daa7ef14b0bbb6ff4 Cheers Peter Am 02.03.2017 um

[riot-devel] Correct way to bring radio module to sleep state

2017-03-02 Thread Neo
Dear Riot Developers, has anyone an example how to turn a wireless module into sleep state (including network stack?)? What is here the correct way? Which API functions should be used? Thanks a lot! Regards., Neo ___ devel mailing list