<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>In an OpenThread application, how can one shut down/power on all IEEE 802.15.4 radios during runtime?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/108840/in-an-openthread-application-how-can-one-shut-down-power-on-all-ieee-802-15-4-radios-during-runtime</link><description>Is it possible to control the IEEE 802.15.4 radios during runtime? If I can how can I do that? I wanna control it by the button or by the uart message, when the button is pressed or the device gets a message such as an AT command from the uart， the application</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 05 Mar 2024 03:03:19 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/108840/in-an-openthread-application-how-can-one-shut-down-power-on-all-ieee-802-15-4-radios-during-runtime" /><item><title>RE: In an OpenThread application, how can one shut down/power on all IEEE 802.15.4 radios during runtime?</title><link>https://devzone.nordicsemi.com/thread/472158?ContentTypeID=1</link><pubDate>Tue, 05 Mar 2024 03:03:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:94e88163-5b6d-4a04-8eb0-e565fe20de2a</guid><dc:creator>SemiBrain</dc:creator><description>&lt;p&gt;&lt;span&gt;Thanks Marte!&lt;br /&gt;In our needs, we need to turn off all the radios not just for reducing power cycles; therefore, using nrf_802154_init() and nrf_802154_deinit() is suitable for us. &lt;br /&gt;Additionally, we can also try utilizing nrf_802154_sleep() and nrf_802154_sleep_if_idle(). If there are any other questions, I&amp;#39;ll keep in touch.&lt;br /&gt;&lt;/span&gt;Thanks again for your reply!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: In an OpenThread application, how can one shut down/power on all IEEE 802.15.4 radios during runtime?</title><link>https://devzone.nordicsemi.com/thread/472006?ContentTypeID=1</link><pubDate>Mon, 04 Mar 2024 12:13:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fa32588d-2688-4bc3-98fd-03e1f33b2de4</guid><dc:creator>Marte Myrvold</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;You can use &lt;a href="https://openthread.io/reference/group/api-thread-general#group__api-thread-general_1ga20a68a51ce7299b1c74c81812a4854a3"&gt;otThreadSetEnabled()&lt;/a&gt; to enable or disable Thread:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;// Enable
otThreadSetEnabled(GetInstancePtr(), true);

// Disable
otThreadSetEnabled(GetInstancePtr(), false);&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;For the nRF 802.15.4 radio, you can use &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.5.2/nrfxlib/nrf_802154/doc/api.html#c.nrf_802154_init"&gt;nrf_802154_init()&lt;/a&gt; and &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.5.2/nrfxlib/nrf_802154/doc/api.html#c.nrf_802154_deinit"&gt;nrf_802154_deinit()&lt;/a&gt; to enable or disable the radio, or you can make the radio enter sleep mode with &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.5.2/nrfxlib/nrf_802154/doc/api.html#c.nrf_802154_sleep"&gt;nrf_802154_sleep()&lt;/a&gt; or &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.5.2/nrfxlib/nrf_802154/doc/api.html#c.nrf_802154_sleep_if_idle"&gt;nrf_802154_sleep_if_idle()&lt;/a&gt;. With the latter, you do not have to do time-expensive deinitialization and initialization of the radio.&lt;br /&gt;For example:&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Depending on how long the radio will be powered off, it might be better to use Thread sleepy end device instead. With this, the device will sleep most of the time, and the radio will sleep when idle. With this, the device will stay connected to the Thread network so that it does not have to connect every time it wakes up to send or receive anything. For more information, see &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.5.2/nrf/protocols/thread/sed_ssed.html"&gt;Sleepy End Device types in Thread&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Marte&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: In an OpenThread application, how can one shut down/power on all IEEE 802.15.4 radios during runtime?</title><link>https://devzone.nordicsemi.com/thread/471808?ContentTypeID=1</link><pubDate>Fri, 01 Mar 2024 13:47:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8e5fd3e9-0800-4aac-a03d-6b353113bba1</guid><dc:creator>Marte Myrvold</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I have started looking into your problem and will get back to you on Monday.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Marte&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>