<?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>Issue with Sending generic level messages from main()</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/42915/issue-with-sending-generic-level-messages-from-main</link><description>Hi, 
 I am working with a motion sensor which sends a message when it detects a motion. I am communicating between the nRF52 DK and the sensor via UART. I am able to receive messages correctly. I am using the experimental_dimming_client example and I</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 12 Jun 2019 15:49:43 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/42915/issue-with-sending-generic-level-messages-from-main" /><item><title>RE: Issue with Sending generic level messages from main()</title><link>https://devzone.nordicsemi.com/thread/192468?ContentTypeID=1</link><pubDate>Wed, 12 Jun 2019 15:49:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:38d742ef-d86d-4388-bd3f-42466eb616ed</guid><dc:creator>rmarques</dc:creator><description>&lt;p&gt;Hello, I am using the nRF SDK version 15.2 and nRF Mesh SDK 3.1.0.&lt;/p&gt;
&lt;p&gt;I could not get this patch working. While it does compile and program a DK, when trying to provision I get a Mesh assert error:&lt;/p&gt;
&lt;p&gt;app_error_weak.c,&amp;nbsp; 108, Mesh assert at 0x0002B0A0 (:0)&lt;/p&gt;
&lt;p&gt;I suspect this is happening because either the mesh stack or a softdevice event is triggering in the wrong priority level, but I thought this patch solved it.&lt;/p&gt;
&lt;p&gt;Just to be sure, what I did was the following:&lt;/p&gt;
&lt;p&gt;1 - Replace the content of the light switch client example main with the content of this patch&lt;/p&gt;
&lt;p&gt;2 - Add app_scheduler.c to the Application project folder on Embedded Studio&lt;/p&gt;
&lt;p&gt;3 - Add $(SDK_ROOT:../../../../nRF5_SDK_15.2.0_9412b96)/components/libraries/scheduler; to c_user_include_directories&lt;/p&gt;
&lt;p&gt;4 - Edit sdk_config.h line number 5792 #define APP_SCHEDULER_ENABLED 0 changed to 1&lt;/p&gt;
&lt;p&gt;This should be enough right? But it still triggers the Mesh assert error when trying to provision.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issue with Sending generic level messages from main()</title><link>https://devzone.nordicsemi.com/thread/173106?ContentTypeID=1</link><pubDate>Tue, 26 Feb 2019 17:18:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:da1bf4bb-0dc3-40d3-948c-5c4fd2153425</guid><dc:creator>Mttrinh</dc:creator><description>&lt;p&gt;I have attached&amp;nbsp;the main for the client example. Most of the modification are the same as the patch for the server except for how the publishing is done. Look at the main to see how to send messages from main loop. You can also search for &amp;quot;MODFIED&amp;quot; to see all the modifcation done.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-3ed12ba8f5e14e3a977c90ca874e3175/main.c"&gt;devzone.nordicsemi.com/.../main.c&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issue with Sending generic level messages from main()</title><link>https://devzone.nordicsemi.com/thread/171729?ContentTypeID=1</link><pubDate>Mon, 18 Feb 2019 19:07:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fb3cca8e-76ef-4e88-896d-b286f915279f</guid><dc:creator>BubDev</dc:creator><description>&lt;p&gt;I am also running into the same problem when using the client models. It would be greatly appreciated if&amp;nbsp;a patch could be created for the client models.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issue with Sending generic level messages from main()</title><link>https://devzone.nordicsemi.com/thread/171644?ContentTypeID=1</link><pubDate>Mon, 18 Feb 2019 13:33:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1ccb4582-5a28-461a-8576-9c0ce58baaf9</guid><dc:creator>DeveloperZ</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Any chance that I could get a patch for the onoff client model because the clients and servers are so different in publishing the information that I am unable to write a patch for the client models.&lt;/p&gt;
&lt;p&gt;Thank you.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issue with Sending generic level messages from main()</title><link>https://devzone.nordicsemi.com/thread/171574?ContentTypeID=1</link><pubDate>Mon, 18 Feb 2019 09:54:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c5648fba-35f3-46f6-9837-e1302983d6fb</guid><dc:creator>Mttrinh</dc:creator><description>&lt;p&gt;Unfortunately, there are no patch for the client.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issue with Sending generic level messages from main()</title><link>https://devzone.nordicsemi.com/thread/171483?ContentTypeID=1</link><pubDate>Fri, 15 Feb 2019 19:20:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d0c5bfa8-baf7-409f-a7a2-f8d56d62a9b7</guid><dc:creator>DeveloperZ</dc:creator><description>&lt;p&gt;Okay, Onoff/Level server messages are being published successfully.&lt;/p&gt;
&lt;p&gt;Can I ask if there is any such patch for the client models either generic on off/client?&lt;/p&gt;
&lt;p&gt;Thank you.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issue with Sending generic level messages from main()</title><link>https://devzone.nordicsemi.com/thread/171186?ContentTypeID=1</link><pubDate>Thu, 14 Feb 2019 15:00:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8dd65893-aa83-4386-aee7-a028b1bf687f</guid><dc:creator>Mttrinh</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Yes, that is correct.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issue with Sending generic level messages from main()</title><link>https://devzone.nordicsemi.com/thread/171166?ContentTypeID=1</link><pubDate>Thu, 14 Feb 2019 13:50:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2003a3b8-81da-4d81-a258-d86936a3cfb1</guid><dc:creator>DeveloperZ</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I have an update. I have this patch up and running. You suggest writing similar functions for the generic level messages that I am willing to publish?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issue with Sending generic level messages from main()</title><link>https://devzone.nordicsemi.com/thread/170923?ContentTypeID=1</link><pubDate>Wed, 13 Feb 2019 14:17:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:62bc4ec5-98e2-48ff-b6f5-2c0be78c2553</guid><dc:creator>DeveloperZ</dc:creator><description>&lt;p&gt;I have applied the patch by making changes in various files suggested but now, I can&amp;#39;t provision the board and assign a publishing/subscribing address as the board has all the LED&amp;#39;s ON when I flash it whereas flashing the code should blink the LED&amp;#39;s twice and turn them OFF. &amp;nbsp;&lt;/p&gt;
&lt;p&gt;Even the RTT viewer isn&amp;#39;t showing any error when I flash the board. Reset button resets the board but it enters the same state again. Buttons on the board have no effect on the application.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issue with Sending generic level messages from main()</title><link>https://devzone.nordicsemi.com/thread/170441?ContentTypeID=1</link><pubDate>Mon, 11 Feb 2019 16:35:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:53a8f91c-a619-4e1d-801c-c6df76f2c497</guid><dc:creator>Mttrinh</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;One of our developers from the Mesh team have made a patch to help you with this issue:&lt;/p&gt;
&lt;p&gt;&lt;em&gt;The mesh stack will assert if Mesh APIs are not called from correct priority. In the thread mode of operation, it is not sufficient to only change the priority setting during mesh stack initialization. The application also needs to use app scheduler and ensure that softdevice events are dispatched using app scheduler.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Apply this patch on the 3.1.0 release source. This patch will modify the example (light-switch-server) and model files to show following things:&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;How to use thread mode of operation in the examples?:&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;1. Adds app scheduler to the application (adds necessary sources/headers &amp;nbsp;to cmakelists and initialization code)&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;2. Sends a mesh message from main loop as a demonstration (periodically turns off the LED on the server and publishes a status).&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;3. Modifications required to handle button press events to correctly call mesh APIs from the thread priority. Shows the use of app scheduler.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-3ed12ba8f5e14e3a977c90ca874e3175/patch_2D00_thread_5F00_mode_5F00_delayed_5F00_reply.diff"&gt;devzone.nordicsemi.com/.../patch_2D00_thread_5F00_mode_5F00_delayed_5F00_reply.diff&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issue with Sending generic level messages from main()</title><link>https://devzone.nordicsemi.com/thread/169964?ContentTypeID=1</link><pubDate>Thu, 07 Feb 2019 15:03:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8e2de4ac-e156-426b-b438-ace54635680d</guid><dc:creator>DeveloperZ</dc:creator><description>[quote userid="15475" url="~/f/nordic-q-a/42915/issue-with-sending-generic-level-messages-from-main/169958"]instead&amp;nbsp;of running it in the for-loop you could create an interrupt that triggers whenever the sensor detects motion.[/quote]
&lt;p&gt;That was the first thing that I did if you can see the question that I posted, I tried to send a generic level message upon receiving an indication from the sensor using UART that motion is detected.&lt;/p&gt;
[quote userid="15475" url="~/f/nordic-q-a/42915/issue-with-sending-generic-level-messages-from-main/169958"]Might be that the messages are being sent too fast, can you try waiting for the&amp;nbsp;&lt;span&gt;NRF_MESH_EVT_TX_COMPLETE&amp;nbsp;before sending a new message?&lt;/span&gt;[/quote]
&lt;p&gt;I might have taken it that way already if the program crashes while sending the second message after successfully transmitting the first. But, I am unable to transfer the first message itself.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I also tried another thing, used the EnOcean switch example, instead of sending generic &lt;strong&gt;OnOff&lt;/strong&gt; messages, I tried sending generic &lt;strong&gt;Level&lt;/strong&gt; messages. They are transmitted without any error inside the app_switch_debounce().&lt;/p&gt;
&lt;p&gt;Why can these messages be transmitted from app_switch_debounce() in EnOcean example, but not from the main() in any example?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issue with Sending generic level messages from main()</title><link>https://devzone.nordicsemi.com/thread/169958?ContentTypeID=1</link><pubDate>Thu, 07 Feb 2019 14:50:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4a7c57f0-4a0e-46fc-b3cb-48833f608b24</guid><dc:creator>Mttrinh</dc:creator><description>&lt;p&gt;Might be that the messages are being sent too fast, can you try waiting for the&amp;nbsp;&lt;span&gt;NRF_MESH_EVT_TX_COMPLETE&amp;nbsp;before sending a new message?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Also, instead&amp;nbsp;of running it in the for-loop you could create an interrupt that triggers whenever the sensor detects motion.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issue with Sending generic level messages from main()</title><link>https://devzone.nordicsemi.com/thread/169335?ContentTypeID=1</link><pubDate>Mon, 04 Feb 2019 14:46:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:471fa5b2-e991-44da-96f6-a9c2cf6e7e7f</guid><dc:creator>DeveloperZ</dc:creator><description>&lt;p&gt;If I made any error in adding the lines to the code, kindly correct me.&lt;/p&gt;
&lt;p&gt;Thank you.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issue with Sending generic level messages from main()</title><link>https://devzone.nordicsemi.com/thread/169333?ContentTypeID=1</link><pubDate>Mon, 04 Feb 2019 14:41:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fc5f8f2a-25b1-4d18-a48e-5443829b1d37</guid><dc:creator>DeveloperZ</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Thanks for the reply. I tried making the changes to the mesh_stack.c file mentioned in the links above. I even tried calling mesh_opt_core_adv_set() function inside&amp;nbsp;static void start(void) function&amp;nbsp;&lt;b&gt;only&lt;/b&gt;&amp;nbsp;&lt;b&gt;before&lt;/b&gt;&amp;nbsp;mesh_stack_start() call and also in the mesh_stack.c between calls sd_nvic_critical_region_enter()/_exit().&lt;/p&gt;
&lt;p&gt;Adding these lines results in a Forbidden Command error 15&amp;nbsp;as shown below:&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/Screen-Shot-2019_2D00_02_2D00_04-at-10.05.09-AM.png" /&gt;&lt;/p&gt;
&lt;p&gt;I also added following lines in mesh_stack.c&lt;/p&gt;
&lt;p&gt;uint8_t is_nested;&lt;br /&gt;ERROR_CHECK(sd_nvic_critical_region_enter(&amp;amp;is_nested));&lt;/p&gt;
&lt;pre&gt;mesh_opt_core_adv_set(CORE_TX_ROLE_ORIGINATOR, &amp;amp;net);&lt;/pre&gt;
&lt;p&gt;ERROR_CHECK(sd_nvic_critical_region_exit(is_nested));&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Because I am using Mesh SDK 3.0.0, this solution isn&amp;#39;t applicable. May be the support team know a better way to fix this issue.&lt;/p&gt;
&lt;p&gt;Thanks for your response pirast.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issue with Sending generic level messages from main()</title><link>https://devzone.nordicsemi.com/thread/169156?ContentTypeID=1</link><pubDate>Sat, 02 Feb 2019 15:41:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b90de8b9-78fe-453f-bfe6-cf01290edb00</guid><dc:creator>pirast</dc:creator><description>&lt;p&gt;FYI I think I have found a solution; I am using Mesh SDK 2.2. Tracking down the mesh assert address, I found NRF_MESH_ASSERT_DEBUG(bearer_event_in_correct_irq_priority()); in timer_scheduler.c to be the critical section. After some research, I found &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/41645/error-nrf_error_invalid_state-when-send-data-via-mesh-3-0/163725"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/41645/error-nrf_error_invalid_state-when-send-data-via-mesh-3-0/163725&lt;/a&gt; respectively &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/38479/mesh-sdk-2-2-0-bug-in-mesh_opt_core_adv_set/148935#148935"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/38479/mesh-sdk-2-2-0-bug-in-mesh_opt_core_adv_set/148935#148935&lt;/a&gt; . Nesting the message publish code in sd_nvic_critical_region_enter (answer at the bottom) solves this for me.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issue with Sending generic level messages from main()</title><link>https://devzone.nordicsemi.com/thread/169116?ContentTypeID=1</link><pubDate>Fri, 01 Feb 2019 17:10:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:61f6b6b9-6cca-47e8-ad52-7c434825c7b2</guid><dc:creator>pirast</dc:creator><description>&lt;p&gt;Actually, I am running into the same issue. I want to shoot off &amp;nbsp;button_event_handler(1) not from rtt_input_handler callback but from another function (e.g. main). When I do that, I get the same mesh assert. Interestingly, the first time it works (after provisioning). But after power cycling it (settings are loaded), this does not work and it gives the mesh error.&lt;/p&gt;
&lt;p&gt;I have tracked it down to net_state_seqnum_alloc where m_net_state.seqnum is = m_net_state.seqnum_max_available. Possibly this appears based on from which context the send function is run?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issue with Sending generic level messages from main()</title><link>https://devzone.nordicsemi.com/thread/168935?ContentTypeID=1</link><pubDate>Thu, 31 Jan 2019 17:23:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fbf9e11c-7d4f-4927-9998-355a613bb492</guid><dc:creator>Mttrinh</dc:creator><description>&lt;p&gt;I&amp;#39;m not too sure why this error occurs. I will try this and update you as soon as possible.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issue with Sending generic level messages from main()</title><link>https://devzone.nordicsemi.com/thread/168563?ContentTypeID=1</link><pubDate>Tue, 29 Jan 2019 19:50:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8039832e-7268-4d13-b119-e76c8ee4bb36</guid><dc:creator>DeveloperZ</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I was trying a similar thing with light_switch example. In the light switch client, I did something similar:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;int main(void)
{
    initialize();
    start();

    for (;;)
    {
        button_event_handler(1);
        nrf_delay_ms(2000);
        (void)sd_app_evt_wait();
    }
}&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Initially, I already setup a mesh with a Mesh switch(CLIENT) publishing to an address and Mesh light(SERVER) subscribed to that address. When I run the example after adding button_event_handler in the main(), I see the following forbidden command error:&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/Screen-Shot-2019_2D00_01_2D00_29-at-2.47.17-PM.png" /&gt;&lt;/p&gt;
&lt;p&gt;Any idea on why this error is occuring?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issue with Sending generic level messages from main()</title><link>https://devzone.nordicsemi.com/thread/168534?ContentTypeID=1</link><pubDate>Tue, 29 Jan 2019 16:18:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8ed7a2db-fbb1-4e0f-9756-ec4091b77784</guid><dc:creator>DeveloperZ</dc:creator><description>&lt;p&gt;May be you can try this issue by just calling button_event_handler() function in the main() of the dimming client example something like this:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;for (;;)
    {
        
        button_event_handler(1);

        (void)sd_app_evt_wait();
    }&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Later after provisioning using app and applying a publication address,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I was getting a mesh_assert when sending acknowledged messages and mesh error 15 when sending unacknowledged messages.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issue with Sending generic level messages from main()</title><link>https://devzone.nordicsemi.com/thread/168516?ContentTypeID=1</link><pubDate>Tue, 29 Jan 2019 15:19:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:be39f9a4-0975-4573-8760-e454579fce21</guid><dc:creator>Mttrinh</dc:creator><description>&lt;p&gt;I&amp;#39;m little bit confused. Which error code do you get from&amp;nbsp;&lt;span&gt;access_model_reliable_publish()? Or do you get&amp;nbsp;mesh error 15 from this function? You should be able to send messages from main(), seems like the issue is elsewhere.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issue with Sending generic level messages from main()</title><link>https://devzone.nordicsemi.com/thread/168291?ContentTypeID=1</link><pubDate>Mon, 28 Jan 2019 15:01:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a57b50ee-2b10-4328-a611-3008c2187825</guid><dc:creator>DeveloperZ</dc:creator><description>&lt;p&gt;Hi Martin,&lt;/p&gt;
&lt;p&gt;I have been using 15.2.0 SDK and &amp;nbsp;3.0.0 Mesh SDK.&lt;/p&gt;
[quote userid="15475" url="~/f/nordic-q-a/42915/issue-with-sending-generic-level-messages-from-main/168286"]Which function are giving you this error?[/quote]
&lt;p&gt;I have been trying to debug the error but it was showing an error from the access_model_reliable_publish() function that is executed before sending the generic level message. If I dig deep into the function, it shows an error at a different function each time I start a new debug stint.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If I try to send an unacknowledged generic level delta_set message,&amp;nbsp;it results in a mesh error 15 i.e, forbidden command.&lt;/p&gt;
&lt;p&gt;Can&amp;#39;t we send the generic level messages from the main() but send them by pressing the buttons on the board? How?&lt;/p&gt;
&lt;p&gt;Thank you.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issue with Sending generic level messages from main()</title><link>https://devzone.nordicsemi.com/thread/168286?ContentTypeID=1</link><pubDate>Mon, 28 Jan 2019 14:43:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c209d6e1-9fd6-42d2-8184-712ca7603210</guid><dc:creator>Mttrinh</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Which function are giving you this error? Which nRF5 SDK and Mesh SDK are you using?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>