<?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>sparkfun NRF9160 thing plus Serial LTE Modem Help</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/82778/sparkfun-nrf9160-thing-plus-serial-lte-modem-help</link><description>I have the sparkfun NRF9160 thing plus, and using the NRF Connect SDK v1.8.0 in visual studio code I can load programs like Blinky and hello world and everything works great. When I try to upload the Serial LTE Modem Example, I will not build. I get the</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 21 Dec 2021 17:22:43 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/82778/sparkfun-nrf9160-thing-plus-serial-lte-modem-help" /><item><title>RE: sparkfun NRF9160 thing plus Serial LTE Modem Help</title><link>https://devzone.nordicsemi.com/thread/344677?ContentTypeID=1</link><pubDate>Tue, 21 Dec 2021 17:22:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cae3d1a6-1232-442d-ab6d-caad1c289041</guid><dc:creator>DC Innovation</dc:creator><description>&lt;p&gt;The documentation for version 1.7.1 in the MQTT AT commands doesn&amp;#39;t list the data type as an argument when publishing. Here is the example:&lt;/p&gt;
&lt;pre&gt;&lt;span class="n"&gt;AT&lt;/span&gt;&lt;span class="c1"&gt;#XMQTTPUB=&amp;quot;nrf91/slm/mqtt/topic0&amp;quot;,&amp;quot;Test message with QoS 0&amp;quot;,0,0&lt;br /&gt;&lt;br /&gt;After successfully uploading 1.7.1, I tried to publish data, but without the data type argument the modem would get stuck in a publish mode.&lt;br /&gt;&lt;br /&gt;When I tried the documentation from 1.6.1, I saw a data type mentioned and tried to publish data starting with this example:&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span class="n"&gt;AT&lt;/span&gt;&lt;span class="c1"&gt;#XMQTTPUB=&amp;quot;nrf91/slm/mqtt/topic0&amp;quot;,1,&amp;quot;Test message with QoS 0&amp;quot;,0,0&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;At this point everything works as expected!&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: sparkfun NRF9160 thing plus Serial LTE Modem Help</title><link>https://devzone.nordicsemi.com/thread/344509?ContentTypeID=1</link><pubDate>Tue, 21 Dec 2021 08:32:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d02e93c8-950c-4fe5-8af6-badbcfde42dd</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;In case I did something wrong at my end, I re-tested with ncs v1.7.x and ncs v1.8.0.&lt;/p&gt;
&lt;p&gt;in ncs/nrf/applications/serial_lte_modem/boards catalog, I added the sparkfun thing board &amp;quot;sparkfun_thing_plus_nrf9160_ns.overlay&amp;quot;, with this content:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;&amp;amp;uart0 {
	cts-pin = &amp;lt;0xFFFFFFFF&amp;gt;;
	rts-pin = &amp;lt;0xFFFFFFFF&amp;gt;;
};&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Works on both versions at my end.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user="DC Innovation"]I also ran into an issue where the documentation for the Serial LTE Modem was incorrect. I am using documentation from 1.6.0 and that is working.&amp;nbsp;[/quote]
&lt;p&gt;Oh, that is not good! My apologies for this! Could you point me to where the docs were misleading?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: sparkfun NRF9160 thing plus Serial LTE Modem Help</title><link>https://devzone.nordicsemi.com/thread/344445?ContentTypeID=1</link><pubDate>Mon, 20 Dec 2021 19:50:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:86cb409b-c3f1-4011-8302-8be90bbefad4</guid><dc:creator>DC Innovation</dc:creator><description>&lt;p&gt;I did and it still didn&amp;#39;t work. I was using the 1.8.0 version of the SDK. After rolling back to the 1.7.1 version, it did work! thanks for the help. I also ran into an issue where the documentation for the Serial LTE Modem was incorrect. I am using documentation from 1.6.0 and that is working.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: sparkfun NRF9160 thing plus Serial LTE Modem Help</title><link>https://devzone.nordicsemi.com/thread/343812?ContentTypeID=1</link><pubDate>Thu, 16 Dec 2021 09:07:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:333ebec0-8578-411d-bf07-5196c65a0ce3</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Did you reconfigure your build?&lt;/p&gt;
&lt;p&gt;Ie. delete the build folder and re-generate the project.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: sparkfun NRF9160 thing plus Serial LTE Modem Help</title><link>https://devzone.nordicsemi.com/thread/343729?ContentTypeID=1</link><pubDate>Wed, 15 Dec 2021 15:54:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:436d8f9a-923b-428e-8e82-0d441277caad</guid><dc:creator>DC Innovation</dc:creator><description>&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Unfortunately this gave a very similar error:&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;c:\Users\David\Desktop\acv\vca\build\zephyr\include\generated\devicetree_unfixed.h:5127:38: error: &amp;#39;DT_N_S_soc_S_peripheral_40000000_S_uart_8000_P_rts_pin&amp;#39; undeclared (first use in this function); did you mean &amp;#39;DT_N_S_soc_S_peripheral_40000000_S_uart_8000_P_tx_pin&amp;#39;?&lt;br /&gt; 5127 | #define DT_N_NODELABEL_uart0 DT_N_S_soc_S_peripheral_40000000_S_uart_8000&lt;br /&gt; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&lt;br /&gt;C:\Users\David\ncs\v1.8.0\zephyr\include\devicetree.h:2641:24: note: in definition of macro &amp;#39;DT_CAT&amp;#39;&lt;br /&gt; 2641 | #define DT_CAT(a1, a2) a1 ## a2&lt;br /&gt; | ^~&lt;br /&gt;c:\Users\David\Desktop\acv\vca\src\slm_at_host.c:248:6: note: in expansion of macro &amp;#39;DT_PROP&amp;#39;&lt;br /&gt; 248 | DT_PROP(DT_NODELABEL(uart0), rts_pin),&lt;br /&gt; | ^~~~~~~&lt;br /&gt;C:\Users\David\ncs\v1.8.0\zephyr\include\devicetree.h:2641:24: note: in expansion of macro &amp;#39;DT_N_NODELABEL_uart0&amp;#39;&lt;br /&gt; 2641 | #define DT_CAT(a1, a2) a1 ## a2&lt;br /&gt; | ^~&lt;br /&gt;C:\Users\David\ncs\v1.8.0\zephyr\include\devicetree.h:177:29: note: in expansion of macro &amp;#39;DT_CAT&amp;#39;&lt;br /&gt; 177 | #define DT_NODELABEL(label) DT_CAT(DT_N_NODELABEL_, label)&lt;br /&gt; | ^~~~~~&lt;br /&gt;c:\Users\David\Desktop\acv\vca\src\slm_at_host.c:248:14: note: in expansion of macro &amp;#39;DT_NODELABEL&amp;#39;&lt;br /&gt; 248 | DT_PROP(DT_NODELABEL(uart0), rts_pin),&lt;br /&gt; | ^~~~~~~~~~~~&lt;br /&gt;c:\Users\David\Desktop\acv\vca\build\zephyr\include\generated\devicetree_unfixed.h:5127:38: note: each undeclared identifier is reported only once for each function it appears in&lt;br /&gt; 5127 | #define DT_N_NODELABEL_uart0 DT_N_S_soc_S_peripheral_40000000_S_uart_8000&lt;br /&gt; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&lt;br /&gt;C:\Users\David\ncs\v1.8.0\zephyr\include\devicetree.h:2641:24: note: in definition of macro &amp;#39;DT_CAT&amp;#39;&lt;br /&gt; 2641 | #define DT_CAT(a1, a2) a1 ## a2&lt;br /&gt; | ^~&lt;br /&gt;c:\Users\David\Desktop\acv\vca\src\slm_at_host.c:248:6: note: in expansion of macro &amp;#39;DT_PROP&amp;#39;&lt;br /&gt; 248 | DT_PROP(DT_NODELABEL(uart0), rts_pin),&lt;br /&gt; | ^~~~~~~&lt;br /&gt;C:\Users\David\ncs\v1.8.0\zephyr\include\devicetree.h:2641:24: note: in expansion of macro &amp;#39;DT_N_NODELABEL_uart0&amp;#39;&lt;br /&gt; 2641 | #define DT_CAT(a1, a2) a1 ## a2&lt;br /&gt; | ^~&lt;br /&gt;C:\Users\David\ncs\v1.8.0\zephyr\include\devicetree.h:177:29: note: in expansion of macro &amp;#39;DT_CAT&amp;#39;&lt;br /&gt; 177 | #define DT_NODELABEL(label) DT_CAT(DT_N_NODELABEL_, label)&lt;br /&gt; | ^~~~~~&lt;br /&gt;c:\Users\David\Desktop\acv\vca\src\slm_at_host.c:248:14: note: in expansion of macro &amp;#39;DT_NODELABEL&amp;#39;&lt;br /&gt; 248 | DT_PROP(DT_NODELABEL(uart0), rts_pin),&lt;br /&gt; | ^~~~~~~~~~~~&lt;br /&gt;c:\Users\David\Desktop\acv\vca\build\zephyr\include\generated\devicetree_unfixed.h:5127:38: error: &amp;#39;DT_N_S_soc_S_peripheral_40000000_S_uart_8000_P_cts_pin&amp;#39; undeclared (first use in this function); did you mean &amp;#39;DT_N_S_soc_S_peripheral_40000000_S_uart_8000_P_tx_pin&amp;#39;?&lt;br /&gt; 5127 | #define DT_N_NODELABEL_uart0 DT_N_S_soc_S_peripheral_40000000_S_uart_8000&lt;br /&gt; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&lt;br /&gt;C:\Users\David\ncs\v1.8.0\zephyr\include\devicetree.h:2641:24: note: in definition of macro &amp;#39;DT_CAT&amp;#39;&lt;br /&gt; 2641 | #define DT_CAT(a1, a2) a1 ## a2&lt;br /&gt; | ^~&lt;br /&gt;c:\Users\David\Desktop\acv\vca\src\slm_at_host.c:249:6: note: in expansion of macro &amp;#39;DT_PROP&amp;#39;&lt;br /&gt; 249 | DT_PROP(DT_NODELABEL(uart0), cts_pin));&lt;br /&gt; | ^~~~~~~&lt;br /&gt;C:\Users\David\ncs\v1.8.0\zephyr\include\devicetree.h:2641:24: note: in expansion of macro &amp;#39;DT_N_NODELABEL_uart0&amp;#39;&lt;br /&gt; 2641 | #define DT_CAT(a1, a2) a1 ## a2&lt;br /&gt; | ^~&lt;br /&gt;C:\Users\David\ncs\v1.8.0\zephyr\include\devicetree.h:177:29: note: in expansion of macro &amp;#39;DT_CAT&amp;#39;&lt;br /&gt; 177 | #define DT_NODELABEL(label) DT_CAT(DT_N_NODELABEL_, label)&lt;br /&gt; | ^~~~~~&lt;br /&gt;c:\Users\David\Desktop\acv\vca\src\slm_at_host.c:249:14: note: in expansion of macro &amp;#39;DT_NODELABEL&amp;#39;&lt;br /&gt; 249 | DT_PROP(DT_NODELABEL(uart0), cts_pin));&lt;br /&gt; | ^~~~~~~~~~~~&lt;br /&gt;[117/313] Building C object CMakeFiles/app.dir/src/slm_at_commands.c.obj&lt;br /&gt;[118/313] Building C object CMakeFiles/app.dir/src/slm_at_tcp_proxy.c.obj&lt;br /&gt;[119/313] Building C object CMakeFiles/app.dir/src/slm_at_udp_proxy.c.obj&lt;br /&gt;[120/313] Building C object CMakeFiles/app.dir/src/slm_at_icmp.c.obj&lt;br /&gt;[121/313] Building C object CMakeFiles/app.dir/src/slm_at_socket.c.obj&lt;br /&gt;ninja: build stopped: subcommand failed.&lt;br /&gt;FATAL ERROR: command exited with status 1: &amp;#39;c:\Users\David\ncs\v1.8.0\toolchain\opt\bin\cmake.EXE&amp;#39; --build &amp;#39;c:\Users\David\Desktop\acv\vca\build&amp;#39;&lt;br /&gt;The terminal process terminated with exit code: 1.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: sparkfun NRF9160 thing plus Serial LTE Modem Help</title><link>https://devzone.nordicsemi.com/thread/343608?ContentTypeID=1</link><pubDate>Wed, 15 Dec 2021 11:21:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c8645414-1dcf-483f-9116-eb4c5624bb2c</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The log shows that rts and cts is undefined:&lt;/p&gt;
[quote user=""]DT_PROP(DT_NODELABEL(uart0), cts_pin));[/quote]
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;If you create a DTS overlay file for your board, holding this to basically set the RTS/CTS to &amp;quot;disconnected&amp;quot; (you can ofcourse set them to valid gpio numbers if you&amp;#39;d like):&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;&amp;amp;uart0 {
	cts-pin = &amp;lt;0xFFFFFFFF&amp;gt;;
	rts-pin = &amp;lt;0xFFFFFFFF&amp;gt;;
};
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;and place this in boards/sparkfun_thing_plus_nrf9160_ns.overlay, then it should compile.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;PS: remember to re-configure the build after making changes to the DTS.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>