<?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>mesh lpn integration to nRF5 SDK problem</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/70919/mesh-lpn-integration-to-nrf5-sdk-problem</link><description>My project is a health thermometer using nRF52833. I am working nRF5 SDK 17.0.2 with GCC make complier. 
 I start with the ble_app_hts example and it is working fine. I try to follow the instruction in integrating doc of nRF5 SDK for mesh 5.0. 
 I added</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 19 Feb 2021 15:10:49 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/70919/mesh-lpn-integration-to-nrf5-sdk-problem" /><item><title>RE: mesh lpn integration to nRF5 SDK problem</title><link>https://devzone.nordicsemi.com/thread/295387?ContentTypeID=1</link><pubDate>Fri, 19 Feb 2021 15:10:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5e14cddb-08fa-43e8-bf63-1e09e16c9e9b</guid><dc:creator>Mttrinh</dc:creator><description>&lt;p&gt;&lt;span&gt;The return value&amp;nbsp;NRF_ERROR_BUSY&amp;nbsp;from&amp;nbsp;sd_ble_gap_phy_update&amp;nbsp;means:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Procedure is already in progress or not allowed at this time. Process pending events and wait for the pending procedure to complete and retry.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Maybe try a delay before calling&amp;nbsp;sd_ble_gap_phy_update&amp;nbsp;again?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: mesh lpn integration to nRF5 SDK problem</title><link>https://devzone.nordicsemi.com/thread/294977?ContentTypeID=1</link><pubDate>Thu, 18 Feb 2021 05:30:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:93bc9c9b-fcee-4afb-85f4-dc4667b395c6</guid><dc:creator>George Leung</dc:creator><description>[quote userid="15475" url="~/f/nordic-q-a/70919/mesh-lpn-integration-to-nrf5-sdk-problem/294165#294165"]Can you try to reproduce this on a DK as well?[/quote]
&lt;p&gt;Yes, I got the same error on dev kit&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: mesh lpn integration to nRF5 SDK problem</title><link>https://devzone.nordicsemi.com/thread/294165?ContentTypeID=1</link><pubDate>Fri, 12 Feb 2021 13:24:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c7a4c3e5-5664-4515-889b-b4ee47e1b2e2</guid><dc:creator>Mttrinh</dc:creator><description>&lt;p&gt;Can you try to reproduce this on a DK as well?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: mesh lpn integration to nRF5 SDK problem</title><link>https://devzone.nordicsemi.com/thread/292891?ContentTypeID=1</link><pubDate>Thu, 04 Feb 2021 12:14:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:acb672c6-4a15-4925-8dc9-1616364c3d81</guid><dc:creator>George Leung</dc:creator><description>[quote userid="15475" url="~/f/nordic-q-a/70919/mesh-lpn-integration-to-nrf5-sdk-problem/292889#292889"]So if I understand you correctly, the only thing you have added to the project is&amp;nbsp;&lt;span&gt;the source file, include folder and&amp;nbsp;preprocessor symbol?&lt;/span&gt;[/quote]
&lt;p&gt;Yes&lt;/p&gt;
[quote userid="15475" url="~/f/nordic-q-a/70919/mesh-lpn-integration-to-nrf5-sdk-problem/292889#292889"]And changed the&amp;nbsp;linker script memory configuration?[/quote]
&lt;p&gt;Yes, I change to this&amp;nbsp;&lt;/p&gt;
&lt;p&gt;FLASH (rx) : ORIGIN = 0x00027000, LENGTH = 0x00050000&lt;br /&gt; RAM (rwx) : ORIGIN = 0x20002e00, LENGTH = 0x0001cf00&lt;/p&gt;
[quote userid="15475" url="~/f/nordic-q-a/70919/mesh-lpn-integration-to-nrf5-sdk-problem/292889#292889"]Are you using a DK or a custom board?[/quote]
&lt;p&gt;It is a custom board with NTC sensor, a NFC antenna and an accelerometer.&lt;br /&gt;May be I can try the same code on the PCA10100 dev kit&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: mesh lpn integration to nRF5 SDK problem</title><link>https://devzone.nordicsemi.com/thread/292889?ContentTypeID=1</link><pubDate>Thu, 04 Feb 2021 11:57:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c1421cc1-b59e-44d4-8a48-246a09179e80</guid><dc:creator>Mttrinh</dc:creator><description>[quote user="gleung@kaertech.com"]&lt;p&gt;It is not happened before, and no modification on the hts service. Just add the source and the problem occur.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;div&gt;&lt;/div&gt;&lt;blockquote&gt;&lt;div&gt;&lt;/div&gt;&lt;/blockquote&gt;[/quote]
&lt;p&gt;So if I understand you correctly, the only thing you have added to the project is&amp;nbsp;&lt;span&gt;the source file, include folder and&amp;nbsp;preprocessor symbol? And changed the&amp;nbsp;linker script memory configuration? Everything works fine before this?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Are you using a DK or a custom board?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: mesh lpn integration to nRF5 SDK problem</title><link>https://devzone.nordicsemi.com/thread/292617?ContentTypeID=1</link><pubDate>Wed, 03 Feb 2021 08:45:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f7d21649-3a08-4892-a54b-abf41468e19e</guid><dc:creator>George Leung</dc:creator><description>[quote userid="15475" url="~/f/nordic-q-a/70919/mesh-lpn-integration-to-nrf5-sdk-problem/291941#291941"]Is this happening before integrating the mesh part? Have you made any modifications to the ble_app_hts before trying to add mesh?[/quote]
&lt;p&gt;It is not happened before, and no modification on the hts service. Just add the source and the problem occur.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
[quote userid="15475" url="~/f/nordic-q-a/70919/mesh-lpn-integration-to-nrf5-sdk-problem/291941#291941"]So it connects fine using nRF Connect for Desktop but not with nRF Connect for iPhone? What does the logs say when you disconnect?[/quote]
&lt;p&gt;In the log, it looks normal:&lt;/p&gt;
&lt;p&gt;GAP_EVT_DISCONNECTED time:2021-02-03T08:40:06.364Z connHandle:0 reason:22 reasonName:localHostTerminatedConnection&lt;/p&gt;
&lt;p&gt;INFO Disconnected from device C7:3E:B0:D7:17:34, reason: BLE_HCI_LOCAL_HOST_TERMINATED_CONNECTION&lt;/p&gt;
&lt;p&gt;But the UART log output freeze and no more updates. In my fw there will be info print out every 10 seconds&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: mesh lpn integration to nRF5 SDK problem</title><link>https://devzone.nordicsemi.com/thread/291941?ContentTypeID=1</link><pubDate>Fri, 29 Jan 2021 09:49:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f8209265-280b-47b1-8d91-0acf573d0b1d</guid><dc:creator>Mttrinh</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user=""]&lt;p&gt;However, when I run this hex on my device. I always return NRF_ERROR_BUSY when calling sd_ble_gap_phy_update during connection to iphone.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;[/quote]
&lt;p&gt;Is this happening before integrating the mesh part? Have you made any modifications to the ble_app_hts before trying to add mesh?&lt;/p&gt;
&lt;p&gt;In my opinion it is easier to start with a mesh example and add the necessary parts from the nRF5 example.&lt;/p&gt;
[quote user=""]I able to connect with nRF connect for desktop, but when disconnecting it will be freeze.[/quote]
&lt;p&gt;&amp;nbsp;So it connects fine using nRF Connect for Desktop but not with nRF Connect for iPhone? What does the logs say when you disconnect?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>