<?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>Problem controlling nrf 52840 dongle as a client  in Mesh light switch client example.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/65227/problem-controlling-nrf-52840-dongle-as-a-client-in-mesh-light-switch-client-example</link><description>Hi 
 I am unable to configure the nrf52840 dongle in client mode in light switch mesh example. I have changed the simple_hal.h to include the dongle board as /** Boards with user buttons */ #define BUTTON_BOARD (defined(BOARD_PCA10059) ||defined(BOARD_PCA10040</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 31 Aug 2020 14:46:09 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/65227/problem-controlling-nrf-52840-dongle-as-a-client-in-mesh-light-switch-client-example" /><item><title>RE: Problem controlling nrf 52840 dongle as a client  in Mesh light switch client example.</title><link>https://devzone.nordicsemi.com/thread/267285?ContentTypeID=1</link><pubDate>Mon, 31 Aug 2020 14:46:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:560f9be2-cc2b-4780-b707-dd934a46f817</guid><dc:creator>Mttrinh</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user="anuprit"]yes i have already changed them. But still i m not able to test the sw1 switch on client. I was able to use app_gen_onoff_client_publish_interval_cb() function to just publish an onoff param value to change the led from client to server side. Any configuration i need to do to use sw1 button to create a callback for the same? Can you help in those configs.[/quote]
&lt;p&gt;I noticed that you have gotten a reply from the OP in this &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/64776/button-not-work-in-light-switch-server-example-for-pca10059" rel="noopener noreferrer" target="_blank"&gt;post&lt;/a&gt;, have you tried out the solution he gave you?&lt;/p&gt;
[quote user="anuprit"]Ultimately i need to send adc value from sensors of client to the server node. Which model should you suggest i use rather than generic onoff?[/quote]
&lt;p&gt;&lt;span&gt;I suggest you have a look at the &lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.meshsdk.v4.2.0/md_examples_sensor_README.html?cp=7_2_3_12" rel="noopener noreferrer" target="_blank"&gt;Sensor example&lt;/a&gt;,&amp;nbsp;This example demonstrates how to use the&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.meshsdk.v4.2.0/group__SENSOR__MODEL.html"&gt;Sensor model&lt;/a&gt;.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;If it doesn&amp;#39;t suit your needs, then you can make a model yourself, with the message formats that you need. See e.g.&amp;nbsp;&lt;/span&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.meshsdk.v4.2.0/md_doc_user_guide_modules_models_creating.html?cp=7_2_2_4_5_0" rel="noopener noreferrer" target="_blank"&gt;Creating new models&lt;/a&gt;&lt;span&gt;.&lt;/span&gt;&lt;/p&gt;
[quote user="anuprit"]How can i get to print the logs over usb in the dongle. As right now i am not having any debugger?[/quote]
&lt;p&gt;&lt;span&gt;I would recommend you get a 10 pin SWD cable &amp;amp; program the dongle via a dev kit for example. If you want to debug the dongle while it is running mesh, you require some kind of segger j-link to see the RTT logging.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem controlling nrf 52840 dongle as a client  in Mesh light switch client example.</title><link>https://devzone.nordicsemi.com/thread/266533?ContentTypeID=1</link><pubDate>Wed, 26 Aug 2020 14:00:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:354a8a2b-a699-4e47-8949-7dc33f0bb084</guid><dc:creator>anuprit</dc:creator><description>&lt;p&gt;yes i have already changed them. But still i m not able to test the sw1 switch on client. I was able to use app_gen_onoff_client_publish_interval_cb() function to just publish an onoff param value to change the led from client to server side. Any configuration i need to do to use sw1 button to create a callback for the same? Can you help in those configs.&lt;/p&gt;
&lt;p&gt;Ultimately i need to send adc value from sensors of client to the server node. Which model should you suggest i use rather than generic onoff?&lt;/p&gt;
&lt;p&gt;How can i get to print the logs over usb in the dongle. As right now i am not having any debugger?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem controlling nrf 52840 dongle as a client  in Mesh light switch client example.</title><link>https://devzone.nordicsemi.com/thread/266482?ContentTypeID=1</link><pubDate>Wed, 26 Aug 2020 12:11:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:04fefe7a-c32b-4f51-bf94-cc2f547b8806</guid><dc:creator>Mttrinh</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Have you changed the define from BOARD_PCA10056 to&amp;nbsp;BOARD_PCA10059 in the preprocessor definitions?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>