<?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>appName in shadow register using CoAP protocol - nRFCloud</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/120358/appname-in-shadow-register-using-coap-protocol---nrfcloud</link><description>Hello, 
 
 I would like to ask how to update the appName field in the shadow register on the nRFCloud, using CoAP protocol. 
 I was able to change the appVersion by passing a string to nrf_cloud_coap_connect (...); function, but how can I change the value</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 07 May 2025 09:52:09 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/120358/appname-in-shadow-register-using-coap-protocol---nrfcloud" /><item><title>RE: appName in shadow register using CoAP protocol - nRFCloud</title><link>https://devzone.nordicsemi.com/thread/534248?ContentTypeID=1</link><pubDate>Wed, 07 May 2025 09:52:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8010ca67-fa11-4008-9438-152d1acd2637</guid><dc:creator>Avgerinos89</dc:creator><description>&lt;p&gt;Hello Maximilian&lt;/p&gt;
&lt;p&gt;Thank you for your answer. I managed to send the appName to the device shadow, using what you suggested.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: appName in shadow register using CoAP protocol - nRFCloud</title><link>https://devzone.nordicsemi.com/thread/534220?ContentTypeID=1</link><pubDate>Wed, 07 May 2025 08:05:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:abec2e58-161e-404b-9dff-6d6c99fc2555</guid><dc:creator>Maximilian Deubel</dc:creator><description>&lt;p&gt;Hi!&lt;/p&gt;
&lt;p&gt;After digging a little bit through the code, I found the part where this string is set: in &lt;a href="https://github.com/nrfconnect/sdk-nrf/blob/febd0cf20f3023b4ea44d603919e4f6e97c456df/lib/modem_info/modem_info_params.c#L50"&gt;`modem_info_params.c:49`&lt;/a&gt;, this is set to `PROJECT_NAME`. In our samples, we add `zephyr_compile_definitions(PROJECT_NAME=${PROJECT_NAME})` to CMakeLists.txt to define `PROJECT_NAME`.&lt;/p&gt;
&lt;p&gt;Since this is handled by the Modem Info library, make sure the corresponding KConfig is enabled: `CONFIG_MODEM_INFO_ADD_DEVICE=y`.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: appName in shadow register using CoAP protocol - nRFCloud</title><link>https://devzone.nordicsemi.com/thread/534149?ContentTypeID=1</link><pubDate>Tue, 06 May 2025 15:49:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0f64cfae-4e8a-4891-becd-c75835438776</guid><dc:creator>Michal</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Sorry for the delay.&lt;/p&gt;
&lt;p&gt;I will check internally what is the proper way to update the shadow and get back to you.&lt;/p&gt;
&lt;p&gt;Those two links may be also of some help:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://docs.nordicsemi.com/bundle/nrf-cloud/page/Devices/Properties/Shadows.html"&gt;https://docs.nordicsemi.com/bundle/nrf-cloud/page/Devices/Properties/Shadows.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://docs.nordicsemi.com/bundle/nrf-cloud/page/Devices/Properties/UsingDeviceShadow.html"&gt;https://docs.nordicsemi.com/bundle/nrf-cloud/page/Devices/Properties/UsingDeviceShadow.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Michal&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: appName in shadow register using CoAP protocol - nRFCloud</title><link>https://devzone.nordicsemi.com/thread/531789?ContentTypeID=1</link><pubDate>Tue, 15 Apr 2025 06:53:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ce69c30e-37cd-4e50-856b-009a9e47458e</guid><dc:creator>Avgerinos89</dc:creator><description>&lt;p&gt;Hello&lt;/p&gt;
&lt;p&gt;Using&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/nrf-apis-latest/page/group_nrf_cloud_coap_gaeabfb7d8e2acd405dd50add54e22ae52.html"&gt;nrf_cloud_coap_shadow_get()&lt;/a&gt;&amp;nbsp;it only returns the &amp;quot;control&amp;quot; and &amp;quot;config&amp;quot; fields within the reported field of the shadow register.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:150px;max-width:254px;" alt=" " height="150" src="https://devzone.nordicsemi.com/resized-image/__size/508x300/__key/communityserver-discussions-components-files/4/506455.png" width="254" /&gt;&lt;/p&gt;
&lt;p&gt;The&amp;nbsp;&lt;span&gt;appName field is included in the &amp;quot;device&amp;quot; field of the shadow.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Moreover, the &amp;quot;device&amp;quot; field does not updated from my application code.&amp;nbsp;&lt;br /&gt;I have enabled configs such as the following to update the &amp;quot;device&amp;quot; field of the shadow with the relevant information.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;pre class="ui-code" data-mode="text"&gt;CONFIG_NRF_CLOUD_SEND_DEVICE_STATUS_CONN_INF=y      # Include connection information with device status
CONFIG_NRF_CLOUD_SEND_DEVICE_STATUS_NETWORK=y       # Include network status information with device status
CONFIG_NRF_CLOUD_SEND_DEVICE_STATUS_SIM=y           # Include SIM card information with device status
CONFIG_NRF_CLOUD_SEND_SERVICE_INFO_FOTA=y           # Add supported FOTA types to the &amp;quot;serviceInfo&amp;quot; section
CONFIG_MODEM_INFO=y
CONFIG_MODEM_INFO_ADD_NETWORK=y
CONFIG_MODEM_INFO_ADD_DEVICE=y
CONFIG_MODEM_INFO_ADD_DATE_TIME=y
CONFIG_MODEM_INFO_ADD_SIM=y
CONFIG_MODEM_INFO_ADD_SIM_ICCID=y
CONFIG_MODEM_INFO_ADD_SIM_IMSI=y&lt;/pre&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Should the&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/nrf-apis-latest/page/group_nrf_cloud_coap_gaeabfb7d8e2acd405dd50add54e22ae52.html"&gt;nrf_cloud_coap_shadow_get()&lt;/a&gt;&amp;nbsp;return the &amp;quot;device&amp;quot; field as well?&lt;br /&gt;In this case how can I update the &amp;quot;device&amp;quot; field?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thank you&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: appName in shadow register using CoAP protocol - nRFCloud</title><link>https://devzone.nordicsemi.com/thread/531408?ContentTypeID=1</link><pubDate>Thu, 10 Apr 2025 15:34:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b67b1da1-c84c-4c55-9682-fb8410d5fc17</guid><dc:creator>Michal</dc:creator><description>&lt;p&gt;Have you tried getting the shadow first with &lt;a href="https://docs.nordicsemi.com/bundle/nrf-apis-latest/page/group_nrf_cloud_coap_gaeabfb7d8e2acd405dd50add54e22ae52.html"&gt;nrf_cloud_coap_shadow_get()&lt;/a&gt;and then editing the resulting JSON and then modifying it and sending it back with &lt;a href="https://docs.nordicsemi.com/bundle/nrf-apis-latest/page/group_nrf_cloud_coap_gaddbd1372ec55d7a33996c4ee43d500e0.html#gaddbd1372ec55d7a33996c4ee43d500e0"&gt;nrf_cloud_coap_shadow_state_update()&lt;/a&gt;?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Michal&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: appName in shadow register using CoAP protocol - nRFCloud</title><link>https://devzone.nordicsemi.com/thread/530745?ContentTypeID=1</link><pubDate>Mon, 07 Apr 2025 06:48:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6d93b575-cdd5-4f4f-867e-d07f2f821d94</guid><dc:creator>Avgerinos89</dc:creator><description>&lt;p&gt;Hello&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Yes, but I was not able to figure this out.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: appName in shadow register using CoAP protocol - nRFCloud</title><link>https://devzone.nordicsemi.com/thread/530331?ContentTypeID=1</link><pubDate>Wed, 02 Apr 2025 22:08:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9fc34031-9db2-475e-89c3-92d828a14d5a</guid><dc:creator>Michal</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Have you looked into the shadow-related functions in our API documentation?&lt;/p&gt;
&lt;p&gt;&lt;a href="https://docs.nordicsemi.com/bundle/nrf-apis-latest/page/group_nrf_cloud_coap.html"&gt;https://docs.nordicsemi.com/bundle/nrf-apis-latest/page/group_nrf_cloud_coap.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Michal&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>