<?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>Share the same ATT table between APP and  bootloader</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/61333/share-the-same-att-table-between-app-and-bootloader</link><description>Hi, 
 
 We had met problem at buttonless DFU with bonded information at Andriod set-top-box. 
 The problem we saw is we can not know when the ATT table is different at andriod or our device. 
 The DFU performed service change notification twice but sometime</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 14 May 2020 08:43:38 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/61333/share-the-same-att-table-between-app-and-bootloader" /><item><title>RE: Share the same ATT table between APP and  bootloader</title><link>https://devzone.nordicsemi.com/thread/249857?ContentTypeID=1</link><pubDate>Thu, 14 May 2020 08:43:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:df3dba43-2b08-4a0b-a2ec-18ad910b8379</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Brian,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;It&amp;#39;s quite hard to understand what&amp;#39;s in the trace. I assume there are other activity not just the DFU bootloader.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;There is a concern with the solution to put the DFU service on top of the GATT table is that the DFU master (running on the phone/set-top box) wouldn&amp;#39;t know if it&amp;#39;s the application running or it&amp;#39;s the bootloader running. And may try to do DFU update when it&amp;#39;s the application, instead of writing to the DFU buttonless service to switch from app to bootloader. But if you have full control of the DFU master side, you can implement a way to check if it&amp;#39;s the bootloader or it&amp;#39;s the application.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Share the same ATT table between APP and  bootloader</title><link>https://devzone.nordicsemi.com/thread/249782?ContentTypeID=1</link><pubDate>Wed, 13 May 2020 14:37:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b5288422-1caa-46da-91fe-5ef499710992</guid><dc:creator>Brian Chang</dc:creator><description>&lt;p&gt;Hi Hung Bui,&lt;/p&gt;
&lt;p&gt;As bellowing , the failure happen at pkt#22846&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/512_5F00_DFU_5F00_Failtosync.btt"&gt;devzone.nordicsemi.com/.../512_5F00_DFU_5F00_Failtosync.btt&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Although you would see the ATT notisfication packet is sucessful but no function at set-top-box.&lt;/p&gt;
&lt;p&gt;The issue related with Andriod set-top-box GATT condition.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;However, your ideal sounds good to always put DFU in the top of ATT table.&lt;/p&gt;
&lt;p&gt;My another option is go back to use unbonded DFU but customer have concern due to that is not encryption communication based on LTK.&lt;/p&gt;
&lt;p&gt;I would try it&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thank&lt;/p&gt;
&lt;p&gt;BR&lt;/p&gt;
&lt;p&gt;Brian&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Share the same ATT table between APP and  bootloader</title><link>https://devzone.nordicsemi.com/thread/249747?ContentTypeID=1</link><pubDate>Wed, 13 May 2020 13:29:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eb3fab3a-f826-455a-9707-a09d3ed71e00</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Brian,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Could you explain a little bit more on the issue &amp;quot;&lt;span&gt;&amp;nbsp;the communication is break or held before service discovery.&amp;quot; ? Do you have a sniffer trace ? Do you know what wrong happened ? If the link is not reliable, it&amp;#39;s not good for DFU anyway.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Once option to avoid doing service changed (only do this if you don&amp;#39;t have any other option) is to have the DFU service on top of the attribute table in your application. This way when you switch to bootloader, it doesn&amp;#39;t matter if you have your services in the bootloader attribute table or not, it still can do DFU update.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;But you need to make sure the DFU master wouldn&amp;#39;t do DFU update when you are still in application mode, not bootloader mode.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>