<?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>Android OTA issue</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/106736/android-ota-issue</link><description>Hi there, 
 I am using iOS and Android for over-the-air (OTA) updates on my device. However, while the iOS update is working fine, I&amp;#39;ve encountered an issue with Android. After debugging for a while, I discovered that there is a configuration, namely</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 02 Jan 2024 08:12:07 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/106736/android-ota-issue" /><item><title>RE: Android OTA issue</title><link>https://devzone.nordicsemi.com/thread/462198?ContentTypeID=1</link><pubDate>Tue, 02 Jan 2024 08:12:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:481a085a-0df4-4689-a511-b00c91df488b</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;You can refer to the &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.5.1/zephyr/samples/subsys/mgmt/mcumgr/smp_svr/README.html"&gt;SMP Server Sample&lt;/a&gt;. Please &lt;a href="https://devzone.nordicsemi.com/support/add"&gt;make a new thread&lt;/a&gt; if you have any follow-up questions.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Android OTA issue</title><link>https://devzone.nordicsemi.com/thread/462008?ContentTypeID=1</link><pubDate>Thu, 28 Dec 2023 16:27:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:00cd0b53-7611-457c-8600-da07b51008bf</guid><dc:creator>binartech</dc:creator><description>&lt;p&gt;Sorry for the intromission here, but its the only relatively new comment Im finding on the OTA DFU for sdk 2.5.x , any guidance for an OTA DFU on how to add BT OTA DFU to an application using sdk 2.5.0 ? I found one that works for 2.2, .23 requires modifications and doesn&amp;#39;t work for 2.5, thanks for any comments&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Android OTA issue</title><link>https://devzone.nordicsemi.com/thread/461314?ContentTypeID=1</link><pubDate>Wed, 20 Dec 2023 15:17:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:29ac072e-d728-4dbd-958a-2d80dd13fe7a</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi Ethan,&lt;/p&gt;
&lt;p&gt;We have tested with setting&amp;nbsp;&lt;span&gt;&lt;span dir="ltr"&gt;CONFIG_MCUMGR_GRP_OS_MCUMGR_PARAMS=n in nRF Connect SDK 2.5.0, but are still able to update from an Android device using the smp server sample.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span dir="ltr"&gt;Which SDK version are you using, and are you able to reproduce this with a sample by setting&amp;nbsp;CONFIG_OS_MGMT_MCUMGR_PARAMS=n or CONFIG_MCUMGR_GRP_OS_MCUMGR_PARAMS=n (depending on version)? If not the problem is probably something else (and we would be interested in logs from both the nRF and Android device to try to understand more about what is happening).&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span dir="ltr"&gt;Einar&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Android OTA issue</title><link>https://devzone.nordicsemi.com/thread/460935?ContentTypeID=1</link><pubDate>Tue, 19 Dec 2023 01:30:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d16c6a73-8288-48f3-be7a-f9e68315dab0</guid><dc:creator>EthanZhao</dc:creator><description>&lt;p&gt;Hi Einar,&lt;/p&gt;
&lt;p&gt;Thanks for your replay!&lt;span&gt;&amp;nbsp;But our product has already been released. We need to update our product firmware. However, the OTA flow has been tested only on iOS, not on Android. Here is my config setting. With these settings, when an Android device attempts to perform an OTA update using the device manager, it gets stuck after connecting via then eventually times out.&amp;nbsp;&lt;/span&gt;&lt;span&gt;Are there alternative methods for OTA updates from Android devices?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;pre class="ui-code" data-mode="text"&gt;CONFIG_GPIO=y
CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=4096
CONFIG_BT=y
CONFIG_BT_DEBUG_LOG=y
CONFIG_BT_SMP=y
CONFIG_BT_SIGNING=y
CONFIG_BT_PERIPHERAL=y
CONFIG_BT_ATT_PREPARE_COUNT=5
CONFIG_BT_DEVICE_APPEARANCE=833
CONFIG_BT_DEVICE_NAME_DYNAMIC=y
CONFIG_BT_DEVICE_NAME_MAX=65

CONFIG_BT_SETTINGS=y
CONFIG_FLASH=y
CONFIG_FLASH_PAGE_LAYOUT=y
CONFIG_FLASH_MAP=y
CONFIG_NVS=y
CONFIG_SETTINGS=y

CONFIG_I2C=y

# Enable nordic security backend and PSA APIs
CONFIG_NRF_SECURITY=y
CONFIG_MBEDTLS_PSA_CRYPTO_C=y

CONFIG_MBEDTLS_ENABLE_HEAP=y
CONFIG_MBEDTLS_HEAP_SIZE=8192
CONFIG_PSA_CRYPTO_DRIVER_OBERON=n
CONFIG_PSA_CRYPTO_DRIVER_CC3XX=y

#
CONFIG_HEAP_MEM_POOL_SIZE=4096
CONFIG_MAIN_STACK_SIZE=8192


#Enable mcumgr
CONFIG_MCUMGR=y

#Enable most core commands
CONFIG_MCUMGR_CMD_IMG_MGMT=y
CONFIG_MCUMGR_CMD_OS_MGMT=y

#Ensure on MCUboot-compatible binary is generated
CONFIG_BOOTLOADER_MCUBOOT=y

#Allow for large Bluetooth data packets
CONFIG_BT_L2CAP_TX_MTU=1024
CONFIG_BT_BUF_ACL_RX_SIZE=512
CONFIG_BT_BUF_ACL_TX_SIZE=251


#Enable the Bluetooth and shell mcumgr transports
CONFIG_MCUMGR_SMP_BT=y
CONFIG_MCUMGR_SMP_BT_AUTHEN=n



#
CONFIG_PRINTK=y
CONFIG_SHELL=y
CONFIG_LOG=y
CONFIG_DEVICE_SHELL=y
CONFIG_POSIX_CLOCK=y

CONFIG_DK_LIBRARY=y

# Power manager
CONFIG_PM=y
CONFIG_PM_DEVICE=y

CONFIG_UART_CONSOLE=n
CONFIG_USE_SEGGER_RTT=y
CONFIG_RTT_CONSOLE=y

CONFIG_HWINFO=y

&lt;/pre&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Ethan&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Android OTA issue</title><link>https://devzone.nordicsemi.com/thread/460814?ContentTypeID=1</link><pubDate>Mon, 18 Dec 2023 13:01:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8e3f677d-f078-4b60-88d7-b57f7c15d68d</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi Ethan,&lt;/p&gt;
&lt;p&gt;I do not see a paticular reason&amp;nbsp;CONFIG_OS_MGMT_MCUMGR_PARAMS (which has chnaged name to&amp;nbsp; MCUMGR_GRP_OS_MCUMGR_PARAMS) should be needed for Android in principle. However, if the Android application (or other SMP client) use the&amp;nbsp;MCUMGR Parameters retrieval command, then it makes sense that it fails if you buil&amp;#39;t the nRF application without it. And similarily, if the iOS (or other) implementation does not use it, then it does not matter if it is present or not. By default, we set CONFIG_MCUMGR_GRP_OS_MCUMGR_PARAMS=y in our Bluetooth samples and I suggest you also include it.&lt;/p&gt;
&lt;p&gt;Einar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>