<?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>Failed to send proxy message (err -22)</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/127399/failed-to-send-proxy-message-err--22</link><description>Hello. 
 I am experiencing an issue where Mesh communication fails after connecting to the SMP Service in the Bluetooth Mesh DFU Distributor sample. 
 Environment: 
 
 NCS Version: v3.2.3 
 Hardware: nRF54L15DK 
 Sample: Bluetooth Mesh: Device Firmware</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 19 Mar 2026 13:07:37 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/127399/failed-to-send-proxy-message-err--22" /><item><title>RE: Failed to send proxy message (err -22)</title><link>https://devzone.nordicsemi.com/thread/563681?ContentTypeID=1</link><pubDate>Thu, 19 Mar 2026 13:07:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c99233ec-652b-4f24-aa14-52050dd8ef14</guid><dc:creator>Hieu</dc:creator><description>&lt;p&gt;Hi a.da,&lt;/p&gt;
&lt;p&gt;We reproduced your issue.The device is advertising two advertising set, and bonding to the SMP one causes issue&amp;nbsp;when the device works as a proxy.&lt;br /&gt;We are looking into some details and I will send another follow-up soon.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Hieu&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Failed to send proxy message (err -22)</title><link>https://devzone.nordicsemi.com/thread/563516?ContentTypeID=1</link><pubDate>Wed, 18 Mar 2026 04:49:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:05cf8e8f-c834-4ab6-949b-99e7e19aba97</guid><dc:creator>a.da</dc:creator><description>&lt;p&gt;Hi Hieu,&lt;/p&gt;
&lt;p&gt;I appreciate your ongoing cooperation.&lt;/p&gt;
&lt;p&gt;I re-ran the tests on both iOS and Android, but I could not find the &lt;code&gt;&amp;quot;ATT code 0x1d&amp;quot;&lt;/code&gt; log that you pointed out. However, there is something in your log that caught my attention.&lt;/p&gt;
&lt;p&gt;your log:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;Pairing completed: D0:04:B0:04:3D:3C (public), bonded: 1
[00:05:30.640,720] &amp;lt;wrn&amp;gt; bt_att: Unhandled ATT code 0x1d
Disconnected from SMP service: reason 19 id 1
SMP service advertising restarted
[00:05:59.711,592] &amp;lt;wrn&amp;gt; bt_att: Unhandled ATT code 0x1d
[00:06:01.107,760] &amp;lt;dbg&amp;gt; bt_mesh_cfg_srv: default_ttl_get: net_idx 0x0000 app_idx 0xfffe src 0x0001 len 0: &lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Did you manually disconnect the SMP Service before operating the nRF Mesh app?&lt;br /&gt;Or was it an unintentional or automatic disconnection?&lt;br /&gt;In my environment, the SMP Service remains connected when the error occurs.&lt;br /&gt;I believe this state is evident from the initial logs I provided.&lt;/p&gt;
&lt;p&gt;I look forward to hearing the results from your team&amp;rsquo;s investigation with an iOS device.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;a.da&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Failed to send proxy message (err -22)</title><link>https://devzone.nordicsemi.com/thread/563502?ContentTypeID=1</link><pubDate>Tue, 17 Mar 2026 19:07:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4ab327fc-9b60-46e2-8a8d-e940f74fee5a</guid><dc:creator>Hieu</dc:creator><description>&lt;p&gt;Hi a.da,&lt;/p&gt;
&lt;p&gt;This is a little strange. The reason I asked if you reproduced the issue with one or more than one node is because if you are trying to configure the same node as the proxy, then the node shouldn&amp;#39;t actually try to send any proxy message.&amp;nbsp;In that case,&amp;nbsp;the error message you see wouldn&amp;#39;t match.&lt;/p&gt;
&lt;p&gt;I tried with the nRF Mesh (New) app&amp;nbsp;but also couldn&amp;#39;t reproduce the issue. I see something strange from the log though:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;Connected to SMP service: err 0 id 1
Please enter passkey (508619) on 63:B2:5E:02:8C:22 (random)
Pairing completed: D0:04:B0:04:3D:3C (public), bonded: 1
[00:05:30.640,720] &amp;lt;wrn&amp;gt; bt_att: Unhandled ATT code 0x1d
Disconnected from SMP service: reason 19 id 1
SMP service advertising restarted
[00:05:59.711,592] &amp;lt;wrn&amp;gt; bt_att: Unhandled ATT code 0x1d
[00:06:01.107,760] &amp;lt;dbg&amp;gt; bt_mesh_cfg_srv: default_ttl_get: net_idx 0x0000 app_idx 0xfffe src 0x0001 len 0: 
[00:06:02.097,796] &amp;lt;dbg&amp;gt; bt_mesh_cfg_srv: dev_comp_data_get: net_idx 0x0000 app_idx 0xfffe src 0x0001 len 1: 00
[00:06:02.097,805] &amp;lt;dbg&amp;gt; bt_mesh_cfg_srv: dev_comp_data_get: Preparing Composition data page 0
[00:06:18.343,725] &amp;lt;dbg&amp;gt; bt_mesh_cfg_srv: app_key_add: AppIdx 0x0000 NetIdx 0x0000
Connected to SMP service: err 0 id 1
[00:07:13.288,650] &amp;lt;wrn&amp;gt; bt_att: Unhandled ATT code 0x1d
[00:07:41.422,010] &amp;lt;wrn&amp;gt; bt_att: Unhandled ATT code 0x1d
[00:08:32.419,589] &amp;lt;dbg&amp;gt; bt_mesh_cfg_srv: get_model: ID 0x0002 addr 0x0003
[00:08:32.419,604] &amp;lt;dbg&amp;gt; bt_mesh_cfg_srv: mod_bind: model 0x20001738 key_idx 0x000
[00:08:32.419,612] &amp;lt;dbg&amp;gt; bt_mesh_cfg_srv: mod_bind: model 0x20001738 id 0x0002 i 0 key 0xffff
[00:08:32.419,629] &amp;lt;dbg&amp;gt; bt_mesh_cfg_srv: mod_app_bind: status 0x00
[00:08:40.564,791] &amp;lt;dbg&amp;gt; bt_mesh_cfg_srv: mod_pub_get: elem_addr 0x0003
[00:08:40.564,806] &amp;lt;dbg&amp;gt; bt_mesh_cfg_srv: get_model: ID 0x0002 addr 0x0003&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;The warning of unhandled ATT code 0x1d is strange. ATT code 0x1D is an BLE Indication operation and&amp;nbsp; I don&amp;#39;t expect an indication to happen with this setup.&lt;/p&gt;
&lt;p&gt;I will&amp;nbsp;try to ask for get help from someone with an iOS device next.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Hieu&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Failed to send proxy message (err -22)</title><link>https://devzone.nordicsemi.com/thread/563387?ContentTypeID=1</link><pubDate>Tue, 17 Mar 2026 01:59:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:12ccb87c-b283-4bcc-b56c-2f4e6f44c9f3</guid><dc:creator>a.da</dc:creator><description>&lt;p&gt;Hi Hieu&lt;span&gt;, thanks for your reply.&lt;/span&gt;&lt;/p&gt;
[quote userid="9456" url="~/f/nordic-q-a/127399/failed-to-send-proxy-message-err--22/563376"]I cannot reproduce your issue. I am using an Android device though, so that might affect things.[/quote]
&lt;p&gt;&lt;span&gt;&lt;/span&gt;I am using iOS (iPhone Xs Max) and iPadOS (iPad mini 6th), and the issue occurs on both devices.&lt;br /&gt;The version of the nRF Mesh app I am using is 4.7.0.&lt;/p&gt;
&lt;p&gt;Regarding Android, I tested with an older device (Android 8.0.0) and found inconsistent results depending on the app:&lt;br /&gt;(I was not aware that there were two different mesh apps for Android as I primarily develop on iOS.)&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;nRF Mesh app (v3.4.0): The issue did not occur.&lt;/li&gt;
&lt;li&gt;nRF Mesh (New) app (v0.9.2): The issue did occur, same as on iOS.&lt;/li&gt;
&lt;/ul&gt;
[quote userid="9456" url="~/f/nordic-q-a/127399/failed-to-send-proxy-message-err--22/563376"]Are there any other nodes in your&amp;nbsp;mesh network?[/quote]
&lt;p&gt;There are no other nodes in the mesh network.&lt;/p&gt;
&lt;p&gt;Test with two nodes:&lt;br /&gt;I also tested with two nodes in the network and observed the following:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;If I perform pairing/authentication with the Proxy Node&amp;#39;s SMP Service, the issue occurs.&lt;/li&gt;
&lt;li&gt;If I perform pairing/authentication with the Non-Proxy Node&amp;#39;s SMP Service, the issue does not occur, and communication remains successful.&lt;/li&gt;
&lt;/ul&gt;
[quote userid="9456" url="~/f/nordic-q-a/127399/failed-to-send-proxy-message-err--22/563376"]Do you mean Mesh operations on the other nodes, and not the Distributor node?[/quote]
&lt;p&gt;In step 5, I am performing operations directly on the Distributor node via the nRF Mesh app. Specifically:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Swiping down on the Node Details screen to read the Composition Data.&lt;/li&gt;
&lt;li&gt;Sending messages to a Model, such as reading the Fault Status of the Health Server.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Hypothesis:&lt;br /&gt;As a guess, could this be related to address resolution?&lt;br /&gt;I suspect that after pairing authentication, the smartphone&amp;#39;s address might be resolved and switched from a Private to a Public address, which might be affecting the Proxy connection state.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;a.da&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Failed to send proxy message (err -22)</title><link>https://devzone.nordicsemi.com/thread/563376?ContentTypeID=1</link><pubDate>Mon, 16 Mar 2026 21:52:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8e67f539-1444-413e-9a1c-909cb5ab8c4e</guid><dc:creator>Hieu</dc:creator><description>&lt;p&gt;Hi a.da,&lt;/p&gt;
&lt;p&gt;I cannot reproduce your issue. I am using an Android device though, so that might affect things.&lt;/p&gt;
&lt;p&gt;I would like to check still. Are there any other nodes in your&amp;nbsp;mesh network?&lt;/p&gt;
&lt;p&gt;During step 5,&lt;/p&gt;
[quote user=""]Switch back to the nRF Mesh app and attempt any Mesh communication.[/quote]
&lt;p&gt;Do you mean Mesh operations on the other nodes, and not the Distributor node?&lt;/p&gt;
&lt;p&gt;Hieu&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Failed to send proxy message (err -22)</title><link>https://devzone.nordicsemi.com/thread/563263?ContentTypeID=1</link><pubDate>Sun, 15 Mar 2026 23:56:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b4272c73-44a2-477e-8c2b-6cb0aba00758</guid><dc:creator>Hieu</dc:creator><description>&lt;p&gt;Hi a.da,&lt;/p&gt;
&lt;p&gt;I will try to reproduce this issue and follow-up with you as soon as possible.&lt;/p&gt;
&lt;p&gt;Hieu&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>