<?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>Light switch - Client/Server Data transmit</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/62643/light-switch---client-server-data-transmit</link><description>Hello everyone, 
 I work with the Light_switch mesh example and I would like to send a byte from the client to the server. How can I do this? In the client board, which function should I use to send and in which function do I receive the message in the</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sat, 10 Oct 2020 08:22:08 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/62643/light-switch---client-server-data-transmit" /><item><title>RE: Light switch - Client/Server Data transmit</title><link>https://devzone.nordicsemi.com/thread/274135?ContentTypeID=1</link><pubDate>Sat, 10 Oct 2020 08:22:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:10c0e3e5-93c0-48c6-a05c-a541b3c1b794</guid><dc:creator>Delaram_mz</dc:creator><description>&lt;p&gt;hi Soter Giga&amp;nbsp;&lt;/p&gt;
&lt;p&gt;were you able to successfully transmit your data?&lt;/p&gt;
&lt;p&gt;I am using the same example and I made some changes in client side to transmit a byte of data and it seems that the transmission happens successfully.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;But in the server side I don&amp;#39;t know which function to use in order to show the received data in the RTT window.&lt;/p&gt;
&lt;p&gt;can you help me with this?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Light switch - Client/Server Data transmit</title><link>https://devzone.nordicsemi.com/thread/255594?ContentTypeID=1</link><pubDate>Wed, 17 Jun 2020 15:12:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cc9bc54b-4693-4797-a5f2-7de2171fa776</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;If you can control the LED on the server by the client, this meant the client has sent a packet to the server. Please study how the model work.&lt;/p&gt;
&lt;p&gt;The simple on off model is the simplified version of the generic on off model. Please try to use it in&amp;nbsp;a project&amp;nbsp;and study how data being sent from client to the server.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Light switch - Client/Server Data transmit</title><link>https://devzone.nordicsemi.com/thread/255569?ContentTypeID=1</link><pubDate>Wed, 17 Jun 2020 13:31:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a59b148e-9e95-4220-bcac-d62c18f74ff7</guid><dc:creator>Soter Giga </dc:creator><description>&lt;p&gt;Hi Hung,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Yes, the light-switch example worked very well!! i can control the led of the server by the client.&lt;/p&gt;
&lt;p&gt;Now i would like the the client to send a packet (one byte would be enough) to the server. Is this possible? How can i do it? In which fonctions?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;The simple model is a different project or it is only files to add in the light_swicth model?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Light switch - Client/Server Data transmit</title><link>https://devzone.nordicsemi.com/thread/255565?ContentTypeID=1</link><pubDate>Wed, 17 Jun 2020 13:25:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ca049e28-8798-4f3c-9054-88cf880cabd4</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Giga,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Has the light_switch worked for you ? Can you control the lightswitch server to turn off/on LED by the light switch client ? As described in the documentation ?&amp;nbsp;&lt;br /&gt;&lt;br /&gt;I would suggest to also try testing the model simple_on_off located at&amp;nbsp;models\vendor\simple_on_off\ it maybe easier for you to understand how it work.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>