<?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>Unable to get the Hardware ID (HWID/PIN).</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/128012/unable-to-get-the-hardware-id-hwid-pin</link><description>I am trying to retrieve the PIN / HWID required for nRF Cloud onboarding using the AT command AT%XDEVICEID , but I am unable to get a valid response from the modem. 
 However, I am able to successfully retrieve the modem UUID using AT%XMODEMUUID . 
 Could</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 04 May 2026 12:49:44 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/128012/unable-to-get-the-hardware-id-hwid-pin" /><item><title>RE: Unable to get the Hardware ID (HWID/PIN).</title><link>https://devzone.nordicsemi.com/thread/565830?ContentTypeID=1</link><pubDate>Mon, 04 May 2026 12:49:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1a726e9a-e4f7-4f3d-bf79-9181cab3c82d</guid><dc:creator>Syed Maysum Abbas Zaidi</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Thanks for reaching out to us. AT%DEVICEUUID is not supported on nRF9160. Secondly regarding your questions for the onboarding process:&lt;/p&gt;
&lt;p&gt;PIN/HWID is only relevant for JITP (Just-In-Time Provisioning), which is the method used for Nordic DKs and Thingy:91 devices that ship with pre-provisioned credentials. For custom hardware or production devices (nRF9160 SiPs from tape and reel), there is no PIN, JITP is not the recommended approach.&amp;nbsp;In short, if you are working with a custom board,&amp;nbsp;you do not need PIN/HWID. Use the Pre connect method instead:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://docs.nordicsemi.com/bundle/nrf-cloud/page/Devices/Associations/Onboarding.html#preconnect-onboarding"&gt;https://docs.nordicsemi.com/bundle/nrf-cloud/page/Devices/Associations/Onboarding.html#preconnect-onboarding&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;That involves creating a CA Certificate, generating &amp;amp; installing Credentials on the Device and then onboarding the device to nRF Cloud. The full steps are listed here:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://docs.nordicsemi.com/bundle/nrf-cloud/page/Devices/Security/Credentials.html"&gt;https://docs.nordicsemi.com/bundle/nrf-cloud/page/Devices/Security/Credentials.html&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Or instead, you may use the&amp;nbsp;Python script&amp;nbsp;&amp;nbsp;&lt;a href="https://github.com/nRFCloud/utils/blob/main/src/nrfcloud_utils/device_credentials_installer.py"&gt;the device_credentials_installer.py&lt;/a&gt;&amp;nbsp;that automates the process.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Note:&amp;nbsp;PIN / HWID&amp;nbsp;and&amp;nbsp;modem UUID are different identifiers as&amp;nbsp;AT%XMODEMUUID returns the UUID of the modem firmware build, it identifies the firmware version not the individual device.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;And also for informational purpose you can parse the output of the %KEYGEN AT command using the&amp;nbsp;&lt;a href="https://github.com/nRFCloud/utils/blob/main/src/nrfcloud_utils/modem_credentials_parser.py"&gt; modem_credentials_parser.py&lt;/a&gt;&amp;nbsp;script to display the device UUID (However not required in the onboarding process)&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/nRFCloud/utils/tree/master/python/modem-firmware-1.3%2B"&gt;&lt;/a&gt;Best Regards,&lt;br /&gt;Syed Maysum&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to get the Hardware ID (HWID/PIN).</title><link>https://devzone.nordicsemi.com/thread/565801?ContentTypeID=1</link><pubDate>Mon, 04 May 2026 07:02:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b7b0eda0-97a3-448f-910e-425e9450350a</guid><dc:creator>Gunjan Yadav</dc:creator><description>&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1777877976513v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;div&gt;
&lt;p&gt;As suggested, I also tried retrieving the HWID using the AT command &lt;strong&gt;&lt;code&gt;AT%DEVICEUUID&lt;/code&gt;&lt;/strong&gt;. However, I am still seeing the same behavior as before.&lt;/p&gt;
&lt;p&gt;The command executes, but the return value is unexpected (showing a large value like &lt;code&gt;65536&lt;/code&gt;), and I do not get a valid HWID/PIN that can be used for nRF Cloud onboarding&lt;/p&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>