<?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>nRF52832 ANCS could not obtain the application name</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/117650/nrf52832-ancs-could-not-obtain-the-application-name</link><description>I am on nRF52840, and ANCS can get the app name. After switching to nRF52832, you cannot get the app name. The driver of the two chip ANCS is the same, but the Bluetooth protocol stack is different, the former is s340, the latter is s332. What is the</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 10 Jan 2025 06:59:52 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/117650/nrf52832-ancs-could-not-obtain-the-application-name" /><item><title>RE: nRF52832 ANCS could not obtain the application name</title><link>https://devzone.nordicsemi.com/thread/517849?ContentTypeID=1</link><pubDate>Fri, 10 Jan 2025 06:59:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d49b8aa7-e277-4509-9b60-ec8df06cfa6d</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;You have made it clear that you believe there is an issue with the received data, but I don&amp;#39;t see that you have shown or described what you think the actual problem is. What is the difference between the command responses received by nRF52832 and nRF52840 when you compare their raw hex values?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 ANCS could not obtain the application name</title><link>https://devzone.nordicsemi.com/thread/517818?ContentTypeID=1</link><pubDate>Fri, 10 Jan 2025 01:25:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:23c14a6f-90c8-4d79-9c60-e0c95593c096</guid><dc:creator>su_ren</dc:creator><description>&lt;p&gt;It may be that my expression is not very clear, I have debugged the code, and determined that there is a problem with the received data, so the parsing is wrong, not that there is a problem with the parsing function. Because there is a problem with the raw data received, I do not know how to solve it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 ANCS could not obtain the application name</title><link>https://devzone.nordicsemi.com/thread/517652?ContentTypeID=1</link><pubDate>Thu, 09 Jan 2025 10:38:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:abd47e9c-1fc3-49bd-9f57-06ecc671f1be</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;I suggest you print the raw payload (LOG_HEXDUMP_*) to compare the response received by the nRF52840 and nRF52832. You should also try debugging the code if you think there is an error in the parser.&lt;/p&gt;
[quote user="su_ren"]it can be seen that the received data is problematic.[/quote]
&lt;p&gt;Please point out the problematic part. I don&amp;#39;t see any errors reported.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 ANCS could not obtain the application name</title><link>https://devzone.nordicsemi.com/thread/517577?ContentTypeID=1</link><pubDate>Thu, 09 Jan 2025 02:08:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1bab1e4f-439f-4758-b18d-4f8d284a2bd8</guid><dc:creator>su_ren</dc:creator><description>&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/4628.nRF52832.png" /&gt;&lt;/p&gt;
&lt;p&gt;Looking at where my screenshot indicates, the normal flow receives the data requested by the app property, and the first state after parsing is COMMAND_ID. command_id in command_id_parse should be BLE_ANCS_COMMAND_ID_GET_APP_ATTRIBUTES.&lt;/p&gt;
&lt;p&gt;However, from the process of nRF52832 analysis, it can be seen that the received data is problematic.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 ANCS could not obtain the application name</title><link>https://devzone.nordicsemi.com/thread/517444?ContentTypeID=1</link><pubDate>Wed, 08 Jan 2025 11:06:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5195b772-910b-49bc-bd18-d1c17de76939</guid><dc:creator>Vidar Berg</dc:creator><description>[quote userid="139887" url="~/f/nordic-q-a/117650/nrf52832-ancs-could-not-obtain-the-application-name/517433"]while the data parsing received by nRF52832 is a problem.[/quote]
&lt;p&gt;Where does the parsing fail? Please indicate in the picture where the problem is.&amp;nbsp; Since the sniffer captures are encrypted, it is not possible to compare the requests and responses from them, please see&amp;nbsp;&lt;a id="" href="https://docs.nordicsemi.com/bundle/nrfutil/page/nrfutil-ble-sniffer/guides/common_actions_sniffing_pairing_procedure.html"&gt;https://docs.nordicsemi.com/bundle/nrfutil/page/nrfutil-ble-sniffer/guides/common_actions_sniffing_pairing_procedure.html&lt;/a&gt;.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 ANCS could not obtain the application name</title><link>https://devzone.nordicsemi.com/thread/517433?ContentTypeID=1</link><pubDate>Wed, 08 Jan 2025 10:34:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:535401c9-8946-4772-b901-ef1dfa132460</guid><dc:creator>su_ren</dc:creator><description>&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/nRF52832_93620553_.png" /&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/nRF52840_93620553_.png" /&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/nRF52840_70656E631A90E5775F00_0.png" /&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/nRF52840_70656E631A90E5775F00_1.png" /&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/nRF52832_70656E631A90E577_.png" /&gt;&lt;/p&gt;
&lt;p&gt;As for your suggestions, I have tried the second and third points and they are still the same.&lt;/p&gt;
&lt;p&gt;As for the first point, I used the packet capture tool to see that both nRF52840 and nRF52832 have sent requests, and the IOS device also has data responses, but the data parsing received by nRF52840 is not a problem, while the data parsing received by nRF52832 is a problem.&lt;/p&gt;
&lt;p&gt;As shown in the figure, nRF52840 and nRF52832 capture screenshots and data parsing screenshots.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 ANCS could not obtain the application name</title><link>https://devzone.nordicsemi.com/thread/517124?ContentTypeID=1</link><pubDate>Tue, 07 Jan 2025 06:20:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f2c504d7-523e-4116-8607-d88fa5090a8a</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;I don&amp;#39;t know the reason, and I don&amp;#39;t have enough information about your setup to try to reproduce and troubleshoot the problem on my end.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Some troubleshooting suggestions:&lt;/p&gt;
&lt;p&gt;1. Capture sniffer traces (&lt;a href="https://www.nordicsemi.com/Products/Development-tools/nRF-Sniffer-for-Bluetooth-LE"&gt;nRF Sniffer for Bluetooth LE&lt;/a&gt;) to compare the requests sent from the nRF52840 and nRF52832&lt;/p&gt;
&lt;p&gt;2. Try different phones.&lt;/p&gt;
&lt;p&gt;3. Remove the pairings and try to only pair the nRF52832 device.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 ANCS could not obtain the application name</title><link>https://devzone.nordicsemi.com/thread/517107?ContentTypeID=1</link><pubDate>Tue, 07 Jan 2025 01:46:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e70eacc6-5ea2-4d5d-aa46-75ae3f5a6a03</guid><dc:creator>su_ren</dc:creator><description>&lt;p&gt;Both devices are paired with the same IOS device, and nRF52840 can request app properties, while nRF52832 cannot. But IOS devices can respond to two device request notification properties, so I would like to ask what is the reason?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 ANCS could not obtain the application name</title><link>https://devzone.nordicsemi.com/thread/516970?ContentTypeID=1</link><pubDate>Mon, 06 Jan 2025 12:04:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3d8d2eda-4b25-4d83-9004-d7eb3bfe40d4</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;I don&amp;#39;t see how the Softdevice&amp;nbsp;could&amp;nbsp;relevant to this issue. It sounds like the problem is that the iOS device is not responding to the request issued by your ANCS running on the nRF52832.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Are both devices paired to the same device?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 ANCS could not obtain the application name</title><link>https://devzone.nordicsemi.com/thread/516886?ContentTypeID=1</link><pubDate>Mon, 06 Jan 2025 02:02:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b267c136-0810-4508-874e-f3dd05be6e82</guid><dc:creator>su_ren</dc:creator><description>&lt;p&gt;&amp;quot;ancs_c_app_attr_request&amp;quot;,&amp;nbsp;Function&amp;nbsp;for&amp;nbsp;sending&amp;nbsp;a&amp;nbsp;get&amp;nbsp;App&amp;nbsp;Attributes&amp;nbsp;request.&amp;nbsp;For&amp;nbsp;example,&amp;nbsp;The&amp;nbsp;APP&amp;nbsp;application&amp;nbsp;attribute&amp;nbsp;returned&amp;nbsp;by&amp;nbsp;the&amp;nbsp;function&amp;nbsp;request&amp;nbsp;of&amp;nbsp;&amp;quot;com.tencent.xin&amp;quot;&amp;nbsp;is&amp;nbsp;named&amp;nbsp;&amp;quot;微信&amp;quot;,&amp;nbsp;which&amp;nbsp;can&amp;nbsp;be&amp;nbsp;obtained&amp;nbsp;by&amp;nbsp;using&amp;nbsp;the&amp;nbsp;function&amp;nbsp;interface&amp;nbsp;on&amp;nbsp;nRF52840,&amp;nbsp;but&amp;nbsp;cannot&amp;nbsp;be&amp;nbsp;obtained&amp;nbsp;by&amp;nbsp;using&amp;nbsp;the&amp;nbsp;same&amp;nbsp;interface&amp;nbsp;on&amp;nbsp;nRF52832.&amp;nbsp;No&amp;nbsp;BLE_ANCS_C_EVT_APP_ATTRIBUTE&amp;nbsp;event&amp;nbsp;is&amp;nbsp;triggered.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 ANCS could not obtain the application name</title><link>https://devzone.nordicsemi.com/thread/516885?ContentTypeID=1</link><pubDate>Mon, 06 Jan 2025 01:44:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e8a75d85-8896-4dbc-862a-4fb83ed265fb</guid><dc:creator>su_ren</dc:creator><description>&lt;p&gt;Yes, the app name of the IOS device message cannot be obtained.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 ANCS could not obtain the application name</title><link>https://devzone.nordicsemi.com/thread/516780?ContentTypeID=1</link><pubDate>Fri, 03 Jan 2025 11:08:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e1757f04-dadb-4dd4-b981-9174af7a5fb8</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Can you please post a screenshot showing the expected behavior? I&amp;#39;m not sure what &amp;quot;app name&amp;quot; is referring to in this context. Is it the name of the iOS device?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>