<?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>Controlling zigbee light bulb using UART</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/101944/controlling-zigbee-light-bulb-using-uart</link><description>Hello everyone!! 
 So I have create a working zigbee light switch using nrf52840 dongle. Now my next step is that instead of using button present in the dongle I have to control it using laptop keys(to be precise using UART). Here is the main.c file code</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 19 Jul 2023 13:16:25 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/101944/controlling-zigbee-light-bulb-using-uart" /><item><title>RE: Controlling zigbee light bulb using UART</title><link>https://devzone.nordicsemi.com/thread/437264?ContentTypeID=1</link><pubDate>Wed, 19 Jul 2023 13:16:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dc6539c3-4b55-4ea6-bec6-348d0aa2fd5f</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;Hello Coder and thank you for your patience.&lt;/p&gt;
&lt;p&gt;Summer can be a bit hectic on DevZone, so there might unfortunately be some delays in the responses here. Though we will get to you eventually.&lt;/p&gt;
[quote user=""]Now my next step is that instead of using button present in the dongle I have to control it using laptop keys(to be precise using UART).[/quote][quote user=""]Can anyone help me to modify this code so that I can control zigbee light bulbs using UART[/quote]
&lt;p&gt;Great! I don&amp;#39;t have the time to do it &lt;em&gt;for you&lt;/em&gt; unfortunately. Though I&amp;#39;ll definitely try to help.&lt;/p&gt;
&lt;p&gt;I would recommend you to have a look at our peripheral uart sample, and use the uart functionality from that along with &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/samples/bluetooth/peripheral_uart/README.html#usb-cdc-acm-extension"&gt;this configuration&lt;/a&gt;.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Though I should mention that for development you should rather use a development kit. A dongle can be practical at times, though without the onboard debugger you&amp;#39;ll have a hard time developing. Do you have a DK?&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Elfving&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>